Searched refs:cacert_ptr (Results 1 – 3 of 3) sorted by relevance
/hal_espressif-3.6.0/components/wpa_supplicant/src/crypto/ |
D | tls_mbedtls.c | 57 mbedtls_x509_crt *cacert_ptr; /*!< Pointer to the cacert being used. */ member 75 tls->cacert_ptr = NULL; in tls_mbedtls_cleanup() 171 tls->cacert_ptr = &tls->cacert; in set_ca_cert() 172 mbedtls_x509_crt_init(tls->cacert_ptr); in set_ca_cert() 173 int ret = mbedtls_x509_crt_parse(tls->cacert_ptr, cacert, cacert_len); in set_ca_cert() 179 mbedtls_ssl_conf_ca_chain(&tls->conf, tls->cacert_ptr, NULL); in set_ca_cert() 458 (tls->cacert_ptr && mbedtls_pk_get_bitlen(&tls->cacert_ptr->pk) > 2048)) { in tls_set_ciphersuite() 497 mbedtls_ssl_conf_ca_chain(&tls->conf, tls->cacert_ptr, NULL); in set_client_config()
|
/hal_espressif-3.6.0/components/esp-tls/ |
D | esp_tls_mbedtls.c | 291 if (tls->cacert_ptr != global_cacert) { in esp_mbedtls_cleanup() 292 mbedtls_x509_crt_free(tls->cacert_ptr); in esp_mbedtls_cleanup() 294 tls->cacert_ptr = NULL; in esp_mbedtls_cleanup() 317 tls->cacert_ptr = &tls->cacert; in set_ca_cert() 318 mbedtls_x509_crt_init(tls->cacert_ptr); in set_ca_cert() 319 int ret = mbedtls_x509_crt_parse(tls->cacert_ptr, cacert, cacert_len); in set_ca_cert() 332 mbedtls_ssl_conf_ca_chain(&tls->conf, tls->cacert_ptr, NULL); in set_ca_cert() 400 tls->cacert_ptr = global_cacert; in set_global_ca_store() 402 mbedtls_ssl_conf_ca_chain(&tls->conf, tls->cacert_ptr, NULL); in set_global_ca_store() 623 mbedtls_ssl_conf_ca_chain(&tls->conf, tls->cacert_ptr, NULL); in set_client_config()
|
D | esp_tls.h | 311 …mbedtls_x509_crt *cacert_ptr; /*!< Pointer to the ca… member
|