change(esp_security): Move the crypto locking layer into the security component

This commit is contained in:
harshal.patil
2024-07-10 11:29:21 +05:30
committed by Mahavir Jain
parent c125d21c71
commit 488b2a741d
32 changed files with 53 additions and 543 deletions

View File

@@ -8,7 +8,7 @@ if(${target} STREQUAL "linux")
return()
endif()
set(requires soc)
set(requires soc esp_security) # TODO: remove esp_security from REQUIRES in ESP-IDF v6.0
# only esp_hw_support/adc_share_hw_ctrl.c requires efuse component
set(priv_requires efuse spi_flash bootloader_support)
@@ -111,22 +111,10 @@ if(NOT BOOTLOADER_BUILD)
list(APPEND srcs "port/${target}/systimer.c")
endif()
if(CONFIG_SOC_HMAC_SUPPORTED)
list(APPEND srcs "esp_hmac.c")
endif()
if(CONFIG_SOC_ETM_SUPPORTED)
list(APPEND srcs "esp_etm.c")
endif()
if(CONFIG_SOC_DIG_SIGN_SUPPORTED)
list(APPEND srcs "esp_ds.c")
endif()
if(CONFIG_SOC_KEY_MANAGER_SUPPORTED)
list(APPEND srcs "esp_key_mgr.c")
endif()
if(CONFIG_SOC_PAU_SUPPORTED)
list(APPEND srcs "port/pau_regdma.c"
"port/regdma_link.c")