Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tripwire/tripwire-open-source
/ EvenWordCount
Function
EvenWordCount
src/cryptlib/integer.cpp:976–981 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
974
}
975
976
static inline unsigned int EvenWordCount(const word *X, unsigned int N)
977
{
978
while (N && X[N-2]==0 && X[N-1]==0)
979
N-=2;
980
return N;
981
}
982
983
// return k
984
// R[N] --- result = A^(-1) * 2^k mod M
Callers
1
AlmostInverse
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected