Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/crypto/rsa/
H A Drsa_pmeth.c36 BIGNUM *pub_exp; member
91 if (sctx->pub_exp) { in pkey_rsa_copy()
92 dctx->pub_exp = BN_dup(sctx->pub_exp); in pkey_rsa_copy()
93 if (!dctx->pub_exp) in pkey_rsa_copy()
126 BN_free(rctx->pub_exp); in pkey_rsa_cleanup()
504 BN_free(rctx->pub_exp); in pkey_rsa_ctrl()
505 rctx->pub_exp = p2; in pkey_rsa_ctrl()
754 if (rctx->pub_exp == NULL) { in pkey_rsa_keygen()
755 rctx->pub_exp = BN_new(); in pkey_rsa_keygen()
756 if (rctx->pub_exp == NULL || !BN_set_word(rctx->pub_exp, RSA_F4)) in pkey_rsa_keygen()
[all …]
/freebsd/crypto/openssl/providers/implementations/keymgmt/
H A Drsa_kmgmt.c423 BIGNUM *pub_exp; member
464 if ((gctx->pub_exp = BN_new()) == NULL in gen_init()
465 || !BN_set_word(gctx->pub_exp, RSA_F4)) { in gen_init()
481 BN_free(gctx->pub_exp); in gen_init()
523 && !OSSL_PARAM_get_BN(p, &gctx->pub_exp)) in rsa_gen_set_params()
621 gctx->pub_exp, gencb)) in rsa_gen()
649 BN_clear_free(gctx->pub_exp); in rsa_gen_cleanup()