mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-14 16:23:57 +00:00

The esp_secure_boot_verify_sbv2_signature_block() and esp_secure_boot_verify_rsa_signature_block() APIs need and use the verified_digest argument only for BOOTLOADER_BUILD, but the argument is not used in the application code, and the value present in verified_digest is considered invalid. Thus, allow passing NULL as the verified_digest parameter to help some save space.
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.)