esp-idf/components/bootloader_support
Mahavir Jain 56fb618733
fix(secure_ota): secure app verification issue without padding bytes
For the following configuration case:

 - CONFIG_SECURE_SIGNED_APPS_RSA_SCHEME
 - CONFIG_SECURE_SIGNED_ON_UPDATE_NO_SECURE_BOOT
 - CONFIG_SECURE_BOOT_ALLOW_SHORT_APP_PARTITION

verification of the application was failing because the externally
padded bytes were not considered in the hash (checksum) process.

This commit fixes the problem by enabling relevant code for secure OTA
without secure boot case.

Closes https://github.com/espressif/esp-idf/issues/11995
2023-08-02 19:31:20 +05:30
..
bootloader_flash Merge branch 'bugfix/gd25lq255e_unlock' into 'master' 2023-07-21 15:29:45 +08:00
include feat: Made read_otadata() API public 2023-07-06 11:40:49 +05:30
private_include compiler: replaced noreturn by __noreturn__ in header files 2023-05-11 16:07:45 +08:00
src fix(secure_ota): secure app verification issue without padding bytes 2023-08-02 19:31:20 +05:30
test_apps ci(qemu): temporarily allow qemu tests to fail 2023-07-13 11:16:38 +08:00
.build-test-rules.yml esp_hw_support: Fix invalid system time if s_esp_rtc_time_us & s_rtc_last_ticks were moved around 2023-06-08 21:59:21 +08:00
CMakeLists.txt esp_bootloader_format: Adds bootloader description structure to read bootloader version from app 2023-05-10 21:39: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.)