esp-idf/components/bootloader_support
Mahavir Jain 58d93a89af
bootloader_support: consider signature sector in image length validation
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
2022-08-10 10:38:15 +05:30
..
include further fix spi flash/ram current leakage 2022-07-28 13:11:55 +08:00
include_bootloader bootloader_support: Fix and re-enable bootloader_debug_buffer function 2021-11-23 09:01:24 -03:00
src bootloader_support: consider signature sector in image length validation 2022-08-10 10:38:15 +05:30
test bootloader: update copyright notice 2021-05-10 04:58:34 +02:00
CMakeLists.txt bootloader: Enable clock glitch detection 2021-09-02 12:25:12 +05:30
component.mk esp32h2: code clean up 2021-07-01 19:53:50 +08:00
Makefile.projbuild Secure boot: Correctly re-sign if signing key changes, better error if missing 2016-12-01 23:49:12 -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.)