esp-tls: add support for using hardware security module

This commit is contained in:
Mahavir Jain
2019-02-12 17:34:15 +05:30
committed by Aditya Patwardhan
parent 4553f6c95d
commit 7a2ea9b7f7
7 changed files with 336 additions and 2 deletions

View File

@@ -183,6 +183,9 @@ typedef struct esp_tls_cfg {
underneath socket will be configured in non
blocking mode after tls session is established */
bool use_hsm; /*!< Enable this option to use Hardware Security Module or ATECC chip
( available on WROOM32SE )*/
int timeout_ms; /*!< Network timeout in milliseconds */
bool use_global_ca_store; /*!< Use a global ca_store for all the connections in which