esp-idf/tools/test_apps/system
Mahavir Jain 6d2153d703 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:23:19 +02:00
..
bootloader_sections fix(ota): additional checks for secure version in anti-rollback case 2024-02-15 15:23:19 +02:00
build_test fix(esp_system): suppress compiler warning if ESP_SYSTEM_PANIC_SILENT_REBOOT is enabled 2023-09-19 10:51:24 +08:00
cxx_no_except [C++]: wrapper functions around unwind code 2021-04-20 14:27:58 +08:00
flash_mmap test(flash_mmap): test flash mmap pages 2023-10-25 08:02:02 +00:00
flash_psram spi_flash: fixed issue that enabling HPM-DC by default may cause app unable to restart 2024-02-02 10:33:59 +08:00
gdb_loadable_elf app: Updates the chip version format (vX.Y) 2023-03-03 22:26:39 +00:00
longjmp_test [examples]: removed hyphens 2021-10-09 13:58:24 +08:00
memprot Clean IRAM and DRAM address space conversion macros 2022-08-09 20:33:26 +08:00
monitor_ide_integration Tools: Increase the delay before producing exception in the Monitor IDE test app 2022-09-07 12:04:39 +02:00
no_embedded_paths Support ESP32S3 Beta 3 target 2021-03-18 10:24:22 +08:00
panic ci: lift restriction on pygdbmi in panic test 2022-11-28 10:29:34 +00:00
startup efuse: Burn operation does not block reading 2021-06-18 11:52:47 +08:00
unicore_bootloader test_apps: Fix unicore_bootloader test 2023-05-11 06:07:19 +00:00
xip_from_psram test_app: xip_psram test app 2022-12-20 14:00:49 +08:00