Lines Matching refs:exps
488 int RSA_set0_multi_prime_params(RSA *r, BIGNUM *primes[], BIGNUM *exps[], in RSA_set0_multi_prime_params() argument
495 if (primes == NULL || exps == NULL || coeffs == NULL || pnum == 0) in RSA_set0_multi_prime_params()
509 if (primes[i] != NULL && exps[i] != NULL && coeffs[i] != NULL) { in RSA_set0_multi_prime_params()
514 pinfo->d = exps[i]; in RSA_set0_multi_prime_params()
618 int RSA_get0_multi_prime_crt_params(const RSA *r, const BIGNUM *exps[], in RSA_get0_multi_prime_crt_params() argument
627 if (exps != NULL || coeffs != NULL) { in RSA_get0_multi_prime_crt_params()
634 if (exps != NULL) in RSA_get0_multi_prime_crt_params()
635 exps[i] = pinfo->d; in RSA_get0_multi_prime_crt_params()
757 STACK_OF(BIGNUM) *exps, in DEFINE_STACK_OF()
765 if (primes == NULL || exps == NULL || coeffs == NULL) in DEFINE_STACK_OF()
789 if (pnum == sk_BIGNUM_num(exps) in DEFINE_STACK_OF()
792 if (!RSA_set0_crt_params(r, sk_BIGNUM_value(exps, 0), in DEFINE_STACK_OF()
793 sk_BIGNUM_value(exps, 1), in DEFINE_STACK_OF()
798 sk_BIGNUM_delete(exps, 0); in DEFINE_STACK_OF()
799 sk_BIGNUM_delete(exps, 0); in DEFINE_STACK_OF()
817 BIGNUM *exp = sk_BIGNUM_pop(exps); in DEFINE_STACK_OF()
875 STACK_OF(BIGNUM_const) *exps, in DEFINE_SPECIAL_STACK_OF_CONST()
892 sk_BIGNUM_const_push(exps, RSA_get0_dmp1(r)); in DEFINE_SPECIAL_STACK_OF_CONST()
893 sk_BIGNUM_const_push(exps, RSA_get0_dmq1(r)); in DEFINE_SPECIAL_STACK_OF_CONST()
901 sk_BIGNUM_const_push(exps, pinfo->d); in DEFINE_SPECIAL_STACK_OF_CONST()
915 STACK_OF(BIGNUM_const) *exps = sk_BIGNUM_const_new_null(); in ossl_rsa_check_factors()
918 if (factors == NULL || exps == NULL || coeffs == NULL) in ossl_rsa_check_factors()
925 ossl_rsa_get0_all_params(r, factors, exps, coeffs); in ossl_rsa_check_factors()
931 for (i = 0; i < sk_BIGNUM_const_num(exps); i++) { in ossl_rsa_check_factors()
932 bits = safe_BN_num_bits(sk_BIGNUM_const_value(exps, i)); in ossl_rsa_check_factors()
953 sk_BIGNUM_const_free(exps); in ossl_rsa_check_factors()