esp-idf/components/esp_app_format
Mahavir Jain 3305cb4d23 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-07 22:23:10 +08:00
..
include fix(ota): additional checks for secure version in anti-rollback case 2024-02-07 22:23:10 +08:00
test_apps fix(system): format esp_common, app_format and bootloader_format with astyle 2024-01-29 10:41:25 +08:00
CMakeLists.txt feat(tools/cmake): Added VERSION argument to the project() macro in cmake 2023-12-05 11:29:43 +01:00
esp_app_desc.c fix(system): format esp_common, app_format and bootloader_format with astyle 2024-01-29 10:41:25 +08:00
Kconfig.projbuild esp_app_format: IRAM space optimization 2023-05-17 23:40:59 +08:00