Lines Matching refs:exps
152 BIGNUM **pris = NULL, **exps = NULL, **coeffs = NULL; in key2048p3_v1() local
169 exps = OPENSSL_zalloc(sizeof(BIGNUM *)); in key2048p3_v1()
171 if (!TEST_ptr(pris) || !TEST_ptr(exps) || !TEST_ptr(coeffs)) in key2048p3_v1()
175 exps[0] = BN_bin2bn(ex_exponent, sizeof(ex_exponent) - 1, NULL); in key2048p3_v1()
177 if (!TEST_ptr(pris[0]) || !TEST_ptr(exps[0]) || !TEST_ptr(coeffs[0])) in key2048p3_v1()
180 if (!TEST_true(RSA_set0_multi_prime_params(key, pris, exps, in key2048p3_v1()
186 OPENSSL_free(exps); in key2048p3_v1()
192 if (exps != NULL) in key2048p3_v1()
193 BN_free(exps[0]); in key2048p3_v1()
202 STACK_OF(BIGNUM) *primes = NULL, *exps = NULL, *coeffs = NULL; in key2048p3_v2()
207 || !TEST_ptr(exps = sk_BIGNUM_new_null()) in key2048p3_v2()
220 || !TEST_int_ne(sk_BIGNUM_push(exps, num), 0) in key2048p3_v2()
222 || !TEST_int_ne(sk_BIGNUM_push(exps, num), 0) in key2048p3_v2()
224 || !TEST_int_ne(sk_BIGNUM_push(exps, num), 0)) in key2048p3_v2()
233 if (!TEST_true(ossl_rsa_set0_all_params(key, primes, exps, coeffs))) in key2048p3_v2()
238 sk_BIGNUM_free(exps); in key2048p3_v2()
243 sk_BIGNUM_pop_free(exps, BN_free); in key2048p3_v2()
245 primes = exps = coeffs = NULL; in key2048p3_v2()