Searched refs:bnE (Results 1 – 5 of 5) sorted by relevance
/external/tpm2/ |
D | CpriRSA.c | 41 BIGNUM *bnE; in RsaPrivateExponent() local 52 bnE = BN_CTX_get(context); in RsaPrivateExponent() 91 BN_set_word(bnE, key->exponent); in RsaPrivateExponent() 92 if(BN_mod_inverse(bnD, bnE, bnPhi, context) == NULL) in RsaPrivateExponent() 146 BIGNUM *bnE; in _cpri__TestKeyRSA() local 163 bnE = BN_CTX_get(context); // public exponent (e) in _cpri__TestKeyRSA() 218 BN_set_word(bnE, exponent); in _cpri__TestKeyRSA() 219 if(BN_mod_inverse(bnD, bnE, bnPhi, context) == NULL) in _cpri__TestKeyRSA() 1185 BIGNUM *bnE; in _cpri__GenerateKeyRSA() local 1209 bnE = BN_CTX_get(context); in _cpri__GenerateKeyRSA() [all …]
|
D | MathFunctions.c | 451 BIGNUM *bnE; in _math__ModExp() local 460 bnE = BN_CTX_get(context); in _math__ModExp() 467 || BN_bin2bn(e, eSize, bnE) == NULL in _math__ModExp() 478 if(!(BN_mod_exp(bnC, bnM, bnE, bnN, context))) in _math__ModExp()
|
D | CpriECC.c | 1247 BIGNUM *bnE; in SignSM2() local 1262 bnE = BN_CTX_get(context); in SignSM2() 1263 if(bnE == NULL) in SignSM2() 1265 BnFrom2B(bnE, digest); in SignSM2() 1269 BN_hex2bn(&bnE, "B524F552CD82B8B028476E005C377FB19A87E6FC682D48BB5D42E3D9B9EFFE76"); in SignSM2() 1297 if(!BN_mod_add(bnR, bnE, bnX1, bnN, context)) in SignSM2() 1438 BIGNUM *bnE; in ValidateSignatureEcdsa() local 1461 bnE = BN_CTX_get(context); in ValidateSignatureEcdsa() 1494 if(BN_bin2bn(digest->buffer, t, bnE) == NULL) in ValidateSignatureEcdsa() 1500 if( !BN_mod_mul(bnU1, bnE, bnW, bnN, context) in ValidateSignatureEcdsa() [all …]
|
D | RSAKeySieve.c | 804 BIGNUM *bnE; in _cpri__GenerateKeyRSA() local 826 bnE = BN_CTX_get(context); in _cpri__GenerateKeyRSA() 838 BN_set_word(bnE, e); in _cpri__GenerateKeyRSA() 907 if( BN_mod_inverse(bnT, bnE, bnT, context) == NULL in _cpri__GenerateKeyRSA() 926 || BN_mod_exp(bnQ, bnP, bnE, bnN, context) != 1 in _cpri__GenerateKeyRSA()
|
D | part4.txt | 26053 339 BIGNUM *bnE; 26063 349 bnE = BN_CTX_get(context); 26077 358 || BN_bin2bn(e, eSize, bnE) == NULL 26089 370 if(!(BN_mod_exp(bnC, bnM, bnE, bnN, context))) 28867 13 BIGNUM *bnE; 28886 27 bnE = BN_CTX_get(context); 28932 73 BN_set_word(bnE, key->exponent); 28933 74 if(BN_mod_inverse(bnD, bnE, bnPhi, context) == NULL) 28996 117 BIGNUM *bnE; 29022 138 bnE = BN_CTX_get(context); // public exponent (e) [all …]
|