Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
39
void 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
Add2
Method · 0.45
Add
Method · 0.45
DoubleDirect
Method · 0.45
Double
Method · 0.45
GetY
Method · 0.45
EC
Method · 0.45
Calls
2
Sub
Method · 0.45
IsPositive
Method · 0.45
Tested by
no test coverage detected