Home
last modified time | relevance | path

Searched refs:ppkey (Results 1 – 19 of 19) sorted by relevance

/freebsd/crypto/openssl/crypto/evp/
H A Dpmeth_gn.c126 int EVP_PKEY_generate(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey) in ossl_callback_to_pkey_gencb()
133 if (ppkey == NULL) in EVP_PKEY_generate()
142 if (*ppkey == NULL) in EVP_PKEY_generate()
143 *ppkey = allocated_pkey = EVP_PKEY_new(); in EVP_PKEY_generate()
145 if (*ppkey == NULL) { in EVP_PKEY_generate()
182 * the returned value from evp_keymgmt_util_gen() is cached in *ppkey, in EVP_PKEY_generate()
186 && (evp_keymgmt_util_gen(*ppkey, ctx->keymgmt, ctx->op.keymgmt.genctx, in EVP_PKEY_generate()
193 /* In case |*ppkey| was originally a legacy key */ in EVP_PKEY_generate()
195 evp_pkey_free_legacy(*ppkey); in EVP_PKEY_generate()
201 (*ppkey) in EVP_PKEY_generate()
128 EVP_PKEY_generate(EVP_PKEY_CTX * ctx,EVP_PKEY ** ppkey) EVP_PKEY_generate() argument
259 EVP_PKEY_paramgen(EVP_PKEY_CTX * ctx,EVP_PKEY ** ppkey) EVP_PKEY_paramgen() argument
268 EVP_PKEY_keygen(EVP_PKEY_CTX * ctx,EVP_PKEY ** ppkey) EVP_PKEY_keygen() argument
363 EVP_PKEY_fromdata(EVP_PKEY_CTX * ctx,EVP_PKEY ** ppkey,int selection,OSSL_PARAM params[]) EVP_PKEY_fromdata() argument
[all...]
/freebsd/crypto/openssl/crypto/asn1/
H A Dd2i_pr.c35 EVP_PKEY **ppkey = &pkey; in d2i_PrivateKey_decoder() local
77 ppkey = a; in d2i_PrivateKey_decoder()
78 dctx = OSSL_DECODER_CTX_new_for_pkey(ppkey, "DER", structure, key_name, in d2i_PrivateKey_decoder()
88 && *ppkey != NULL in d2i_PrivateKey_decoder()
89 && evp_keymgmt_util_has(*ppkey, OSSL_KEYMGMT_SELECT_PRIVATE_KEY)) { in d2i_PrivateKey_decoder()
91 *a = *ppkey; in d2i_PrivateKey_decoder()
92 return *ppkey; in d2i_PrivateKey_decoder()
96 if (ppkey != a) in d2i_PrivateKey_decoder()
97 EVP_PKEY_free(*ppkey); in d2i_PrivateKey_decoder()
/freebsd/contrib/libfido2/fuzz/
H A Dwrap.c316 (EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey),
318 (ctx, ppkey),
332 (EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey),
334 (ctx, ppkey),
/freebsd/crypto/openssl/crypto/engine/
H A Deng_pkey.c116 EVP_PKEY **ppkey, STACK_OF(X509) **pother, in ENGINE_load_private_key()
136 return e->load_ssl_client_cert(e, s, ca_dn, pcert, ppkey, pother, in ENGINE_load_public_key()
158 ENGINE_load_ssl_client_cert(ENGINE * e,SSL * s,STACK_OF (X509_NAME)* ca_dn,X509 ** pcert,EVP_PKEY ** ppkey,STACK_OF (X509)** pother,UI_METHOD * ui_method,void * callback_data) ENGINE_load_ssl_client_cert() argument
/freebsd/crypto/openssl/ssl/
H A Dtls_depr.c69 EVP_PKEY **ppkey) in tls_engine_load_ssl_client_cert() argument
76 px509, ppkey, NULL, NULL, NULL); in tls_engine_load_ssl_client_cert()
H A Dssl_local.h3027 EVP_PKEY **ppkey);
/freebsd/crypto/openssl/doc/man3/
H A DEVP_PKEY_keygen.pod23 int EVP_PKEY_generate(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey);
24 int EVP_PKEY_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey);
25 int EVP_PKEY_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey);
65 parameters or key are written to I<*ppkey>. If I<*ppkey> is NULL when this
H A DEVP_PKEY_fromdata.pod13 int EVP_PKEY_fromdata(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey, int selection,
35 with EVP_PKEY_fromdata_init(). The result is written to I<*ppkey>.
/freebsd/crypto/openssl/providers/implementations/keymgmt/
H A Dmlx_kmgmt.c338 EVP_PKEY **ppkey; in load_slot()
349 ppkey = &key->mkey; in load_slot()
355 ppkey = &key->xkey; in load_slot()
368 if (EVP_PKEY_fromdata(ctx, ppkey, selection, parr) > 0) in load_slot()
339 EVP_PKEY **ppkey; load_slot() local
/freebsd/contrib/wpa/src/common/
H A Ddpp_crypto.c2230 struct crypto_ec_key *csign = NULL, *ppkey = NULL; in dpp_gen_reconfig_id() local
2244 ppkey = crypto_ec_key_parse_pub(pp_key, pp_key_len); in dpp_gen_reconfig_id()
2245 if (!ppkey) in dpp_gen_reconfig_id()
2274 id->pp_key = ppkey; in dpp_gen_reconfig_id()
2275 ppkey = NULL; in dpp_gen_reconfig_id()
2279 crypto_ec_key_deinit(ppkey); in dpp_gen_reconfig_id()
2348 struct crypto_ec_point * dpp_decrypt_e_id(struct crypto_ec_key *ppkey, in dpp_decrypt_e_id() argument
2357 if (!ppkey) in dpp_decrypt_e_id()
2361 ec = crypto_ec_init(crypto_ec_key_group(ppkey)); in dpp_decrypt_e_id()
2365 pp = crypto_ec_key_get_private_key(ppkey); in dpp_decrypt_e_id()
H A Ddpp.c2861 struct crypto_ec_key *ppkey) in dpp_copy_ppkey() argument
2865 pp_key = crypto_ec_key_get_subject_public_key(ppkey); in dpp_copy_ppkey()
2901 struct json_token *token, *csign, *ppkey; in dpp_parse_cred_dpp() local
2931 ppkey = json_get_member(cred, "ppKey"); in dpp_parse_cred_dpp()
2932 if (ppkey && ppkey->type == JSON_OBJECT) { in dpp_parse_cred_dpp()
2933 pp_pub = dpp_parse_jwk(ppkey, &pp_curve); in dpp_parse_cred_dpp()
4794 char *key = NULL, *ppkey = NULL; in dpp_configurator_add() local
4815 ppkey = get_param(cmd, " ppkey="); in dpp_configurator_add()
4825 if (ppkey) { in dpp_configurator_add()
4826 pp_key_len = os_strlen(ppkey) / 2; in dpp_configurator_add()
[all …]
H A Ddpp_i.h142 struct crypto_ec_point * dpp_decrypt_e_id(struct crypto_ec_key *ppkey,
/freebsd/crypto/openssl/apps/lib/
H A Dapps.c869 (ppkey != NULL ? "private key" : ppubkey != NULL ? "public key" \
881 * For non-NULL ppkey, pcert, and pcrl the first suitable value found is loaded.
893 EVP_PKEY **ppkey, EVP_PKEY **ppubkey,
918 SET_EXPECT1(ppkey, OSSL_STORE_INFO_PKEY); in load_key_certs_crls()
924 * If just one of the ppkey, ppubkey, pparams, and pcert function parameters in load_key_certs_crls()
1003 while ((ppkey != NULL || ppubkey != NULL || pparams != NULL in load_key_certs_crls()
1023 if (ppkey != NULL) { in load_key_certs_crls()
1024 ok = (*ppkey = OSSL_STORE_INFO_get1_PKEY(info)) != NULL; in load_key_certs_crls()
1026 ppkey = NULL; in load_key_certs_crls()
896 load_key_certs_crls(const char * uri,int format,int maybe_stdin,const char * pass,const char * desc,int quiet,EVP_PKEY ** ppkey,EVP_PKEY ** ppubkey,EVP_PKEY ** pparams,X509 ** pcert,STACK_OF (X509)** pcerts,X509_CRL ** pcrl,STACK_OF (X509_CRL)** pcrls) load_key_certs_crls() argument
/freebsd/crypto/openssl/apps/include/
H A Dapps.h156 EVP_PKEY **ppkey, EVP_PKEY **ppubkey,
/freebsd/crypto/openssl/crypto/x509/
H A Dx_pubkey.c406 static int x509_pubkey_decode(EVP_PKEY **ppkey, const X509_PUBKEY *key) in x509_pubkey_decode()
449 *ppkey = pkey; in x509_pubkey_decode()
404 x509_pubkey_decode(EVP_PKEY ** ppkey,const X509_PUBKEY * key) x509_pubkey_decode() argument
/freebsd/crypto/openssl/include/openssl/
H A Dengine.h647 X509 **pcert, EVP_PKEY **ppkey,
H A Devp.h2046 int EVP_PKEY_fromdata(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey, int selection,
2085 int EVP_PKEY_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey);
2087 int EVP_PKEY_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey);
2088 int EVP_PKEY_generate(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey);
/freebsd/crypto/openssl/ssl/statem/
H A Dstatem_local.h167 EVP_PKEY **ppkey);
H A Dstatem_clnt.c4093 int ssl_do_client_cert_cb(SSL_CONNECTION *s, X509 **px509, EVP_PKEY **ppkey) in ssl_do_client_cert_cb()
4100 i = tls_engine_load_ssl_client_cert(s, px509, ppkey);
4106 i = sctx->client_cert_cb(SSL_CONNECTION_GET_USER_SSL(s), px509, ppkey); in ssl_cipher_list_to_bytes()
4084 ssl_do_client_cert_cb(SSL_CONNECTION * s,X509 ** px509,EVP_PKEY ** ppkey) ssl_do_client_cert_cb() argument