]> granicus.if.org Git - esp-idf/commit
secure boot: Fix bootloader image verification failure
authorAngus Gratton <angus@espressif.com>
Mon, 24 Apr 2017 06:21:27 +0000 (16:21 +1000)
committerAngus Gratton <gus@projectgus.com>
Wed, 26 Apr 2017 01:23:35 +0000 (11:23 +1000)
commite2479b46f75c29e03f6b8226a29faaa1c1a4766c
tree644b0e904d17c6f62b2347a9231ca0e9864d23d0
parentb540322dc10ee2a0ce773086da42627468897325
secure boot: Fix bootloader image verification failure

* Failure prevented secure boot from enabling.
* Also adds unit test cases for esp_image_basic_verify()

Ref https://esp32.com/viewtopic.php?f=2&t=1602
TW11878
components/bootloader/src/main/bootloader_config.h
components/bootloader/src/main/bootloader_start.c
components/bootloader_support/src/esp_image_format.c
components/bootloader_support/test/component.mk [new file with mode: 0644]
components/bootloader_support/test/test_verify_image.c [new file with mode: 0644]
components/soc/esp32/include/soc/soc.h