Searched refs:ex_primes (Results 1 – 5 of 5) sorted by relevance
/third_party/openssl/crypto/rsa/ |
D | rsa_chk.c | 23 int ret = 1, ex_primes = 0, idx; in RSA_check_key_ex() local 34 ex_primes = sk_RSA_PRIME_INFO_num(key->prime_infos); in RSA_check_key_ex() 35 if (ex_primes <= 0 in RSA_check_key_ex() 36 || (ex_primes + 2) > rsa_multip_cap(BN_num_bits(key->n))) { in RSA_check_key_ex() 77 for (idx = 0; idx < ex_primes; idx++) { in RSA_check_key_ex() 90 for (idx = 0; idx < ex_primes; idx++) { in RSA_check_key_ex() 99 if (ex_primes) in RSA_check_key_ex() 125 for (idx = 0; idx < ex_primes; idx++) { in RSA_check_key_ex() 194 for (idx = 0; idx < ex_primes; idx++) { in RSA_check_key_ex()
|
D | rsa_mp.c | 66 int i, rv = 0, ex_primes; in rsa_multip_calc_product() local 68 if ((ex_primes = sk_RSA_PRIME_INFO_num(rsa->prime_infos)) <= 0) { in rsa_multip_calc_product() 80 for (i = 0; i < ex_primes; i++) { in rsa_multip_calc_product()
|
D | rsa_ossl.c | 609 int ret = 0, i, ex_primes = 0, smooth = 0; in rsa_ossl_mod_exp() local 622 && ((ex_primes = sk_RSA_PRIME_INFO_num(rsa->prime_infos)) <= 0 in rsa_ossl_mod_exp() 623 || ex_primes > RSA_MAX_PRIME_NUM - 2)) in rsa_ossl_mod_exp() 645 for (i = 0; i < ex_primes; i++) { in rsa_ossl_mod_exp() 658 smooth = (ex_primes == 0) in rsa_ossl_mod_exp() 775 if (ex_primes > 0) { in rsa_ossl_mod_exp() 784 for (i = 0; i < ex_primes; i++) { in rsa_ossl_mod_exp() 858 if (ex_primes > 0) { in rsa_ossl_mod_exp() 864 for (i = 0; i < ex_primes; i++) { in rsa_ossl_mod_exp()
|
D | rsa_lib.c | 172 int ex_primes = sk_RSA_PRIME_INFO_num(rsa->prime_infos); in RSA_security_bits() local 174 if (ex_primes <= 0 || (ex_primes + 2) > rsa_multip_cap(bits)) in RSA_security_bits()
|
D | rsa_ameth.c | 331 int ret = 0, mod_len = 0, ex_primes; in pkey_rsa_print() local 335 ex_primes = sk_RSA_PRIME_INFO_num(x->prime_infos); in pkey_rsa_print() 345 mod_len, ex_primes <= 0 ? 2 : ex_primes + 2) <= 0) in pkey_rsa_print()
|