Skip to content

Commit c335cc2

Browse files
committed
WIP TODO key_hash return values
2 parents d102263 + abbca55 commit c335cc2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/image.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2227,6 +2227,8 @@ int keyslot_id_by_sha(const uint8_t *hint)
22272227

22282228
for (id = 0; id < keystore_num_pubkeys(); id++) {
22292229
ct++;
2230+
2231+
/* TODO: return values for key_hash */
22302232
key_hash(id, digest);
22312233
if ((ret == 0) && memcmp(digest, hint, WOLFBOOT_SHA_DIGEST_SIZE) == 0) {
22322234
wolfBoot_printf("Found matching digest in slot %d\n", id);

0 commit comments

Comments
 (0)