OVMS3-idf/components/partition_table
Angus Gratton f8b191cfae 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-23 13:45:55 +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: Support same fallback logic as bootloader for default boot partition 2018-06-25 05:36:55 +00: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-23 13:45:55 +10:00
Kconfig.projbuild partition_table: Expanding the space under the bootloader 2018-06-08 18:47:29 +05:00
Makefile.projbuild secure boot: Pad to avoid data after the signature mapping into the address space 2018-07-23 13:45:55 +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 Flash encryption: Support enabling flash encryption in bootloader, app support 2016-12-01 23:49:12 -08: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-25 05:36:55 +00:00