Home
last modified time | relevance | path

Searched refs:EVP_PKEY_OP_KEYGEN (Results 1 – 9 of 9) sorted by relevance

/freebsd/crypto/openssl/crypto/evp/
H A Dpmeth_gn.c44 case EVP_PKEY_OP_KEYGEN: in gen_init()
64 || (operation == EVP_PKEY_OP_KEYGEN in gen_init()
74 case EVP_PKEY_OP_KEYGEN: in gen_init()
101 return gen_init(ctx, EVP_PKEY_OP_KEYGEN); in EVP_PKEY_keygen_init()
227 case EVP_PKEY_OP_KEYGEN: in EVP_PKEY_generate()
270 if (ctx->operation != EVP_PKEY_OP_KEYGEN) { in EVP_PKEY_keygen()
H A Dctrl_params_translate.c2079 { SET, EVP_PKEY_DHX, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN,
2082 { SET, EVP_PKEY_DHX, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN,
2093 { SET, EVP_PKEY_DH, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN,
2096 { SET, EVP_PKEY_DH, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN,
2132 { SET, EVP_PKEY_EC, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN,
2135 { SET, EVP_PKEY_EC, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN,
2173 { SET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN,
2176 { SET, EVP_PKEY_SM2, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN,
2281 { SET, EVP_PKEY_RSA, EVP_PKEY_RSA_PSS, EVP_PKEY_OP_KEYGEN,
2284 { SET, EVP_PKEY_RSA, EVP_PKEY_RSA_PSS, EVP_PKEY_OP_KEYGEN,
[all …]
H A Ddh_ctrl.c155 EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN, in EVP_PKEY_CTX_set_dh_nid()
H A Dpmeth_lib.c1264 EVP_PKEY_OP_KEYGEN, in EVP_PKEY_CTX_set_mac_key()
/freebsd/crypto/openssl/crypto/rsa/
H A Drsa_lib.c983 return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA_PSS, EVP_PKEY_OP_KEYGEN, in EVP_PKEY_CTX_set_rsa_pss_keygen_md()
991 return int_set_rsa_md_name(ctx, EVP_PKEY_RSA_PSS, EVP_PKEY_OP_KEYGEN, in EVP_PKEY_CTX_set_rsa_pss_keygen_md_name()
1074 return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA_PSS, EVP_PKEY_OP_KEYGEN, in EVP_PKEY_CTX_set_rsa_pss_keygen_mgf1_md()
1081 return int_set_rsa_md_name(ctx, EVP_PKEY_RSA_PSS, EVP_PKEY_OP_KEYGEN, in EVP_PKEY_CTX_set_rsa_pss_keygen_mgf1_md_name()
1247 int ret = RSA_pkey_ctx_ctrl(ctx, EVP_PKEY_OP_KEYGEN, in EVP_PKEY_CTX_set_rsa_keygen_pubexp()
1276 ret = EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA, EVP_PKEY_OP_KEYGEN, in EVP_PKEY_CTX_set1_rsa_keygen_pubexp()
H A Drsa_pmeth.c694 return EVP_PKEY_CTX_md(ctx, EVP_PKEY_OP_KEYGEN, in pkey_rsa_ctrl_str()
698 return EVP_PKEY_CTX_md(ctx, EVP_PKEY_OP_KEYGEN, in pkey_rsa_ctrl_str()
/freebsd/crypto/openssl/include/crypto/
H A Devp.h738 || (ctx)->operation == EVP_PKEY_OP_KEYGEN)
/freebsd/crypto/openssl/include/openssl/
H A Devp.h1686 # define EVP_PKEY_OP_KEYGEN (1<<2) macro
1710 (EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN)
/freebsd/crypto/openssl/test/
H A Devp_extra_test.c2471 || !TEST_int_gt(EVP_PKEY_CTX_ctrl(kctx, -1, EVP_PKEY_OP_KEYGEN, in test_CMAC_keygen()
2474 || !TEST_int_gt(EVP_PKEY_CTX_ctrl(kctx, -1, EVP_PKEY_OP_KEYGEN, in test_CMAC_keygen()