MCPcopy Create free account
hub / github.com/LUX-Core/lux / Multiply

Function Multiply

src/cryptopp/integer.cpp:244–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242 }
243
244 static DWord Multiply(word a, word b)
245 {
246 DWord r;
247 #ifdef CRYPTOPP_NATIVE_DWORD_AVAILABLE
248 r.m_whole = (dword)a * b;
249 #elif defined(MultiplyWordsLoHi)
250 MultiplyWordsLoHi(r.m_halfs.low, r.m_halfs.high, a, b);
251 #else
252 CRYPTOPP_ASSERT(0);
253 #endif
254 return r;
255 }
256
257 static DWord MultiplyAndAdd(word a, word b, word c)
258 {

Callers 3

MultiplyAndAddFunction · 0.70
DivideThreeWordsByTwoFunction · 0.70
integer.cppFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected