Skip to content

Commit 14f1c43

Browse files
committed
remove WOLFBOOT_KEYHASH_HAS_RESULT
1 parent 6527db7 commit 14f1c43

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

include/wolfboot/wolfboot.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ extern "C" {
178178

179179
/* Hashing configuration */
180180
#if defined(WOLFBOOT_HASH_SHA256)
181-
#define WOLFBOOT_KEYHASH_HAS_RESULT
182181
#include "wolfssl/wolfcrypt/sha256.h"
183182
# ifndef WOLFBOOT_SHA_BLOCK_SIZE
184183
# define WOLFBOOT_SHA_BLOCK_SIZE (256)

src/image.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -998,10 +998,6 @@ static int key_sha256(uint8_t key_slot, uint8_t *hash)
998998
if (!pubkey || (pubkey_sz < 0)) {
999999
return -1;
10001000
}
1001-
#ifndef WOLFBOOT_KEYHASH_HAS_RESULT
1002-
wolfBoot_printf("This hash result must define WOLFBOOT_KEYHASH_HAS_RESULT");
1003-
return -1;
1004-
#endif
10051001

10061002
memset(hash, 0, SHA256_DIGEST_SIZE);
10071003

0 commit comments

Comments
 (0)