OVMS3-idf/components/bootloader_support/src
Angus Gratton 17adb40ca8 bootloader: Calculate SHA256 hash of image on every boot
Makes app image booting more reliable (256-bit rather than 8-bit verification.)

Some measurements, time to boot a 655KB app.bin file and run to app_main() execution.

(All for rev 1 silicon, ie no 340ms spurious WDT delay.)

80MHz QIO mode:
before = 300ms
after = 140ms

40MHz DIO mode:
before = 712ms
after = 577ms

40MHz DIO mode, secure boot enabled
before = 1380ms
after = 934ms

(Secure boot involves two ECC signature verifications (partition table, app) that take approx 300ms each with 80MHz CPU.)
2017-07-19 18:31:59 +10:00
..
bootloader_flash.c bootloader: Calculate SHA-256 of image while loading/verifying 2017-07-19 18:25:17 +10:00
bootloader_random.c component/soc : move dport access header files to soc 2017-05-09 18:06:00 +08:00
bootloader_sha.c bootloader: Calculate SHA256 hash of image on every boot 2017-07-19 18:31:59 +10:00
efuse.c Flash encryption: Support enabling flash encryption in bootloader, app support 2016-12-01 23:49:12 -08:00
esp_image_format.c bootloader: Calculate SHA256 hash of image on every boot 2017-07-19 18:31:59 +10:00
flash_encrypt.c bootloader: Combine loading from flash & verifying to save boot time 2017-07-19 18:25:17 +10:00
flash_partitions.c bootloader: Check all partitions fit inside configured flash size 2016-12-30 14:19:46 +11: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 bootloader: Calculate SHA256 hash of image on every boot 2017-07-19 18:31:59 +10:00