Searched refs:ex_primes (Results 1 – 5 of 5) sorted by relevance
26 int ret = 1, ex_primes = 0, idx; in rsa_validate_keypair_multiprime() local37 ex_primes = sk_RSA_PRIME_INFO_num(key->prime_infos); in rsa_validate_keypair_multiprime()38 if (ex_primes <= 0 in rsa_validate_keypair_multiprime()39 || (ex_primes + 2) > ossl_rsa_multip_cap(BN_num_bits(key->n))) { in rsa_validate_keypair_multiprime()80 for (idx = 0; idx < ex_primes; idx++) { in rsa_validate_keypair_multiprime()93 for (idx = 0; idx < ex_primes; idx++) { in rsa_validate_keypair_multiprime()102 if (ex_primes) in rsa_validate_keypair_multiprime()131 for (idx = 0; idx < ex_primes; idx++) { in rsa_validate_keypair_multiprime()200 for (idx = 0; idx < ex_primes; idx++) { in rsa_validate_keypair_multiprime()
64 int i, rv = 0, ex_primes; in ossl_rsa_multip_calc_product() local66 if ((ex_primes = sk_RSA_PRIME_INFO_num(rsa->prime_infos)) <= 0) { in ossl_rsa_multip_calc_product()78 for (i = 0; i < ex_primes; i++) { in ossl_rsa_multip_calc_product()
811 int i, ex_primes = 0; in rsa_ossl_mod_exp() local828 && ((ex_primes = sk_RSA_PRIME_INFO_num(rsa->prime_infos)) <= 0 in rsa_ossl_mod_exp()829 || ex_primes > RSA_MAX_PRIME_NUM - 2)) in rsa_ossl_mod_exp()853 for (i = 0; i < ex_primes; i++) { in rsa_ossl_mod_exp()869 && (ex_primes == 0) in rsa_ossl_mod_exp()982 if (ex_primes > 0) { in rsa_ossl_mod_exp()991 for (i = 0; i < ex_primes; i++) { in rsa_ossl_mod_exp()1067 if (ex_primes > 0) { in rsa_ossl_mod_exp()1073 for (i = 0; i < ex_primes; i++) { in rsa_ossl_mod_exp()
305 int ret = 0, mod_len = 0, ex_primes; in pkey_rsa_print() local309 ex_primes = sk_RSA_PRIME_INFO_num(x->prime_infos); in pkey_rsa_print()319 mod_len, ex_primes <= 0 ? 2 : ex_primes + 2) <= 0) in pkey_rsa_print()
392 int ex_primes = sk_RSA_PRIME_INFO_num(rsa->prime_infos); in RSA_security_bits() local394 if (ex_primes <= 0 || (ex_primes + 2) > ossl_rsa_multip_cap(bits)) in RSA_security_bits()
Completed in 14 milliseconds