/hal_espressif-3.5.0/components/openssl/library/ |
D | ssl_pkey.c | 143 EVP_PKEY *PEM_read_bio_PrivateKey(BIO *bp, EVP_PKEY **pk, pem_password_cb *cb, void *u) in PEM_read_bio_PrivateKey() argument 154 if (pk && *pk) { in PEM_read_bio_PrivateKey() 155 x = *pk; in PEM_read_bio_PrivateKey() 228 EVP_PKEY *pk; in SSL_CTX_use_PrivateKey_ASN1() local 230 pk = d2i_PrivateKey(0, NULL, &d, len); in SSL_CTX_use_PrivateKey_ASN1() 231 if (!pk) { in SSL_CTX_use_PrivateKey_ASN1() 236 ret = SSL_CTX_use_PrivateKey(ctx, pk); in SSL_CTX_use_PrivateKey_ASN1() 245 EVP_PKEY_free(pk); in SSL_CTX_use_PrivateKey_ASN1() 257 EVP_PKEY *pk; in SSL_use_PrivateKey_ASN1() local 259 pk = d2i_PrivateKey(0, NULL, &d, len); in SSL_use_PrivateKey_ASN1() [all …]
|
/hal_espressif-3.5.0/components/bootloader_support/src/secure_boot_v2/ |
D | secure_boot_signatures_app.c | 170 mbedtls_rsa_context pk; in esp_secure_boot_verify_rsa_signature_block() local 233 mbedtls_rsa_init(&pk, MBEDTLS_RSA_PKCS_V21, MBEDTLS_MD_SHA256); in esp_secure_boot_verify_rsa_signature_block() 234 ret = mbedtls_rsa_import(&pk, &N, NULL, NULL, NULL, &e); in esp_secure_boot_verify_rsa_signature_block() 240 ret = mbedtls_rsa_complete(&pk); in esp_secure_boot_verify_rsa_signature_block() 246 ret = mbedtls_rsa_check_pubkey(&pk); in esp_secure_boot_verify_rsa_signature_block() 257 ret = mbedtls_rsa_public( &pk, sig_be, buf); in esp_secure_boot_verify_rsa_signature_block() 263 …ret = mbedtls_rsa_rsassa_pss_verify( &pk, mbedtls_ctr_drbg_random, &ctr_drbg, MBEDTLS_RSA_PUBLIC, … in esp_secure_boot_verify_rsa_signature_block() 271 mbedtls_rsa_free(&pk); in esp_secure_boot_verify_rsa_signature_block()
|
/hal_espressif-3.5.0/components/openssl/include/platform/ |
D | ssl_pm.h | 53 int pkey_pm_new(EVP_PKEY *pk, EVP_PKEY *m_pk); 54 void pkey_pm_free(EVP_PKEY *pk); 55 int pkey_pm_load(EVP_PKEY *pk, const unsigned char *buffer, int len);
|
/hal_espressif-3.5.0/components/wpa_supplicant/src/tls/ |
D | tlsv1_common.c | 166 int tls_parse_cert(const u8 *buf, size_t len, struct crypto_public_key **pk) in tls_parse_cert() argument 173 *pk = crypto_public_key_from_cert(buf, len); in tls_parse_cert() 174 if (*pk) in tls_parse_cert() 196 *pk = crypto_public_key_import(cert->public_key, cert->public_key_len); in tls_parse_cert() 199 if (*pk == NULL) { in tls_parse_cert() 408 int tls_verify_signature(u16 tls_version, struct crypto_public_key *pk, in tls_verify_signature() argument 435 if (pk == NULL) { in tls_verify_signature() 447 if (crypto_public_key_decrypt_pkcs1(pk, pos, end - pos, buf, &buflen) < in tls_verify_signature()
|
D | tlsv1_common.h | 252 int tls_parse_cert(const u8 *buf, size_t len, struct crypto_public_key **pk); 270 int tls_verify_signature(u16 tls_version, struct crypto_public_key *pk,
|
D | x509v3.c | 1532 struct crypto_public_key *pk; in x509_certificate_check_signature() local 1549 pk = crypto_public_key_import(issuer->public_key, in x509_certificate_check_signature() 1551 if (pk == NULL) in x509_certificate_check_signature() 1557 crypto_public_key_free(pk); in x509_certificate_check_signature() 1561 if (crypto_public_key_decrypt_pkcs1(pk, cert->sign_value, in x509_certificate_check_signature() 1565 crypto_public_key_free(pk); in x509_certificate_check_signature() 1569 crypto_public_key_free(pk); in x509_certificate_check_signature()
|
/hal_espressif-3.5.0/components/bt/host/bluedroid/stack/avrc/include/ |
D | avrc_int.h | 92 #define AVRC_CTRL_PKT_LEN(pf, pk) {pf = (UINT8 *)((pk) + 1) + (pk)->offset + 2;} argument
|
/hal_espressif-3.5.0/components/openssl/platform/ |
D | ssl_pm.c | 654 int pkey_pm_new(EVP_PKEY *pk, EVP_PKEY *m_pkey) in pkey_pm_new() argument 662 pk->pkey_pm = pkey_pm; in pkey_pm_new() 673 void pkey_pm_free(EVP_PKEY *pk) in pkey_pm_free() argument 675 struct pkey_pm *pkey_pm = (struct pkey_pm *)pk->pkey_pm; in pkey_pm_free() 684 ssl_mem_free(pk->pkey_pm); in pkey_pm_free() 685 pk->pkey_pm = NULL; in pkey_pm_free() 688 int pkey_pm_load(EVP_PKEY *pk, const unsigned char *buffer, int len) in pkey_pm_load() argument 692 struct pkey_pm *pkey_pm = (struct pkey_pm *)pk->pkey_pm; in pkey_pm_load()
|
/hal_espressif-3.5.0/components/mbedtls/esp_crt_bundle/ |
D | esp_crt_bundle.c | 56 if ( (ret = mbedtls_pk_parse_public_key(&parent.pk, pub_key_buf, pub_key_len) ) != 0) { in esp_crt_check_signature() 63 if (!mbedtls_pk_can_do(&parent.pk, child->sig_pk)) { in esp_crt_check_signature() 75 if ( (ret = mbedtls_pk_verify_ext( child->sig_pk, child->sig_opts, &parent.pk, in esp_crt_check_signature()
|
/hal_espressif-3.5.0/components/wpa_supplicant/src/crypto/ |
D | crypto_mbedtls-rsa.c | 162 if(mbedtls_pk_setup(kctx, mbedtls_pk_info_from_type(mbedtls_pk_get_type(&cert->pk))) != 0) { in crypto_public_key_from_cert() 166 ret = mbedtls_rsa_copy(mbedtls_pk_rsa(*kctx), mbedtls_pk_rsa(cert->pk)); in crypto_public_key_from_cert()
|
D | tls_mbedtls.c | 458 (tls->cacert_ptr && mbedtls_pk_get_bitlen(&tls->cacert_ptr->pk) > 2048)) { in tls_set_ciphersuite()
|
/hal_espressif-3.5.0/components/mbedtls/test/ |
D | test_rsa.c | 358 rsa = mbedtls_pk_rsa(crt.pk); in test_cert()
|
/hal_espressif-3.5.0/components/wpa_supplicant/src/common/ |
D | dpp.c | 599 const char *chan_list = NULL, *mac = NULL, *info = NULL, *pk = NULL; in dpp_parse_uri() local 628 else if (pos[0] == 'K' && pos[1] == ':' && !pk) in dpp_parse_uri() 629 pk = pos + 2; in dpp_parse_uri() 637 if (!pk) { in dpp_parse_uri() 650 dpp_parse_uri_pk(bi, pk) < 0) { in dpp_parse_uri() 1477 char *pk = NULL; in dpp_autogen_bootstrap_key() local 1487 pk = dpp_keygen(bi, auth->peer_bi->curve->name, NULL, 0); in dpp_autogen_bootstrap_key() 1488 if (!pk) in dpp_autogen_bootstrap_key() 1492 len += 4 + os_strlen(pk); in dpp_autogen_bootstrap_key() 1496 os_snprintf(bi->uri, len + 1, "DPP:K:%s;;", pk); in dpp_autogen_bootstrap_key() [all …]
|
/hal_espressif-3.5.0/components/wpa_supplicant/src/wps/ |
D | wps_enrollee.c | 520 static int wps_process_pubkey(struct wps_data *wps, const u8 *pk, in wps_process_pubkey() argument 523 if (pk == NULL || pk_len == 0) { in wps_process_pubkey() 529 wps->dh_pubkey_r = wpabuf_alloc_copy(pk, pk_len); in wps_process_pubkey()
|
D | wps_registrar.c | 2259 static int wps_process_pubkey(struct wps_data *wps, const u8 *pk, in wps_process_pubkey() argument 2262 if (pk == NULL || pk_len == 0) { in wps_process_pubkey() 2268 wps->dh_pubkey_e = wpabuf_alloc_copy(pk, pk_len); in wps_process_pubkey()
|
/hal_espressif-3.5.0/docs/en/api-reference/protocols/ |
D | openssl_apis.rst | 1679 4.9 int ``SSL_CTX_use_PrivateKey_ASN1`` (int pk, SSL_CTX * ctx, const unsigned char * d, long len) 1701 int pk; 1708 ret = SSL_CTX_use_PrivateKey_ASN1(pk, ctx, buf, len);
|
/hal_espressif-3.5.0/components/openssl/include/openssl/ |
D | ssl.h | 1023 int SSL_CTX_use_PrivateKey_ASN1(int pk, SSL_CTX *ctx, const unsigned char *d, long len);//adds the…
|
/hal_espressif-3.5.0/components/esptool_py/esptool/espsecure/ |
D | __init__.py | 544 for sig, pk in zip(signature, pub_key): 546 public_key = _get_sbv2_pub_key(pk)
|
/hal_espressif-3.5.0/tools/test_idf_size/ |
D | overflow.map | 775 esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) 778 … esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) (mbedtls_rsa_alt_info) 18072 … 0x0000000000000000 0x4 esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) 18074 … 0x0000000000000000 0x10 esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) 18076 … 0x0000000000000000 0x8 esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) 18078 … 0x0000000000000000 0xc esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) 18080 … 0x0000000000000000 0x14 esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) 18082 … 0x0000000000000000 0x4 esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) 18084 … 0x0000000000000000 0x14 esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) 18086 … 0x0000000000000000 0x4 esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) [all …]
|
D | overflow_esp32s2.map | 789 esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) 792 … esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) (mbedtls_rsa_alt_info) 19091 … 0x0000000000000000 0x4 esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) 19093 … 0x0000000000000000 0x10 esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) 19095 … 0x0000000000000000 0x8 esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) 19097 … 0x0000000000000000 0xc esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) 19099 … 0x0000000000000000 0x14 esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) 19101 … 0x0000000000000000 0x4 esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) 19103 … 0x0000000000000000 0x14 esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) 19105 … 0x0000000000000000 0x4 esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) [all …]
|
D | overflow_esp32s3.map | 1000 esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) 1003 … esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) (mbedtls_rsa_alt_info) 22326 … 0x0000000000000000 0x4 esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) 22328 … 0x0000000000000000 0x10 esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) 22330 … 0x0000000000000000 0x8 esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) 22332 … 0x0000000000000000 0xc esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) 22334 … 0x0000000000000000 0x14 esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) 22336 … 0x0000000000000000 0x4 esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) 22338 … 0x0000000000000000 0x14 esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) 22340 … 0x0000000000000000 0x4 esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) [all …]
|
D | overflow_esp32c3.map | 1052 esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) 1055 … esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) (mbedtls_rsa_alt_info) 13380 ….text 0x0000000000000000 0x0 esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.… 13381 ….data 0x0000000000000000 0x0 esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.… 13382 ….bss 0x0000000000000000 0x0 esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.… 13384 … 0x0000000000000000 0xa esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) 13386 … 0x0000000000000000 0x2a esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) 13388 … 0x0000000000000000 0x4c esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) 13390 … 0x0000000000000000 0x40 esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) 13392 … 0x0000000000000000 0x66 esp-idf/mbedtls/mbedtls/library/libmbedcrypto.a(pk.c.obj) [all …]
|