mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 10:47:19 +02:00
fix(mbedtls): link esp-cryptoauthlib to mbedcrypto library
If the certificate bundle feature is disabled then the mbedtls component library becomes interface only component and hence adding esp-cryptoauthlib as its PRIVATE dependency does not work. Instead the esp-cryptoauthlib should be added as PRIVATE dependency for mbedcrypto library (for alternate ECDSA implementation).
This commit is contained in:
@ -355,7 +355,7 @@ if(CONFIG_MBEDTLS_HARDWARE_ECDSA_SIGN_CONSTANT_TIME_CM)
|
|||||||
mbedcrypto_optional_deps(esp_timer idf::esp_timer)
|
mbedcrypto_optional_deps(esp_timer idf::esp_timer)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Link esp-cryptoauthlib to mbedtls
|
# Link esp-cryptoauthlib to mbedcrypto
|
||||||
if(CONFIG_ATCA_MBEDTLS_ECDSA)
|
if(CONFIG_ATCA_MBEDTLS_ECDSA)
|
||||||
idf_component_optional_requires(PRIVATE espressif__esp-cryptoauthlib esp-cryptoauthlib)
|
mbedcrypto_optional_deps(espressif__esp-cryptoauthlib esp-cryptoauthlib)
|
||||||
endif()
|
endif()
|
||||||
|
Reference in New Issue
Block a user