esp-idf/components/esptool_py
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
..
esptool@fd8c25d216 secure boot: Pad to avoid data after the signature mapping into the address space 2018-07-17 15:33:47 +10:00
Kconfig.projbuild
LICENSE
Makefile.projbuild secure boot: Pad to avoid data after the signature mapping into the address space 2018-07-17 15:33:47 +10:00
component.mk