Lines Matching refs:coeffs
489 BIGNUM *coeffs[], int pnum) 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()
515 pinfo->t = coeffs[i]; in RSA_set0_multi_prime_params()
619 const BIGNUM *coeffs[]) in RSA_get0_multi_prime_crt_params() argument
627 if (exps != NULL || coeffs != NULL) { in RSA_get0_multi_prime_crt_params()
636 if (coeffs != NULL) in RSA_get0_multi_prime_crt_params()
637 coeffs[i] = pinfo->t; in RSA_get0_multi_prime_crt_params()
758 STACK_OF(BIGNUM) *coeffs) in DEFINE_STACK_OF()
765 if (primes == NULL || exps == NULL || coeffs == NULL) in DEFINE_STACK_OF()
790 && pnum == sk_BIGNUM_num(coeffs) + 1) { in DEFINE_STACK_OF()
794 sk_BIGNUM_value(coeffs, 0))) in DEFINE_STACK_OF()
800 sk_BIGNUM_delete(coeffs, 0); in DEFINE_STACK_OF()
818 BIGNUM *coeff = sk_BIGNUM_pop(coeffs); in DEFINE_STACK_OF()
876 STACK_OF(BIGNUM_const) *coeffs) in DEFINE_SPECIAL_STACK_OF_CONST()
894 sk_BIGNUM_const_push(coeffs, RSA_get0_iqmp(r)); in DEFINE_SPECIAL_STACK_OF_CONST()
902 sk_BIGNUM_const_push(coeffs, pinfo->t); in DEFINE_SPECIAL_STACK_OF_CONST()
916 STACK_OF(BIGNUM_const) *coeffs = 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()
943 for (i = 0; i < sk_BIGNUM_const_num(coeffs); i++) { in ossl_rsa_check_factors()
944 bits = safe_BN_num_bits(sk_BIGNUM_const_value(coeffs, i)); in ossl_rsa_check_factors()
954 sk_BIGNUM_const_free(coeffs); in ossl_rsa_check_factors()