mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-03 03:31:41 +03:00
feat(esp_security): suppoer s31 security clock management
This commit is contained in:
@@ -8,11 +8,10 @@ endif()
|
||||
set(srcs "")
|
||||
set(requires esp_hal_security)
|
||||
set(priv_requires esp_hw_support hal efuse)
|
||||
set(priv_includes "")
|
||||
set(priv_includes "src/${IDF_TARGET}")
|
||||
|
||||
if(NOT non_os_build)
|
||||
list(APPEND srcs "src/init.c")
|
||||
list(APPEND priv_includes "src/${IDF_TARGET}")
|
||||
|
||||
if(CONFIG_SOC_HMAC_SUPPORTED)
|
||||
list(APPEND srcs "src/esp_hmac.c")
|
||||
@@ -30,11 +29,12 @@ if(NOT non_os_build)
|
||||
list(APPEND srcs "src/esp_dpa_protection.c")
|
||||
endif()
|
||||
|
||||
list(APPEND srcs "src/esp_crypto_lock.c" "src/esp_crypto_periph_clk.c")
|
||||
list(APPEND srcs "src/esp_crypto_lock.c" "src/esp_crypto_periph_clk.c"
|
||||
"src/${target}/esp_crypto_clk.c")
|
||||
list(APPEND priv_requires esp_system esp_timer)
|
||||
elseif(esp_tee_build)
|
||||
list(APPEND srcs "src/esp_crypto_lock.c" "src/esp_crypto_periph_clk.c")
|
||||
list(APPEND includes "src/${IDF_TARGET}")
|
||||
list(APPEND srcs "src/esp_crypto_lock.c" "src/esp_crypto_periph_clk.c"
|
||||
"src/${target}/esp_crypto_clk.c")
|
||||
|
||||
if(CONFIG_SOC_HMAC_SUPPORTED)
|
||||
list(APPEND srcs "src/esp_hmac.c")
|
||||
@@ -44,7 +44,8 @@ elseif(esp_tee_build)
|
||||
list(APPEND srcs "src/esp_ds.c")
|
||||
endif()
|
||||
else() # BOOTLOADER_BUILD
|
||||
list(APPEND srcs "src/esp_crypto_lock.c" "src/esp_crypto_periph_clk.c")
|
||||
list(APPEND srcs "src/esp_crypto_lock.c" "src/esp_crypto_periph_clk.c"
|
||||
"src/${target}/esp_crypto_clk.c")
|
||||
|
||||
if(CONFIG_SOC_KEY_MANAGER_FE_KEY_DEPLOY)
|
||||
list(APPEND srcs "src/esp_key_mgr.c")
|
||||
|
||||
Reference in New Issue
Block a user