Home
last modified time | relevance | path

Searched refs:clientkey (Results 1 – 4 of 4) sorted by relevance

/hal_espressif-3.6.0/components/mbedtls/test/
Dtest_rsa.c447 mbedtls_pk_context clientkey; in rsa_key_operations() local
464 mbedtls_pk_init(&clientkey); in rsa_key_operations()
468 …res = mbedtls_pk_parse_key(&clientkey, (const uint8_t *)privkey_4096_buf, sizeof(privkey_4096_buf)… in rsa_key_operations()
471 …res = mbedtls_pk_parse_key(&clientkey, (const uint8_t *)privkey_3072_buf, sizeof(privkey_3072_buf)… in rsa_key_operations()
474 …res = mbedtls_pk_parse_key(&clientkey, (const uint8_t *)privkey_2048_buf, sizeof(privkey_2048_buf)… in rsa_key_operations()
482 memcpy(&rsa, mbedtls_pk_rsa(clientkey), sizeof(mbedtls_rsa_context)); in rsa_key_operations()
/hal_espressif-3.6.0/components/wpa_supplicant/src/crypto/
Dtls_mbedtls.c59 mbedtls_pk_context clientkey; /*!< Private key of client certificate */ member
78 mbedtls_pk_free(&tls->clientkey); in tls_mbedtls_cleanup()
143 mbedtls_pk_init(&tls->clientkey); in set_pki_context()
152 ret = mbedtls_pk_parse_key(&tls->clientkey, cfg->private_key_blob, cfg->private_key_blob_len, in set_pki_context()
160 ret = mbedtls_ssl_conf_own_cert(&tls->conf, &tls->clientcert, &tls->clientkey); in set_pki_context()
440 mbedtls_pk_type_t pk_alg = mbedtls_pk_get_type(&tls->clientkey); in tls_set_ciphersuite()
457 } else if (mbedtls_pk_get_bitlen(&tls->clientkey) > 2048 || in tls_set_ciphersuite()
/hal_espressif-3.6.0/components/esp-tls/
Desp_tls_mbedtls.c301 mbedtls_pk_free(&tls->clientkey); in esp_mbedtls_cleanup()
674 .pk_key = &tls->clientkey, in set_client_config()
696 .pk_key = &tls->clientkey, in set_client_config()
884 ret = atca_mbedtls_pk_init(&tls->clientkey, 0); in esp_set_atecc608a_pki_context()
892 ret = mbedtls_ssl_conf_own_cert(&tls->conf, &tls->clientcert, &tls->clientkey); in esp_set_atecc608a_pki_context()
Desp_tls.h315 …mbedtls_pk_context clientkey; /*!< Container for the… member