Home
last modified time | relevance | path

Searched refs:bnM (Results 1 – 2 of 2) sorted by relevance

/external/tpm2/
DMathFunctions.c455 BIGNUM *bnM; in _math__ModExp() local
464 bnM = BN_CTX_get(context); in _math__ModExp()
471 if ( BN_bin2bn(m, mSize, bnM) == NULL in _math__ModExp()
477 if(BN_ucmp(bnM, bnN) >= 0) in _math__ModExp()
483 if(!(BN_mod_exp(bnC, bnM, bnE, bnN, context))) in _math__ModExp()
DRSAKeySieve.c237 BIGNUM *bnM; in MillerRabin() local
253 bnM = BN_CTX_get(context); in MillerRabin()
254 if(bnM == NULL) in MillerRabin()
262 BN_rshift(bnM, bnWm1, a); in MillerRabin()
288 if(BN_mod_exp(bnZ, bnB, bnM, bnW, context) != 1) in MillerRabin()