Home
last modified time | relevance | path

Searched refs:pmeth (Results 1 – 15 of 15) sorted by relevance

/freebsd-12.1/crypto/openssl/crypto/evp/
H A Dpmeth_lib.c136 if (pmeth == NULL) { in int_ctx_new()
153 ret->pmeth = pmeth; in int_ctx_new()
159 if (pmeth->init) { in int_ctx_new()
174 pmeth = OPENSSL_zalloc(sizeof(*pmeth)); in EVP_PKEY_meth_new()
182 return pmeth; in EVP_PKEY_meth_new()
239 if (pmeth && (pmeth->flags & EVP_PKEY_FLAG_DYNAMIC)) in EVP_PKEY_meth_free()
256 if (!pctx->pmeth || !pctx->pmeth->copy) in EVP_PKEY_CTX_dup()
271 rctx->pmeth = pctx->pmeth; in EVP_PKEY_CTX_dup()
356 if (ctx->pmeth && ctx->pmeth->cleanup) in EVP_PKEY_CTX_free()
371 if (!ctx || !ctx->pmeth || !ctx->pmeth->ctrl) { in EVP_PKEY_CTX_ctrl()
[all …]
H A Dpmeth_fn.c38 if (!ctx || !ctx->pmeth || !ctx->pmeth->sign) { in EVP_PKEY_sign_init()
56 if (!ctx || !ctx->pmeth || !ctx->pmeth->sign) { in EVP_PKEY_sign()
72 if (!ctx || !ctx->pmeth || !ctx->pmeth->verify) { in EVP_PKEY_verify_init()
90 if (!ctx || !ctx->pmeth || !ctx->pmeth->verify) { in EVP_PKEY_verify()
139 if (!ctx || !ctx->pmeth || !ctx->pmeth->encrypt) { in EVP_PKEY_encrypt_init()
157 if (!ctx || !ctx->pmeth || !ctx->pmeth->encrypt) { in EVP_PKEY_encrypt()
173 if (!ctx || !ctx->pmeth || !ctx->pmeth->decrypt) { in EVP_PKEY_decrypt_init()
191 if (!ctx || !ctx->pmeth || !ctx->pmeth->decrypt) { in EVP_PKEY_decrypt()
207 if (!ctx || !ctx->pmeth || !ctx->pmeth->derive) { in EVP_PKEY_derive_init()
225 || !(ctx->pmeth->derive || ctx->pmeth->encrypt || ctx->pmeth->decrypt) in EVP_PKEY_derive_set_peer()
[all …]
H A Dm_sigver.c48 if (ctx->pctx->pmeth->verifyctx_init) { in do_sigver_init()
52 } else if (ctx->pctx->pmeth->digestverify != 0) { in do_sigver_init()
59 if (ctx->pctx->pmeth->signctx_init) { in do_sigver_init()
63 } else if (ctx->pctx->pmeth->digestsign != 0) { in do_sigver_init()
74 if (ctx->pctx->pmeth->flags & EVP_PKEY_FLAG_SIGCTX_CUSTOM) in do_sigver_init()
82 if (ctx->pctx->pmeth->digest_custom != NULL) in do_sigver_init()
105 if (pctx->pmeth->flags & EVP_PKEY_FLAG_SIGCTX_CUSTOM) { in EVP_DigestSignFinal()
119 if (pctx->pmeth->signctx) in EVP_DigestSignFinal()
166 if (ctx->pctx->pmeth->digestsign != NULL) in EVP_DigestSign()
181 if (ctx->pctx->pmeth->verifyctx) in EVP_DigestVerifyFinal()
[all …]
H A Dpmeth_gn.c22 if (!ctx || !ctx->pmeth || !ctx->pmeth->paramgen) { in EVP_PKEY_paramgen_init()
28 if (!ctx->pmeth->paramgen_init) in EVP_PKEY_paramgen_init()
30 ret = ctx->pmeth->paramgen_init(ctx); in EVP_PKEY_paramgen_init()
39 if (!ctx || !ctx->pmeth || !ctx->pmeth->paramgen) { in EVP_PKEY_paramgen()
72 if (!ctx || !ctx->pmeth || !ctx->pmeth->keygen) { in EVP_PKEY_keygen_init()
78 if (!ctx->pmeth->keygen_init) in EVP_PKEY_keygen_init()
80 ret = ctx->pmeth->keygen_init(ctx); in EVP_PKEY_keygen_init()
90 if (!ctx || !ctx->pmeth || !ctx->pmeth->keygen) { in EVP_PKEY_keygen()
182 if (ctx->pmeth->check != NULL) in EVP_PKEY_check()
183 return ctx->pmeth->check(pkey); in EVP_PKEY_check()
[all …]
/freebsd-12.1/crypto/openssl/doc/man3/
H A DEVP_PKEY_meth_new.pod31 void EVP_PKEY_meth_free(EVP_PKEY_METHOD *pmeth);
34 int EVP_PKEY_meth_add0(const EVP_PKEY_METHOD *pmeth);
35 int EVP_PKEY_meth_remove(const EVP_PKEY_METHOD *pmeth);
37 void EVP_PKEY_meth_set_init(EVP_PKEY_METHOD *pmeth,
39 void EVP_PKEY_meth_set_copy(EVP_PKEY_METHOD *pmeth,
42 void EVP_PKEY_meth_set_cleanup(EVP_PKEY_METHOD *pmeth,
48 void EVP_PKEY_meth_set_keygen(EVP_PKEY_METHOD *pmeth,
52 void EVP_PKEY_meth_set_sign(EVP_PKEY_METHOD *pmeth,
58 void EVP_PKEY_meth_set_verify(EVP_PKEY_METHOD *pmeth,
109 void EVP_PKEY_meth_set_ctrl(EVP_PKEY_METHOD *pmeth,
[all …]
/freebsd-12.1/crypto/openssl/include/openssl/
H A Devp.h1332 void EVP_PKEY_meth_free(EVP_PKEY_METHOD *pmeth);
1333 int EVP_PKEY_meth_add0(const EVP_PKEY_METHOD *pmeth);
1423 void EVP_PKEY_meth_set_init(EVP_PKEY_METHOD *pmeth,
1426 void EVP_PKEY_meth_set_copy(EVP_PKEY_METHOD *pmeth,
1430 void EVP_PKEY_meth_set_cleanup(EVP_PKEY_METHOD *pmeth,
1438 void EVP_PKEY_meth_set_keygen(EVP_PKEY_METHOD *pmeth,
1443 void EVP_PKEY_meth_set_sign(EVP_PKEY_METHOD *pmeth,
1450 void EVP_PKEY_meth_set_verify(EVP_PKEY_METHOD *pmeth,
1502 void EVP_PKEY_meth_set_derive(EVP_PKEY_METHOD *pmeth,
1508 void EVP_PKEY_meth_set_ctrl(EVP_PKEY_METHOD *pmeth,
[all …]
/freebsd-12.1/crypto/openssl/crypto/engine/
H A Deng_openssl.c74 static int ossl_pkey_meths(ENGINE *e, EVP_PKEY_METHOD **pmeth,
618 static int ossl_pkey_meths(ENGINE *e, EVP_PKEY_METHOD **pmeth, in ossl_pkey_meths() argument
625 if (!pmeth) { in ossl_pkey_meths()
631 *pmeth = ossl_hmac_meth; in ossl_pkey_meths()
635 *pmeth = NULL; in ossl_pkey_meths()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ScriptInterpreter/Python/
H A DScriptInterpreterPython.cpp1605 PythonObject pmeth(PyRefType::Owned, in OSPlugin_RegisterInfo() local
1611 if (!pmeth.IsAllocated()) in OSPlugin_RegisterInfo()
1660 PythonObject pmeth(PyRefType::Owned, in OSPlugin_ThreadsInfo() local
1666 if (!pmeth.IsAllocated()) in OSPlugin_ThreadsInfo()
1746 PythonObject pmeth(PyRefType::Owned, in OSPlugin_RegisterContextData() local
1752 if (!pmeth.IsAllocated()) in OSPlugin_RegisterContextData()
1811 if (!pmeth.IsAllocated()) in OSPlugin_CreateThread()
2545 if (!pmeth.IsAllocated()) in GetSyntheticTypeName()
3082 if (!pmeth.IsAllocated()) in GetShortHelpForCommandObject()
3137 if (!pmeth.IsAllocated()) in GetFlagsForCommandObject()
[all …]
/freebsd-12.1/crypto/openssl/crypto/rsa/
H A Drsa_lib.c483 if (ctx != NULL && ctx->pmeth != NULL in RSA_pkey_ctx_ctrl()
484 && ctx->pmeth->pkey_id != EVP_PKEY_RSA in RSA_pkey_ctx_ctrl()
485 && ctx->pmeth->pkey_id != EVP_PKEY_RSA_PSS) in RSA_pkey_ctx_ctrl()
H A Drsa_locl.h121 #define pkey_ctx_is_pss(ctx) (ctx->pmeth->pkey_id == EVP_PKEY_RSA_PSS)
H A Drsa_pmeth.c751 EVP_PKEY_assign(pkey, ctx->pmeth->pkey_id, rsa); in pkey_rsa_keygen()
/freebsd-12.1/crypto/openssl/apps/
H A Dopenssl.c623 const EVP_PKEY_METHOD *pmeth = EVP_PKEY_meth_get0(i); in list_pkey_meth() local
626 EVP_PKEY_meth_get0_info(&pkey_id, &pkey_flags, pmeth); in list_pkey_meth()
/freebsd-12.1/crypto/openssl/crypto/dh/
H A Ddh_pmeth.c413 EVP_PKEY_assign(pkey, ctx->pmeth->pkey_id, dh); in pkey_dh_keygen()
/freebsd-12.1/crypto/openssl/crypto/include/internal/
H A Devp_int.h21 const EVP_PKEY_METHOD *pmeth; member
/freebsd-12.1/crypto/openssl/crypto/ec/
H A Decx_meth.c654 return ecx_key_op(pkey, ctx->pmeth->pkey_id, NULL, NULL, 0, KEY_OP_KEYGEN); in pkey_ecx_keygen()