esp-idf/tools/test_apps/system
Mahavir Jain f2743707b8 fix(ota): additional checks for secure version in anti-rollback case
Some additional checks related to secure version of the application in
anti-rollback case have been added to avoid any attempts to boot lower
security version but valid application (e.g., passive partition image).

- Read secure_version under sha256 protection

- First check has been added in the bootloader to ensure correct secure
  version after application verification and loading stage. This check
  happens before setting up the flash cache mapping and handling over
  the final control to application. This check ensures that application
  was not swapped (e.g., to lower security version but valid image) just
  before the load stage in bootloader.

- Second check has been added in the application startup code to ensure
  that currently booting app has higher security version than the one
  programmed in the eFuse for anti-rollback scenario. This will ensure
  that only the legit application boots-up on the device for
  anti-rollback case.
2024-02-15 15:14:51 +02:00
..
bootloader_sections fix(ota): additional checks for secure version in anti-rollback case 2024-02-15 15:14:51 +02:00
build_test fix(esp_system): suppress compiler warning if ESP_SYSTEM_PANIC_SILENT_REBOOT is enabled 2023-09-28 02:53:07 +00:00
cxx_build_test cxx/esp_hw_support: added build test, changed parameter types 2023-05-15 10:03:12 +08:00
cxx_no_except tools: Increase the minimal supported CMake version to 3.16 2022-06-01 06:35:02 +00:00
eh_frame docs: changes docs supported targets tables 2022-07-14 08:26:32 +08:00
flash_mmap test(flash_mmap): test flash mmap pages 2023-08-25 10:37:48 +08:00
flash_psram ci: sync master flash_psram test and add access psram with DFS unity test 2023-06-15 14:14:25 +08:00
g0_components g0: resolve MMU_PAGE_SIZE not defined in g0 build issue 2023-02-23 12:35:52 +08:00
g1_components gdb stub: re-enable for ESP32-C2 2022-12-22 11:39:02 +01:00
gdb test_apps(gdb): Updates the chip version format (vX.Y) 2023-01-06 02:00:52 +08:00
gdb_loadable_elf soc: upgrade version printing to vX.Y 2022-11-10 06:21:11 +00:00
longjmp_test TWDT: Use the new TWDT Kconfig options in the examples and tests 2023-03-07 10:23:43 +08:00
memprot Merge branch 'ci/system_apps_pytest' into 'master' 2022-08-01 16:45:09 +08:00
monitor_ide_integration Tools: Increase the delay before producing exception in the Monitor IDE test app 2022-09-07 12:04:17 +02:00
no_embedded_paths docs: changes docs supported targets tables 2022-07-14 08:26:32 +08:00
panic gdb stub: re-enable for ESP32-C2 2022-12-22 11:39:02 +01:00
startup docs: changes docs supported targets tables 2022-07-14 08:26:32 +08:00
unicore_bootloader test_apps: Test multicore app can be run by unicore bootloader 2023-05-11 05:55:32 +00:00