MCPcopy Create free account
hub / github.com/Tripwire/tripwire-open-source / Multiply

Function Multiply

src/cryptlib/integer.cpp:1839–1845  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1837}
1838
1839void Multiply(Integer &product, const Integer &a, const Integer &b)
1840{
1841 PositiveMultiply(product, a, b);
1842
1843 if (a.NotNegative() != b.NotNegative())
1844 product.Negate();
1845}
1846
1847Integer operator*(const Integer &a, const Integer &b)
1848{

Callers 4

operator*Function · 0.85
DivideMethod · 0.85
SquareMethod · 0.85
DivideMethod · 0.85

Calls 3

PositiveMultiplyFunction · 0.85
NotNegativeMethod · 0.80
NegateMethod · 0.80

Tested by

no test coverage detected