Home
last modified time | relevance | path

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

/external/tpm2/
DRSAKeySieve.c230 BIGNUM *bnW, in MillerRabin() argument
247 pAssert(BN_is_bit_set(bnW, 0)); in MillerRabin()
257 BN_copy(bnWm1, bnW); in MillerRabin()
264 wLen = BN_num_bits(bnW); in MillerRabin()
288 if(BN_mod_exp(bnZ, bnB, bnM, bnW, context) != 1) in MillerRabin()
297 if(BN_mod_mul(bnZ, bnZ, bnZ, bnW, context) != 1) in MillerRabin()
DCpriECC.c1435 BIGNUM *bnW; in ValidateSignatureEcdsa() local
1463 bnW = BN_CTX_get(context); in ValidateSignatureEcdsa()
1497 if (BN_mod_inverse(bnW, bnS, bnN, context) == NULL) in ValidateSignatureEcdsa()
1500 if( !BN_mod_mul(bnU1, bnE, bnW, bnN, context) in ValidateSignatureEcdsa()
1501 || !BN_mod_mul(bnU2, bnR, bnW, bnN, context)) in ValidateSignatureEcdsa()
Dpart4.txt30869 150 BIGNUM *bnW,
30892 168 pAssert(BN_is_bit_set(bnW, 0));
30904 180 BN_copy(bnWm1, bnW);
30913 189 wLen = BN_num_bits(bnW);
30943 219 if(BN_mod_exp(bnZ, bnB, bnM, bnW, context) != 1)
30959 230 if(BN_mod_mul(bnZ, bnZ, bnZ, bnW, context) != 1)
34728 1299 BIGNUM *bnW;
34762 1333 bnW = BN_CTX_get(context);
34813 1379 if (BN_mod_inverse(bnW, bnS, bnN, context) == NULL)
34817 1383 if( !BN_mod_mul(bnU1, bnE, bnW, bnN, context)
[all …]