esp32/esp-tls: Make crypto abstraction layer inside esp-tls

Which allows several components to use cryptographic functions from
esp-tls which is the current abstraction layer.
This commit is contained in:
Aditya Patwardhan
2020-10-23 05:16:06 +00:00
committed by bot
parent 2639dd940c
commit 8d65cee0a9
4 changed files with 158 additions and 5 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
set(srcs esp_tls.c)
set(srcs esp_tls.c esp-tls-crypto/esp_tls_crypto.c)
if(CONFIG_ESP_TLS_USING_MBEDTLS)
list(APPEND srcs
"esp_tls_mbedtls.c")
@@ -10,7 +10,7 @@ if(CONFIG_ESP_TLS_USING_WOLFSSL)
endif()
idf_component_register(SRCS "${srcs}"
INCLUDE_DIRS "."
INCLUDE_DIRS . esp-tls-crypto
PRIV_INCLUDE_DIRS "private_include"
REQUIRES mbedtls
PRIV_REQUIRES lwip nghttp)