espressif: Enable signature verification (RSA, EC256 and ED25519)
MbedTLS and Tinycrypt security lib options added to Espressif's
configuration and build.
Signed-off-by: Almir Okato <almir.okato@espressif.com>
diff --git a/boot/espressif/main.c b/boot/espressif/main.c
index c5bb3e0..e0956af 100644
--- a/boot/espressif/main.c
+++ b/boot/espressif/main.c
@@ -9,6 +9,7 @@
#include <mcuboot_config/mcuboot_logging.h>
+#include <os/os_malloc.h>
#include <bootloader_init.h>
#include <esp_loader.h>
@@ -28,6 +29,8 @@
MCUBOOT_LOG_INF("*** Booting MCUBoot build %s ***", MCUBOOT_VER);
#endif
+ os_heap_init();
+
fih_int fih_rc = FIH_FAILURE;
FIH_CALL(boot_go, fih_rc, &rsp);
if (fih_not_eq(fih_rc, FIH_SUCCESS)) {