Searched refs:bnT (Results 1 – 4 of 4) sorted by relevance
/external/tpm2/ |
D | CpriECC.c | 955 BIGNUM *bnN, *bnK, *bnT, *bnD; in EcDaa() local 981 bnT = BN_CTX_get(context); in EcDaa() 990 || BN_bin2bn(tOut->t.buffer, tOut->t.size, bnT) == NULL) in EcDaa() 993 OK = OK && BN_mod(bnT, bnT, bnN, context); in EcDaa() 996 OK = OK && BN_mod_mul(bnD, bnT, bnD, bnN, context) == 1; in EcDaa() 1002 OK = OK && BnTo2B(&tOut->b, bnT, n->size); in EcDaa() 1070 BIGNUM *bnR, *bnN, *bnK, *bnT, *bnD; in SchnorrEcc() local 1104 bnT = BN_CTX_get(context); in SchnorrEcc() 1149 BnFrom2B(bnT, &T2b.b); in SchnorrEcc() 1150 BN_div(NULL, bnT, bnT, bnN, context); in SchnorrEcc() [all …]
|
D | RSAKeySieve.c | 803 BIGNUM *bnT; in _cpri__GenerateKeyRSA() local 825 bnT = BN_CTX_get(context); in _cpri__GenerateKeyRSA() 899 if( BN_sub(bnT, bnN, bnP) != 1 in _cpri__GenerateKeyRSA() 900 || BN_sub(bnT, bnT, bnQ) != 1 in _cpri__GenerateKeyRSA() 901 || BN_add_word(bnT, 1) != 1) in _cpri__GenerateKeyRSA() 907 if( BN_mod_inverse(bnT, bnE, bnT, context) == NULL in _cpri__GenerateKeyRSA() 908 || BN_is_zero(bnT)) in _cpri__GenerateKeyRSA() 928 || BN_mod_exp(bnQ, bnQ, bnT, bnN, context) != 1) in _cpri__GenerateKeyRSA()
|
D | CpriRSA.c | 1184 BIGNUM *bnT; in _cpri__GenerateKeyRSA() local 1208 bnT = BN_CTX_get(context); in _cpri__GenerateKeyRSA() 1288 BN_sub(bnT, bnQ, bnP); in _cpri__GenerateKeyRSA() 1290 BN_sub(bnT, bnP, bnQ); in _cpri__GenerateKeyRSA() 1291 if(BN_num_bits(bnT) < 100) // Difference has to be at least 100 bits in _cpri__GenerateKeyRSA() 1331 BN_sub(bnT, bnN, bnP); in _cpri__GenerateKeyRSA() 1332 BN_sub(bnT, bnT, bnQ); in _cpri__GenerateKeyRSA() 1333 BN_add_word(bnT, 1); in _cpri__GenerateKeyRSA() 1338 if(BN_mod_inverse(bnT, bnE, bnT, context) == NULL || BN_is_zero(bnT)) in _cpri__GenerateKeyRSA() 1367 || BN_mod_exp(bnQ, bnQ, bnT, bnN, context) != 1) in _cpri__GenerateKeyRSA()
|
D | part4.txt | 30230 1038 BIGNUM *bnT; 30264 1067 bnT = BN_CTX_get(context); 30365 1163 BN_sub(bnT, bnQ, bnP); 30367 1165 BN_sub(bnT, bnP, bnQ); 30368 1166 if(BN_num_bits(bnT) < 100) // Difference has to be at least 100 bits 30419 1212 BN_sub(bnT, bnN, bnP); 30420 1213 BN_sub(bnT, bnT, bnQ); 30421 1214 BN_add_word(bnT, 1); 30427 1220 if(BN_mod_inverse(bnT, bnE, bnT, context) == NULL || BN_is_zero(bnT)) 30459 1252 || BN_mod_exp(bnQ, bnQ, bnT, bnN, context) != 1) [all …]
|