Home
last modified time | relevance | path

Searched refs:pubkey (Results 201 - 225 of 356) sorted by relevance

12345678910>>...15

/third_party/node/deps/openssl/openssl/apps/
H A Dreq.c145 {"pubkey", OPT_PUBKEY, '-', "Output public key"},
264 int noenc = 0, newhdr = 0, subject = 0, pubkey = 0, precert = 0; in req_main() local
308 pubkey = 1; in req_main()
944 if (noout && !text && !modulus && !subject && !pubkey) { in req_main()
956 if (pubkey) { in req_main()
/third_party/openssl/apps/
H A Dreq.c145 {"pubkey", OPT_PUBKEY, '-', "Output public key"},
264 int noenc = 0, newhdr = 0, subject = 0, pubkey = 0, precert = 0; in req_main() local
308 pubkey = 1; in req_main()
942 if (noout && !text && !modulus && !subject && !pubkey) { in req_main()
954 if (pubkey) { in req_main()
/third_party/node/deps/openssl/openssl/engines/
H A De_capi.c643 unsigned char *pubkey = NULL; in capi_get_pkey() local
655 pubkey = OPENSSL_malloc(len); in capi_get_pkey()
657 if (pubkey == NULL) in capi_get_pkey()
660 if (!CryptExportKey(key->key, 0, PUBLICKEYBLOB, 0, pubkey, &len)) { in capi_get_pkey()
666 bh = (BLOBHEADER *) pubkey; in capi_get_pkey()
780 OPENSSL_free(pubkey); in capi_get_pkey()
/third_party/openssl/engines/
H A De_capi.c643 unsigned char *pubkey = NULL; in capi_get_pkey() local
655 pubkey = OPENSSL_malloc(len); in capi_get_pkey()
657 if (pubkey == NULL) in capi_get_pkey()
660 if (!CryptExportKey(key->key, 0, PUBLICKEYBLOB, 0, pubkey, &len)) { in capi_get_pkey()
666 bh = (BLOBHEADER *) pubkey; in capi_get_pkey()
780 OPENSSL_free(pubkey); in capi_get_pkey()
/third_party/nghttp2/src/
H A Dshrpx_tls.cc279 auto pubkey = X509_get0_pubkey(cert); in servername_callback() local
281 auto pubkey = X509_get_pubkey(cert); in servername_callback() local
284 if (EVP_PKEY_base_id(pubkey) != EVP_PKEY_EC) { in servername_callback()
290 if (!EVP_PKEY_get_utf8_string_param(pubkey, "group", curve_name.data(), in servername_callback()
301 auto eckey = EVP_PKEY_get0_EC_KEY(pubkey); in servername_callback()
303 auto eckey = EVP_PKEY_get1_EC_KEY(pubkey); in servername_callback()
315 EVP_PKEY_free(pubkey); in servername_callback()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
H A Ddpp.c793 EVP_PKEY_free(info->pubkey); in dpp_bootstrap_info_free()
1036 wpa_printf(MSG_DEBUG, "DPP: Could not set pubkey"); in dpp_parse_uri_pk()
1084 bi->pubkey = pkey; in dpp_parse_uri_pk()
1435 der = dpp_bootstrap_key_der(bi->pubkey); in dpp_bootstrap_key_hash()
1475 bi->pubkey = dpp_set_keypair(&bi->curve, privkey, privkey_len); in dpp_keygen()
1477 bi->pubkey = dpp_gen_keypair(bi->curve); in dpp_keygen()
1478 if (!bi->pubkey) in dpp_keygen()
1482 der = dpp_bootstrap_key_der(bi->pubkey); in dpp_keygen()
2298 if (dpp_ecdh(auth->own_protocol_key, auth->peer_bi->pubkey, in dpp_auth_init()
2549 bix = dpp_get_pubkey_point(auth->own_bi->pubkey, in dpp_gen_r_auth()
[all...]
H A Ddpp.h117 EVP_PKEY *pubkey; member
/third_party/curl/lib/vtls/
H A Dvtls.c980 const unsigned char *pubkey, size_t pubkeylen) in Curl_pin_peer_pubkey()
992 if(!pubkey || !pubkeylen) in Curl_pin_peer_pubkey()
1011 encode = Curl_ssl->sha256sum(pubkey, pubkeylen, in Curl_pin_peer_pubkey()
1103 if(!memcmp(pubkey, buf, pubkeylen)) in Curl_pin_peer_pubkey()
1122 if(pubkeylen == pem_len && !memcmp(pubkey, pem_ptr, pubkeylen)) in Curl_pin_peer_pubkey()
978 Curl_pin_peer_pubkey(struct Curl_easy *data, const char *pinnedpubkey, const unsigned char *pubkey, size_t pubkeylen) Curl_pin_peer_pubkey() argument
H A Dsectransp.c2404 unsigned char *pubkey = NULL, *realpubkey = NULL; local
2454 pubkey = (unsigned char *)CFDataGetBytePtr(publicKeyBits);
2484 result = Curl_pin_peer_pubkey(data, pinnedpubkey, pubkey,
2496 memcpy(realpubkey + spkiHeaderLength, pubkey, pubkeylen);
/third_party/mbedtls/include/psa/
H A Dcrypto_se_driver.h1068 * to the \p pubkey buffer.
1075 * \p pubkey is \c NULL and \p pubkey_size is 0.
1088 * \param[out] pubkey A buffer where the driver can write the
1094 * \param pubkey_size The size of the `pubkey` buffer in bytes.
1100 * \p pubkey. If this is 0 or unchanged on return,
1101 * the core will not read the \p pubkey buffer,
1110 uint8_t *pubkey, size_t pubkey_size, size_t *pubkey_length);
/third_party/node/deps/openssl/openssl/include/openssl/
H A Dstore.h167 OSSL_STORE_INFO *OSSL_STORE_INFO_new_PUBKEY(EVP_PKEY *pubkey);
/third_party/openssl/include/openssl/
H A Dstore.h167 OSSL_STORE_INFO *OSSL_STORE_INFO_new_PUBKEY(EVP_PKEY *pubkey);
/third_party/openssl/test/
H A Devp_extra_test.c1842 const char *pubkey = in test_EVP_SM2_verify() local
1868 bio = BIO_new_mem_buf(pubkey, strlen(pubkey)); in test_EVP_SM2_verify()
2918 BIGNUM *pubkey = NULL; in test_EVP_PKEY_set1_DH() local
2924 || !TEST_ptr(pubkey = BN_new()) in test_EVP_PKEY_set1_DH()
2927 || !TEST_true(BN_set_word(pubkey, 4321)) in test_EVP_PKEY_set1_DH()
2930 || !TEST_true(DH_set0_key(noqdh, pubkey, NULL)) in test_EVP_PKEY_set1_DH()
2931 || !TEST_ptr(pubkey = BN_new()) in test_EVP_PKEY_set1_DH()
2932 || !TEST_true(BN_set_word(pubkey, 4321))) in test_EVP_PKEY_set1_DH()
2943 || !TEST_true(DH_set0_key(x942dh, pubkey, NUL in test_EVP_PKEY_set1_DH()
4686 unsigned char *pubkey; test_ecx_not_private_key() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dieee802_11.c2972 struct wpabuf *buf, *pubkey = NULL, *wrapped_data_buf = NULL; in handle_auth_pasn_resp() local
3020 pubkey = crypto_ecdh_get_pubkey(sta->pasn->ecdh, 0); in handle_auth_pasn_resp()
3021 pubkey = wpabuf_zeropad(pubkey, in handle_auth_pasn_resp()
3023 if (!pubkey) { in handle_auth_pasn_resp()
3024 wpa_printf(MSG_DEBUG, "PASN: Failed to get pubkey"); in handle_auth_pasn_resp()
3030 pubkey, true, NULL, 0); in handle_auth_pasn_resp()
3037 wpabuf_free(pubkey); in handle_auth_pasn_resp()
3038 pubkey = NULL; in handle_auth_pasn_resp()
3111 wpabuf_free(pubkey); in handle_auth_pasn_resp()
[all...]
/third_party/node/deps/openssl/openssl/crypto/rsa/
H A Drsa_ameth.c76 static int rsa_pub_decode(EVP_PKEY *pkey, const X509_PUBKEY *pubkey) in rsa_pub_decode() argument
83 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &alg, pubkey)) in rsa_pub_decode()
/third_party/openssl/crypto/rsa/
H A Drsa_ameth.c73 static int rsa_pub_decode(EVP_PKEY *pkey, const X509_PUBKEY *pubkey) in rsa_pub_decode() argument
80 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &alg, pubkey)) in rsa_pub_decode()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
H A Dwpa_common.h599 const u8 *pubkey; member
734 const struct wpabuf *pubkey, bool compressed,
H A Dwpa_common.c3732 * @pubkey: A buffer holding the local public key. Can be NULL
3733 * @compressed: In case pubkey is included, indicates if the public key is
3742 const struct wpabuf *pubkey, bool compressed, in wpa_pasn_add_parameter_ie()
3775 if (pubkey) { in wpa_pasn_add_parameter_ie()
3785 params->len += 2 + 1 + 1 + wpabuf_len(pubkey); in wpa_pasn_add_parameter_ie()
3794 wpabuf_put_u8(buf, wpabuf_len(pubkey) + 1); in wpa_pasn_add_parameter_ie()
3798 wpabuf_put_buf(buf, pubkey); in wpa_pasn_add_parameter_ie()
4009 pasn_params->pubkey = pos; in wpa_pasn_parse_parameter_ie()
3740 wpa_pasn_add_parameter_ie(struct wpabuf *buf, u16 pasn_group, u8 wrapped_data_format, const struct wpabuf *pubkey, bool compressed, const struct wpabuf *comeback, int after) wpa_pasn_add_parameter_ie() argument
/third_party/node/deps/openssl/openssl/ssl/
H A Ds3_lib.c4792 int ssl_derive(SSL *s, EVP_PKEY *privkey, EVP_PKEY *pubkey, int gensecret) in ssl_derive() argument
4799 if (privkey == NULL || pubkey == NULL) { in ssl_derive()
4807 || EVP_PKEY_derive_set_peer(pctx, pubkey) <= 0 in ssl_derive()
4895 int ssl_encapsulate(SSL *s, EVP_PKEY *pubkey, in ssl_encapsulate() argument
4904 if (pubkey == NULL) { in ssl_encapsulate()
4909 pctx = EVP_PKEY_CTX_new_from_pkey(s->ctx->libctx, pubkey, s->ctx->propq); in ssl_encapsulate()
/third_party/openssl/ssl/
H A Ds3_lib.c4792 int ssl_derive(SSL *s, EVP_PKEY *privkey, EVP_PKEY *pubkey, int gensecret) in ssl_derive() argument
4799 if (privkey == NULL || pubkey == NULL) { in ssl_derive()
4807 || EVP_PKEY_derive_set_peer(pctx, pubkey) <= 0 in ssl_derive()
4895 int ssl_encapsulate(SSL *s, EVP_PKEY *pubkey, in ssl_encapsulate() argument
4904 if (pubkey == NULL) { in ssl_encapsulate()
4909 pctx = EVP_PKEY_CTX_new_from_pkey(s->ctx->libctx, pubkey, s->ctx->propq); in ssl_encapsulate()
/third_party/libwebsockets/plugins/ssh-base/include/
H A Dlws-ssh.h391 uint8_t *pubkey; member
/third_party/openssl/ohos_lite/include/crypto/
H A Devp.h385 unsigned char pubkey[MAX_KEYLEN]; member
/third_party/openssl/ohos_lite/include/openssl/
H A Dcms.h307 ASN1_BIT_STRING **pubkey,
H A Dx509.h261 X509_PUBKEY *pubkey; member
675 int X509_certificate_type(const X509 *x, const EVP_PKEY *pubkey);
/third_party/node/src/crypto/
H A Dcrypto_common.cc430 const EC_POINT* pubkey = EC_KEY_get0_public_key(ec.get()); in GetECPubKey() local
431 if (pubkey == nullptr) in GetECPubKey()
437 pubkey, in GetECPubKey()

Completed in 66 milliseconds

12345678910>>...15