mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 09:39:10 -04:00
For secure boot enabled cases, bootloader and firmware images have signature appended and size is variable based on scheme being used. This appended data must be considered while verifying image length against allocated partition size to avoid any possibilities of going beyond reserved size. Closes IDF-5617
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.)