Home
last modified time | relevance | path

Searched refs:bnZ (Results 1 – 3 of 3) sorted by relevance

/external/tpm2/
DRSAKeySieve.c239 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()
DCpriECC.c804 BIGNUM *bnZ; in SignEcdsa() local
816 bnZ = BN_CTX_get(context); in SignEcdsa()
883 BN_bin2bn(digest->buffer, curveData->n->size, bnZ); in SignEcdsa()
891 BN_bin2bn(digest->buffer, digest->size, bnZ); in SignEcdsa()
896 if( bnZ == NULL in SignEcdsa()
909 || !BN_add(bnD, bnZ, bnD) in SignEcdsa()
Dpart4.txt30878 159 BIGNUM *bnZ;
30898 174 bnZ = BN_CTX_get(context);
30943 219 if(BN_mod_exp(bnZ, bnB, bnM, bnW, context) != 1)
30947 223 if(BN_is_one(bnZ) || BN_ucmp(bnZ, bnWm1) == 0)
30959 230 if(BN_mod_mul(bnZ, bnZ, bnZ, bnW, context) != 1)
30963 234 if(BN_ucmp(bnZ, bnWm1) == 0)
30967 238 if(BN_is_one(bnZ))
34009 702 BIGNUM *bnZ;
34023 716 bnZ = BN_CTX_get(context);
34103 791 BN_bin2bn(digest->buffer, curveData->n->size, bnZ);
[all …]