We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50725b3 commit a691c35Copy full SHA for a691c35
2 files changed
include/wolfboot/wolfboot.h
@@ -205,7 +205,7 @@ extern "C" {
205
# define update_hash wc_Sha3Update
206
# define final_hash wc_Sha3Final
207
# define key_hash key_sha3_384
208
- typedef wc_sha3_384 wolfBoot_hash_t;
+ typedef wc_Sha3 wolfBoot_hash_t;
209
# define HDR_HASH HDR_SHA3_384
210
#else
211
# error "No valid hash algorithm defined!"
src/update_ram.c
@@ -271,7 +271,7 @@ void RAMFUNCTION wolfBoot_start(void)
271
272
#ifdef WOLFBOOT_ELF
273
/* Load elf */
274
- if (elf_load_image((uint8_t*)load_address, (uintptr_t*)&load_address) != 0){
+ if (elf_load_image_mmu((uint8_t*)load_address, (uintptr_t*)&load_address, NULL) != 0){
275
wolfBoot_printf("Invalid elf, falling back to raw binary\n");
276
}
277
#endif
0 commit comments