Lines Matching refs:coeffs
152 BIGNUM **pris = NULL, **exps = NULL, **coeffs = NULL; in key2048p3_v1() local
170 coeffs = OPENSSL_zalloc(sizeof(BIGNUM *)); in key2048p3_v1()
171 if (!TEST_ptr(pris) || !TEST_ptr(exps) || !TEST_ptr(coeffs)) in key2048p3_v1()
176 coeffs[0] = BN_bin2bn(ex_coefficient, sizeof(ex_coefficient) - 1, NULL); in key2048p3_v1()
177 if (!TEST_ptr(pris[0]) || !TEST_ptr(exps[0]) || !TEST_ptr(coeffs[0])) in key2048p3_v1()
181 coeffs, NUM_EXTRA_PRIMES))) in key2048p3_v1()
187 OPENSSL_free(coeffs); in key2048p3_v1()
194 if (coeffs != NULL) in key2048p3_v1()
195 BN_free(coeffs[0]); in key2048p3_v1()
202 STACK_OF(BIGNUM) *primes = NULL, *exps = NULL, *coeffs = NULL; in key2048p3_v2()
208 || !TEST_ptr(coeffs = sk_BIGNUM_new_null())) in key2048p3_v2()
228 || !TEST_int_ne(sk_BIGNUM_push(coeffs, num), 0) in key2048p3_v2()
230 || !TEST_int_ne(sk_BIGNUM_push(coeffs, num), 0)) in key2048p3_v2()
233 if (!TEST_true(ossl_rsa_set0_all_params(key, primes, exps, coeffs))) in key2048p3_v2()
239 sk_BIGNUM_free(coeffs); in key2048p3_v2()
244 sk_BIGNUM_pop_free(coeffs, BN_free); in key2048p3_v2()
245 primes = exps = coeffs = NULL; in key2048p3_v2()