OVMS3-idf/components/partition_table
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
..
test Add test for partition mmap straddling 64K page issue 2017-07-06 18:22:43 +08:00
test_gen_esp32part_host partition_table: Warn if the partition table name doesn't match type & subtype 2018-06-22 17:51:34 +10:00
component.mk build system: Use component.mk for all components, refactor bootloader build 2017-07-19 09:10:48 +10:00
gen_esp32part.py secure boot: Pad to avoid data after the signature mapping into the address space 2018-07-17 15:33:47 +10:00
Kconfig.projbuild docs: Add more ReST-isms in secure boot & flash encryption docs 2018-07-16 11:52:52 +10:00
Makefile.projbuild secure boot: Pad to avoid data after the signature mapping into the address space 2018-07-17 15:33:47 +10:00
partitions_singleapp.csv Flash encryption: Support enabling flash encryption in bootloader, app support 2016-12-01 23:49:12 -08:00
partitions_singleapp_coredump.csv esp32: Fixes issues discussed during code review of MR!341 2017-01-12 19:38:19 +03:00
partitions_two_ota.csv partition_table: Use names not numeric values in default OTA example partition 2018-06-22 11:15:41 +10:00
partitions_two_ota_coredump.csv esp32: Fixes issues discussed during code review of MR!341 2017-01-12 19:38:19 +03:00
parttool.py partition_table: Support same fallback logic as bootloader for default boot partition 2018-06-22 11:14:22 +10:00