esp-idf/components/bootloader_support/src
Mahavir Jain 40fe00a65c fix(bootloader_support): check the secure version only for app image
Secure version in the image header is only available for the application
image. However, for certain security workflows, bootloader verifies
itself (own image) and hence the secure version check during that must be
avoided.

Regression introduced in recent commit-id: 3305cb4d

Tested that both secure boot and flash-enc workflows work correctly
with the anti-rollback scenario.
2024-02-20 11:20:03 +02:00
..
esp32 bootloader: removed unavailable rtc features 2023-07-21 03:12:52 +08:00
esp32c3 bootloader: cleanup ana reset config code 2023-07-21 03:12:53 +08:00
esp32h2 efuse: update efuse name (backport v4.4) 2022-05-30 11:15:16 +08:00
esp32s2 bootloader: removed unavailable rtc features 2023-07-21 03:12:52 +08:00
esp32s3 doc(spi_flash): hide unsupported optional features 2024-02-02 10:33:59 +08:00
flash_encryption secure_boot_v2: fix issue in pre-flashed digest (manual) workflow 2021-11-08 12:48:12 +08:00
idf bootloader: update copyright notice 2021-05-10 04:58:34 +02:00
secure_boot_v1 efuse(esp32): Deprecate esp_efuse_burn_new_values() & esp_efuse_write_random_key() 2021-06-17 07:21:36 +08:00
secure_boot_v2 secure_boot_v2: Fix warning message 2022-11-25 18:34:31 +05:30
bootloader_clock_init.c all: Apply new version logic (major * 100 + minor) 2023-03-03 22:26:39 +00:00
bootloader_clock_loader.c bootloader: update copyright notice 2021-06-02 14:22:09 +02:00
bootloader_common_loader.c bootloader_support: Fix iram_loader_seg overflow for ESP32-S2 when -O0 2023-03-03 22:26:39 +00:00
bootloader_common.c bootloader: Fixes bootloader_common_get_sha256_of_partition. Adds hash check. 2022-01-25 19:58:29 +08:00
bootloader_console_loader.c bootloader: update copyright notice 2021-06-02 14:22:09 +02:00
bootloader_console.c fix(esp_hw_support): fix lightsleep current leakage on usb-phy controlled pad 2023-11-20 11:25:28 +08:00
bootloader_efuse.c efuse: Adds major and minor versions and others 2022-12-20 16:30:13 +08:00
bootloader_flash_config_esp32.c all: Apply new version logic (major * 100 + minor) 2023-03-03 22:26:39 +00:00
bootloader_flash_config_esp32c3.c bootloader: update copyright notice 2021-06-02 14:22:09 +02:00
bootloader_flash_config_esp32h2.c esp32h2: add bootloader support 2021-07-01 19:53:11 +08:00
bootloader_flash_config_esp32s2.c bootloader: update copyright notice 2021-06-02 14:22:09 +02:00
bootloader_flash_config_esp32s3.c mspi: support 120MHz Quad Flash and PSRAM on ESP32S3 2021-08-31 16:06:44 +08:00
bootloader_flash.c doc(spi_flash): hide unsupported optional features 2024-02-02 10:33:59 +08:00
bootloader_init.c esp_system: Do not rely on bootloader cache settings, do cache settings unconditionally at startup app 2023-05-11 06:07:19 +00:00
bootloader_mem.c bootloader: Create option for enabling memory region protection 2022-05-16 09:39:51 -03:00
bootloader_panic.c bootloader: dont print assert msg if CONFIG_OPTIMIZATION_ASSERTIONS_SILENT is set 2022-09-05 12:31:31 +08:00
bootloader_random_esp32.c bootloader: update copyright notice 2021-06-02 14:22:09 +02:00
bootloader_random_esp32c3.c bootloader: update copyright notice 2021-06-02 14:22:09 +02:00
bootloader_random_esp32h2.c esp32h2: add bootloader support 2021-07-01 19:53:11 +08:00
bootloader_random_esp32s2.c bootloader: update copyright notice 2021-06-02 14:22:09 +02:00
bootloader_random_esp32s3.c ulp-riscv: add support for using ADC as well as an example show-casing it. 2022-08-09 09:21:15 +08:00
bootloader_random.c feat (bootloader): added rng sampling 2022-01-03 16:24:41 +05:30
bootloader_utility.c bootloader: add anti-FI checks around secure version in anti-rollback scheme 2021-11-29 18:49:22 +05:30
esp_image_format.c fix(bootloader_support): check the secure version only for app image 2024-02-20 11:20:03 +02:00
flash_encrypt.c esp_flash_encrypt: If it is supported then Enable secure download mode in release mode instead of disabling it completely. 2022-12-08 10:28:48 +05:30
flash_partitions.c esp32h2: add bootloader support 2021-07-01 19:53:11 +08:00
flash_qio_mode.c spi_flash: remove xmc hpm support, because there is some compatible issue with ROM, 2022-09-29 16:37:29 +08:00
secure_boot.c bootloader: update copyright notice 2021-06-02 14:22:09 +02:00