mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user