OVMS3-idf/components/bootloader_support/src
Angus Gratton 57b601ab7f secure boot: Pad to avoid data after the signature mapping into the address space
Because address space is mapped in 64KB pages, it was possible for unauthenticated data after the
app .bin to become mapped into the flash cache address space.

This problem is solved by 2 changes:

* "esptool elf2image --secure-pad" will pad the image so that the signature block ends close to the
  64KB boundary. Due to alignment constraints it will be 12 bytes too short after signing (but
  with flash encryption, these 12 bytes are still encrypted as part of the last block and can't be
  arbitrarily changed).
* By default, secure boot now requires all app partitions to be a multiple of 64KB in size.
2018-07-17 15:33:47 +10:00
..
bootloader_clock.c bugfix/rtc_clk_32k_bootstrap: Fix starting 32k RTC 2018-03-21 13:27:56 +05:00
bootloader_common.c bootloader: Don't verify Partition Table as part of Secure Boot 2018-07-13 15:45:15 +10:00
bootloader_flash.c add api get valid mmu table pages number 2018-03-16 10:40:55 +08:00
bootloader_init.c soc: Fix description of rtc_config_t.tieh, add macros 2018-05-25 14:58:37 +10:00
bootloader_random.c log: Remove non-static TAG variables 2017-12-15 10:59:48 +11:00
bootloader_sha.c assert: Fix. Move useful functions from wrapped assert functions 2018-06-22 15:17:55 +05:00
bootloader_utility.c bootloader: Don't verify Partition Table as part of Secure Boot 2018-07-13 15:45:15 +10:00
efuse.c esp32: Add KConfig option to disable ROM Console fallback on first boot 2017-08-29 14:52:00 +10:00
esp_image_format.c esp32: Adds support for SW breakpoints in flash 2018-04-26 10:17:02 +03:00
flash_encrypt.c bootloader: Don't verify Partition Table as part of Secure Boot 2018-07-13 15:45:15 +10:00
flash_partitions.c bootloader: Don't verify Partition Table as part of Secure Boot 2018-07-13 15:45:15 +10:00
flash_qio_mode.c feature(flash): support for QIO mode of XM25QU64A 2018-07-11 22:28:01 +08:00
secure_boot.c bootloader: Combine loading from flash & verifying to save boot time 2017-07-19 18:25:17 +10:00
secure_boot_signatures.c secure boot: Pad to avoid data after the signature mapping into the address space 2018-07-17 15:33:47 +10:00