fix(esp_rom): Patch ets_ecdsa_verify() to include signature bounds check

This commit is contained in:
harshal.patil
2026-06-09 15:07:53 +05:30
parent 3195c942da
commit c1f70a4cb5
16 changed files with 161 additions and 4 deletions
+4
View File
@@ -84,6 +84,10 @@ if(CONFIG_ESP_ROM_CACHE_WRITEBACK_NEEDS_SYNC_TWICE_NO_MAP)
list(APPEND sources "patches/esp_rom_cache_writeback_esp32c5_esp32c61_esp32h4.c")
endif()
if(CONFIG_ESP_ROM_ECDSA_VERIFY_PATCH)
list(APPEND sources "patches/esp_rom_ecdsa.c")
endif()
idf_component_register(SRCS ${sources}
INCLUDE_DIRS ${include_dirs}
PRIV_REQUIRES ${private_required_comp}