esp-idf/components/bootloader_support
Mahavir Jain c33b9e1426
fix(bootloader_support): check the secure version only for app image
Secure version in the image header is only available for the application
image. However, for certain security workflows, bootloader verifies
itself (own image) and hence the secure version check during that must be
avoided.

Regression introduced in recent commit-id: 3305cb4d

Tested that both secure boot and flash-enc workflows work correctly
with the anti-rollback scenario.
2024-02-19 14:54:17 +05:30
..
bootloader_flash change(all): Clearing unused efuse rom headers 2024-01-22 18:02:55 +02:00
include fix(ota): additional checks for secure version in anti-rollback case 2024-02-07 22:23:10 +08:00
private_include feat(bootloader_support): Make esp_secure_boot_verify_sbv2_signature_block() function public 2023-12-11 18:50:55 +05:30
src fix(bootloader_support): check the secure version only for app image 2024-02-19 14:54:17 +05:30
test_apps feat(esp32c5): support esptool on esp32c5 beta3 2024-01-09 13:11:11 +08:00
CMakeLists.txt fix(rng): only build bootloader_random apis once 2023-10-19 16:15:52 +08:00
README.rst Refactor existing bootloader common functionality into bootloader_support component 2016-11-02 17:58:41 +11:00

Bootloader Support Component
============================

Overview
--------

"Bootloader support" contains APIs which are used by the bootloader but are also needed for the main app.

Code in this component needs to be aware of being executed in a bootloader environment (no RTOS available, BOOTLOADER_BUILD macro set) or in an esp-idf app environment (RTOS running, need locking support.)