OVMS3-idf/components/bootloader_support/src
Angus Gratton 32756b165e bootloader: Add fault injection resistance to Secure Boot bootloader verification
Goal is that multiple faults would be required to bypass a boot-time signature check.

- Also strengthens some address range checks for safe app memory addresses
- Change pre-enable logic to also check the bootloader signature before enabling SBV2 on ESP32

Add some additional checks for invalid sections:

- Sections only partially in DRAM or IRAM are invalid
- If a section is in D/IRAM, allow the possibility only some is in D/IRAM
- Only pass sections that are entirely in the same type of RTC memory region
2020-03-06 01:16:04 +05:30
..
esp32 bootloader: Add fault injection resistance to Secure Boot bootloader verification 2020-03-06 01:16:04 +05:30
esp32s2beta bootloader: Add fault injection resistance to Secure Boot bootloader verification 2020-03-06 01:16:04 +05:30
idf bootloader: Add fault injection resistance to Secure Boot bootloader verification 2020-03-06 01:16:04 +05:30
bootloader_clock.c esp32s2:remove unsupported xtal choice 2020-01-09 13:09:21 +08:00
bootloader_common.c bootloader_support: Reduce log spam about chip revisions 2019-12-30 13:48:11 +11:00
bootloader_efuse_esp32.c bootloader: move esp32 specific code from bootloader_common 2019-10-03 09:38:13 +02:00
bootloader_efuse_esp32s2beta.c bootloader: move esp32 specific code from bootloader_common 2019-10-03 09:38:13 +02:00
bootloader_flash.c feat/secure_boot_v2: Adding secure boot v2 support for ESP32-ECO3 2020-03-06 01:16:04 +05:30
bootloader_flash_config_esp32.c spi_flash: Force legacy mode for ESP32-S2 2019-08-13 17:14:16 +10:00
bootloader_flash_config_esp32s2beta.c bootloader: Fix SPI dummy clock settings for ESP32S2-beta 2019-08-13 17:14:16 +10:00
bootloader_init.c bootloader_support: refactor to better support multi target 2019-12-23 05:45:17 +00:00
bootloader_random.c bugfix(i2s_bootloader_random_disable): fix bug about i2s bootloader_random_disable 2019-11-05 10:36:53 +08:00
bootloader_utility.c feat/secure_boot_v2: Adding secure boot v2 support for ESP32-ECO3 2020-03-06 01:16:04 +05:30
esp_image_format.c bootloader: Add fault injection resistance to Secure Boot bootloader verification 2020-03-06 01:16:04 +05:30
flash_encrypt.c feat/secure_boot_v2: Adding secure boot v2 support for ESP32-ECO3 2020-03-06 01:16:04 +05:30
flash_partitions.c separate rom from esp32 component to esp_rom 2019-03-21 18:51:45 +08:00
flash_qio_mode.c esp32s2beta: only support unicore 2019-12-09 09:48:37 +08:00