Home
last modified time | relevance | path

Searched refs:ppkey (Results 1 - 25 of 32) sorted by relevance

12

/third_party/node/deps/openssl/openssl/crypto/evp/
H A Dpmeth_gn.c128 int EVP_PKEY_generate(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey) in EVP_PKEY_generate() argument
135 if (ppkey == NULL) in EVP_PKEY_generate()
144 if (*ppkey == NULL) in EVP_PKEY_generate()
145 *ppkey = allocated_pkey = EVP_PKEY_new(); in EVP_PKEY_generate()
147 if (*ppkey == NULL) { in EVP_PKEY_generate()
185 * the returned value from evp_keymgmt_util_gen() is cached in *ppkey, in EVP_PKEY_generate()
189 && (evp_keymgmt_util_gen(*ppkey, ctx->keymgmt, ctx->op.keymgmt.genctx, in EVP_PKEY_generate()
196 /* In case |*ppkey| was originally a legacy key */ in EVP_PKEY_generate()
198 evp_pkey_free_legacy(*ppkey); in EVP_PKEY_generate()
204 (*ppkey) in EVP_PKEY_generate()
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...]
/third_party/openssl/crypto/evp/
H A Dpmeth_gn.c128 int EVP_PKEY_generate(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey) in EVP_PKEY_generate() argument
135 if (ppkey == NULL) in EVP_PKEY_generate()
144 if (*ppkey == NULL) in EVP_PKEY_generate()
145 *ppkey = allocated_pkey = EVP_PKEY_new(); in EVP_PKEY_generate()
147 if (*ppkey == NULL) { in EVP_PKEY_generate()
185 * the returned value from evp_keymgmt_util_gen() is cached in *ppkey, in EVP_PKEY_generate()
189 && (evp_keymgmt_util_gen(*ppkey, ctx->keymgmt, ctx->op.keymgmt.genctx, in EVP_PKEY_generate()
196 /* In case |*ppkey| was originally a legacy key */ in EVP_PKEY_generate()
198 evp_pkey_free_legacy(*ppkey); in EVP_PKEY_generate()
204 (*ppkey) in EVP_PKEY_generate()
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...]
/third_party/node/deps/openssl/openssl/crypto/asn1/
H A Dd2i_pr.c33 EVP_PKEY **ppkey = &pkey; in d2i_PrivateKey_decoder() local
48 ppkey = a; in d2i_PrivateKey_decoder()
49 dctx = OSSL_DECODER_CTX_new_for_pkey(ppkey, "DER", in d2i_PrivateKey_decoder()
60 if (*ppkey != NULL in d2i_PrivateKey_decoder()
61 && evp_keymgmt_util_has(*ppkey, OSSL_KEYMGMT_SELECT_PRIVATE_KEY)) { in d2i_PrivateKey_decoder()
63 *a = *ppkey; in d2i_PrivateKey_decoder()
64 return *ppkey; in d2i_PrivateKey_decoder()
72 if (ppkey != a) in d2i_PrivateKey_decoder()
73 EVP_PKEY_free(*ppkey); in d2i_PrivateKey_decoder()
/third_party/openssl/crypto/asn1/
H A Dd2i_pr.c33 EVP_PKEY **ppkey = &pkey; in d2i_PrivateKey_decoder() local
48 ppkey = a; in d2i_PrivateKey_decoder()
49 dctx = OSSL_DECODER_CTX_new_for_pkey(ppkey, "DER", in d2i_PrivateKey_decoder()
60 if (*ppkey != NULL in d2i_PrivateKey_decoder()
61 && evp_keymgmt_util_has(*ppkey, OSSL_KEYMGMT_SELECT_PRIVATE_KEY)) { in d2i_PrivateKey_decoder()
63 *a = *ppkey; in d2i_PrivateKey_decoder()
64 return *ppkey; in d2i_PrivateKey_decoder()
72 if (ppkey != a) in d2i_PrivateKey_decoder()
73 EVP_PKEY_free(*ppkey); in d2i_PrivateKey_decoder()
/third_party/node/test/addons/openssl-client-cert-engine/
H A Dtestengine.cc53 EVP_PKEY** ppkey, in EngineLoadSSLClientCert()
72 if (ppkey != nullptr) { in EngineLoadSSLClientCert()
79 *ppkey = PEM_read_bio_PrivateKey(bio, nullptr, nullptr, nullptr); in EngineLoadSSLClientCert()
81 if (*ppkey == nullptr) { in EngineLoadSSLClientCert()
49 EngineLoadSSLClientCert(ENGINE* engine, SSL* ssl, STACK_OF(X509_NAME)* ca_dn, X509** ppcert, EVP_PKEY** ppkey, STACK_OF(X509)** pother, UI_METHOD* ui_method, void* callback_data) EngineLoadSSLClientCert() argument
/third_party/node/deps/openssl/openssl/crypto/engine/
H A Deng_pkey.c158 EVP_PKEY **ppkey, STACK_OF(X509) **pother, in ENGINE_load_ssl_client_cert()
178 return e->load_ssl_client_cert(e, s, ca_dn, pcert, ppkey, pother, in ENGINE_load_ssl_client_cert()
156 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
/third_party/node/deps/openssl/openssl/ssl/
H A Dtls_depr.c67 int tls_engine_load_ssl_client_cert(SSL *s, X509 **px509, EVP_PKEY **ppkey) in tls_engine_load_ssl_client_cert() argument
71 px509, ppkey, NULL, NULL, NULL); in tls_engine_load_ssl_client_cert()
/third_party/openssl/crypto/engine/
H A Deng_pkey.c116 EVP_PKEY **ppkey, STACK_OF(X509) **pother, in ENGINE_load_ssl_client_cert()
136 return e->load_ssl_client_cert(e, s, ca_dn, pcert, ppkey, pother, in ENGINE_load_ssl_client_cert()
114 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
/third_party/openssl/ssl/
H A Dtls_depr.c67 int tls_engine_load_ssl_client_cert(SSL *s, X509 **px509, EVP_PKEY **ppkey) in tls_engine_load_ssl_client_cert() argument
71 px509, ppkey, NULL, NULL, NULL); in tls_engine_load_ssl_client_cert()
/third_party/node/deps/openssl/openssl/apps/
H A Dpkeyutl.c26 const int impl, int rawin, EVP_PKEY **ppkey,
527 EVP_PKEY **ppkey, EVP_MD_CTX *mctx, const char *digestname, in init_ctx()
598 if (ppkey != NULL) in init_ctx()
599 *ppkey = pkey; in init_ctx()
523 init_ctx(const char *kdfalg, int *pkeysize, const char *keyfile, int keyform, int key_type, char *passinarg, int pkey_op, ENGINE *e, const int engine_impl, int rawin, EVP_PKEY **ppkey, EVP_MD_CTX *mctx, const char *digestname, OSSL_LIB_CTX *libctx, const char *propq) init_ctx() argument
/third_party/openssl/apps/
H A Dpkeyutl.c26 const int impl, int rawin, EVP_PKEY **ppkey,
527 EVP_PKEY **ppkey, EVP_MD_CTX *mctx, const char *digestname, in init_ctx()
598 if (ppkey != NULL) in init_ctx()
599 *ppkey = pkey; in init_ctx()
523 init_ctx(const char *kdfalg, int *pkeysize, const char *keyfile, int keyform, int key_type, char *passinarg, int pkey_op, ENGINE *e, const int engine_impl, int rawin, EVP_PKEY **ppkey, EVP_MD_CTX *mctx, const char *digestname, OSSL_LIB_CTX *libctx, const char *propq) init_ctx() argument
/third_party/node/deps/openssl/openssl/apps/lib/
H A Dapps.c85 EVP_PKEY **ppkey, EVP_PKEY **ppubkey,
850 * For non-NULL ppkey, pcert, and pcrl the first suitable value found is loaded.
863 EVP_PKEY **ppkey, EVP_PKEY **ppubkey, in load_key_certs_crls_suppress()
876 ppkey != NULL ? "key" : ppubkey != NULL ? "public key" : in load_key_certs_crls_suppress()
886 if (ppkey != NULL) { in load_key_certs_crls_suppress()
887 *ppkey = NULL; in load_key_certs_crls_suppress()
991 if (ppkey != NULL && *ppkey == NULL) { in load_key_certs_crls_suppress()
992 ok = (*ppkey = OSSL_STORE_INFO_get1_PKEY(info)) != NULL; in load_key_certs_crls_suppress()
1054 if ((ppkey ! in load_key_certs_crls_suppress()
861 load_key_certs_crls_suppress(const char *uri, int format, int maybe_stdin, const char *pass, const char *desc, EVP_PKEY **ppkey, EVP_PKEY **ppubkey, EVP_PKEY **pparams, X509 **pcert, STACK_OF(X509) **pcerts, X509_CRL **pcrl, STACK_OF(X509_CRL) **pcrls, int suppress_decode_errors) load_key_certs_crls_suppress() argument
1094 load_key_certs_crls(const char *uri, int format, int maybe_stdin, const char *pass, const char *desc, 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
[all...]
/third_party/openssl/apps/lib/
H A Dapps.c85 EVP_PKEY **ppkey, EVP_PKEY **ppubkey,
850 * For non-NULL ppkey, pcert, and pcrl the first suitable value found is loaded.
863 EVP_PKEY **ppkey, EVP_PKEY **ppubkey, in load_key_certs_crls_suppress()
876 ppkey != NULL ? "key" : ppubkey != NULL ? "public key" : in load_key_certs_crls_suppress()
886 if (ppkey != NULL) { in load_key_certs_crls_suppress()
887 *ppkey = NULL; in load_key_certs_crls_suppress()
989 if (ppkey != NULL && *ppkey == NULL) { in load_key_certs_crls_suppress()
990 ok = (*ppkey = OSSL_STORE_INFO_get1_PKEY(info)) != NULL; in load_key_certs_crls_suppress()
1052 if ((ppkey ! in load_key_certs_crls_suppress()
861 load_key_certs_crls_suppress(const char *uri, int format, int maybe_stdin, const char *pass, const char *desc, EVP_PKEY **ppkey, EVP_PKEY **ppubkey, EVP_PKEY **pparams, X509 **pcert, STACK_OF(X509) **pcerts, X509_CRL **pcrl, STACK_OF(X509_CRL) **pcrls, int suppress_decode_errors) load_key_certs_crls_suppress() argument
1092 load_key_certs_crls(const char *uri, int format, int maybe_stdin, const char *pass, const char *desc, 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
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
H A Ddpp_crypto.c2202 struct crypto_ec_key *csign = NULL, *ppkey = NULL; in dpp_gen_reconfig_id() local
2216 ppkey = crypto_ec_key_parse_pub(pp_key, pp_key_len); in dpp_gen_reconfig_id()
2217 if (!ppkey) in dpp_gen_reconfig_id()
2246 id->pp_key = ppkey; in dpp_gen_reconfig_id()
2247 ppkey = NULL; in dpp_gen_reconfig_id()
2251 crypto_ec_key_deinit(ppkey); in dpp_gen_reconfig_id()
2319 struct crypto_ec_point * dpp_decrypt_e_id(struct crypto_ec_key *ppkey, in dpp_decrypt_e_id() argument
2328 if (!ppkey) in dpp_decrypt_e_id()
2332 ec = crypto_ec_init(crypto_ec_key_group(ppkey)); in dpp_decrypt_e_id()
2336 pp = crypto_ec_key_get_private_key(ppkey); in dpp_decrypt_e_id()
[all...]
H A Ddpp.c2420 struct crypto_ec_key *ppkey) in dpp_copy_ppkey()
2424 pp_key = crypto_ec_key_get_subject_public_key(ppkey); in dpp_copy_ppkey()
2460 struct json_token *token, *csign, *ppkey; in dpp_parse_cred_dpp() local
2490 ppkey = json_get_member(cred, "ppKey"); in dpp_parse_cred_dpp()
2491 if (ppkey && ppkey->type == JSON_OBJECT) { in dpp_parse_cred_dpp()
2492 pp_pub = dpp_parse_jwk(ppkey, &pp_curve); in dpp_parse_cred_dpp()
4177 char *key = NULL, *ppkey = NULL; in dpp_configurator_add() local
4185 ppkey = get_param(cmd, " ppkey in dpp_configurator_add()
2419 dpp_copy_ppkey(struct dpp_config_obj *conf, struct crypto_ec_key *ppkey) dpp_copy_ppkey() argument
[all...]
H A Ddpp_i.h134 struct crypto_ec_point * dpp_decrypt_e_id(struct crypto_ec_key *ppkey,
/third_party/node/deps/openssl/openssl/apps/include/
H A Dapps.h145 EVP_PKEY **ppkey, EVP_PKEY **ppubkey,
151 EVP_PKEY **ppkey, EVP_PKEY **ppubkey,
/third_party/openssl/apps/include/
H A Dapps.h145 EVP_PKEY **ppkey, EVP_PKEY **ppubkey,
151 EVP_PKEY **ppkey, EVP_PKEY **ppubkey,
/third_party/node/deps/openssl/openssl/crypto/x509/
H A Dx_pubkey.c398 static int x509_pubkey_decode(EVP_PKEY **ppkey, const X509_PUBKEY *key) in x509_pubkey_decode() argument
441 *ppkey = pkey; in x509_pubkey_decode()
/third_party/openssl/crypto/x509/
H A Dx_pubkey.c398 static int x509_pubkey_decode(EVP_PKEY **ppkey, const X509_PUBKEY *key) in x509_pubkey_decode() argument
441 *ppkey = pkey; in x509_pubkey_decode()
/third_party/node/deps/openssl/openssl/include/openssl/
H A Dengine.h645 X509 **pcert, EVP_PKEY **ppkey,
H A Devp.h1938 int EVP_PKEY_fromdata(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey, int selection,
1977 int EVP_PKEY_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey);
1979 int EVP_PKEY_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey);
1980 int EVP_PKEY_generate(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey);
/third_party/openssl/include/openssl/
H A Dengine.h645 X509 **pcert, EVP_PKEY **ppkey,
H A Devp.h1936 int EVP_PKEY_fromdata(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey, int selection,
1975 int EVP_PKEY_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey);
1977 int EVP_PKEY_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey);
1978 int EVP_PKEY_generate(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey);
/third_party/openssl/ohos_lite/include/openssl/
H A Dengine.h580 EVP_PKEY **ppkey, STACK_OF(X509) **pother,

Completed in 34 milliseconds

12