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
cxx_no_except
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
longjmp_test
memprot
monitor_ide_integration
no_embedded_paths
panic
startup
unicore_bootloader
xip_from_psram