esp-idf/components/bootloader_support
Morozov-5F a8837aa378 secure boot v2: Fix crash if signature verification fails in app
sha_handle is "finished" when verify_secure_boot_signature() returns and
should be nulled out.

Alternative version of fix submitted in https://github.com/espressif/esp-idf/pull/6210

Closes https://github.com/espressif/esp-idf/pull/6210

Signed-off-by: Angus Gratton <angus@espressif.com>
2020-12-31 14:43:47 +05:30
..
include esp32c3: Apply one-liner/small changes for ESP32-C3 2020-12-01 10:58:50 +11:00
include_bootloader Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
src secure boot v2: Fix crash if signature verification fails in app 2020-12-31 14:43:47 +05:30
test Merge branch 'feature/merge_esp32c3_bootloader_support' into 'master' 2020-12-11 15:36:28 +08:00
CMakeLists.txt esp32s2: Support bootloader_random_enable() 2020-10-16 18:48:26 +11:00
component.mk bootloader_support: added esp32-c3 support 2020-12-11 11:45:10 +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.)