feat: ECDSA peripheral while performing http connection with mutual auth

This commit is contained in:
Harshit Malpani
2023-07-27 15:40:03 +05:30
parent 1b3713f7cd
commit 37836b3c62
12 changed files with 274 additions and 8 deletions

View File

@@ -55,6 +55,10 @@ struct esp_tls {
mbedtls_pk_context clientkey; /*!< Container for the private key of the client
certificate */
#ifdef CONFIG_MBEDTLS_HARDWARE_ECDSA_SIGN
bool use_ecdsa_peripheral; /*!< Use the ECDSA peripheral for the private key operations. */
uint8_t ecdsa_efuse_blk; /*!< The efuse block number where the ECDSA key is stored. */
#endif
#ifdef CONFIG_ESP_TLS_SERVER
mbedtls_x509_crt servercert; /*!< Container for the X.509 server certificate */