Searched refs:bnZ (Results 1 – 2 of 2) sorted by relevance
/external/tpm2/ |
D | RSAKeySieve.c | 239 BIGNUM *bnZ; in MillerRabin() local 252 bnZ = BN_CTX_get(context); in MillerRabin() 288 if(BN_mod_exp(bnZ, bnB, bnM, bnW, context) != 1) in MillerRabin() 291 if(BN_is_one(bnZ) || BN_ucmp(bnZ, bnWm1) == 0) in MillerRabin() 297 if(BN_mod_mul(bnZ, bnZ, bnZ, bnW, context) != 1) in MillerRabin() 300 if(BN_ucmp(bnZ, bnWm1) == 0) in MillerRabin() 303 if(BN_is_one(bnZ)) in MillerRabin()
|
D | CpriECC.c | 807 BIGNUM *bnZ; in SignEcdsa() local 819 bnZ = BN_CTX_get(context); in SignEcdsa() 886 BN_bin2bn(digest->buffer, curveData->n->size, bnZ); in SignEcdsa() 894 BN_bin2bn(digest->buffer, digest->size, bnZ); in SignEcdsa() 899 if( bnZ == NULL in SignEcdsa() 912 || !BN_add(bnD, bnZ, bnD) in SignEcdsa()
|