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

Method ModMul

gmp256k1/IntMod.cpp:51–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51void Int::ModMul(Int *a) { // this <- this*b (mod n)
52 mpz_mul(num,num,a->num);
53 mpz_mod(num,num,_P.num);
54}
55
56void Int::ModMul(Int *a,Int *b) { // this <- a*b (mod n)
57 mpz_mul(num,a->num,b->num);

Callers 1

ReduceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected