Home
last modified time | relevance | path

Searched refs:rsa_tmp (Results 1 – 2 of 2) sorted by relevance

/freebsd/crypto/openssl/providers/implementations/keymgmt/
H A Drsa_kmgmt.c580 RSA *rsa = NULL, *rsa_tmp = NULL; in rsa_gen() local
603 if ((rsa_tmp = ossl_rsa_new_with_ctx(gctx->libctx)) == NULL) in rsa_gen()
614 if (!ossl_rsa_acvp_test_set_params(rsa_tmp, gctx->acvp_test_params)) in rsa_gen()
619 if (!RSA_generate_multi_prime_key(rsa_tmp, in rsa_gen()
624 if (!ossl_rsa_pss_params_30_copy(ossl_rsa_get0_pss_params_30(rsa_tmp), in rsa_gen()
628 RSA_clear_flags(rsa_tmp, RSA_FLAG_TYPE_MASK); in rsa_gen()
629 RSA_set_flags(rsa_tmp, gctx->rsa_type); in rsa_gen()
631 rsa = rsa_tmp; in rsa_gen()
632 rsa_tmp = NULL; in rsa_gen()
635 RSA_free(rsa_tmp); in rsa_gen()
/freebsd/contrib/sendmail/src/
H A Dtls.c78 static RSA *rsa_tmp = NULL; /* temporary RSA key */
1242 (rsa_tmp = RSA_generate_key(RSA_KEYLENGTH, RSA_F4, NULL,
2314 if (ShmId != SM_SHM_NO_ID && rsa_tmp != NULL &&
2316 return rsa_tmp;
2319 if (rsa_tmp != NULL)
2320 RSA_free(rsa_tmp);
2321 rsa_tmp = RSA_generate_key(RSA_KEYLENGTH, RSA_F4, NULL, NULL);
2322 if (rsa_tmp == NULL)
2348 return rsa_tmp;