MCPcopy Create free account
hub / github.com/albertobsd/keyhunt / ModAdd

Method ModAdd

secp256k1/IntMod.cpp:39–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37// ------------------------------------------------
38
39void Int::ModAdd(Int *a) {
40 Int p;
41 Add(a);
42 p.Sub(this,&_P);
43 if(p.IsPositive())
44 Set(&p);
45}
46
47// ------------------------------------------------
48

Callers 6

Add2Method · 0.45
AddMethod · 0.45
DoubleDirectMethod · 0.45
DoubleMethod · 0.45
GetYMethod · 0.45
ECMethod · 0.45

Calls 2

SubMethod · 0.45
IsPositiveMethod · 0.45

Tested by

no test coverage detected