| /freebsd-12.1/crypto/openssl/crypto/evp/ |
| H A D | pmeth_lib.c | 136 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 D | pmeth_fn.c | 38 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 D | m_sigver.c | 48 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 D | pmeth_gn.c | 22 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 D | EVP_PKEY_meth_new.pod | 31 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 D | evp.h | 1332 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 D | eng_openssl.c | 74 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 D | ScriptInterpreterPython.cpp | 1605 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 D | rsa_lib.c | 483 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 D | rsa_locl.h | 121 #define pkey_ctx_is_pss(ctx) (ctx->pmeth->pkey_id == EVP_PKEY_RSA_PSS)
|
| H A D | rsa_pmeth.c | 751 EVP_PKEY_assign(pkey, ctx->pmeth->pkey_id, rsa); in pkey_rsa_keygen()
|
| /freebsd-12.1/crypto/openssl/apps/ |
| H A D | openssl.c | 623 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 D | dh_pmeth.c | 413 EVP_PKEY_assign(pkey, ctx->pmeth->pkey_id, dh); in pkey_dh_keygen()
|
| /freebsd-12.1/crypto/openssl/crypto/include/internal/ |
| H A D | evp_int.h | 21 const EVP_PKEY_METHOD *pmeth; member
|
| /freebsd-12.1/crypto/openssl/crypto/ec/ |
| H A D | ecx_meth.c | 654 return ecx_key_op(pkey, ctx->pmeth->pkey_id, NULL, NULL, 0, KEY_OP_KEYGEN); in pkey_ecx_keygen()
|