MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / modPow

Method modPow

src/common/BigInteger.cpp:201–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199 }
200
201 BigInteger BigInteger::modPow(const BigInteger& pow, const BigInteger& mod) const
202 {
203 BigInteger rc;
204 CHECK_MP(mp_exptmod(const_cast<mp_int*>(&t), const_cast<mp_int*>(&pow.t),
205 const_cast<mp_int*>(&mod.t), &rc.t));
206 return rc;
207 }
208
209}
210

Callers 6

computeVerifierMethod · 0.80
genClientKeyMethod · 0.80
genServerKeyMethod · 0.80
clientSessionKeyMethod · 0.80
serverSessionKeyMethod · 0.80
clientProofMethod · 0.80

Calls 1

mp_exptmodFunction · 0.85

Tested by

no test coverage detected