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

Function AtomicMultiplyBottomAdd

src/cryptlib/integer.cpp:351–357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

349}
350
351static inline void AtomicMultiplyBottomAdd(word *C, word A0, word A1, word B0, word B1)
352{
353 dword_union t;
354 t.dw = (dword)A0*B0 + C[0];
355 C[0] = t.low;
356 C[1] += t.high + A0*B1 + A1*B0;
357}
358
359static void CombaMultiply(word *R, const word *A, const word *B)
360{

Callers 1

RecursiveMultiplyBottomFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected