Skip to content

Commit 015d041

Browse files
michalek-nojukkar
authored andcommitted
bootutil: find_key fix
remove declarations for static. Signed-off-by: Mateusz Michalek <[email protected]>
1 parent 9a2fef6 commit 015d041

File tree

1 file changed

+0
-6
lines changed
  • boot/bootutil/include/bootutil

1 file changed

+0
-6
lines changed

boot/bootutil/include/bootutil/image.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -245,12 +245,6 @@ int32_t bootutil_get_img_security_cnt(struct boot_loader_state *state, int slot,
245245
const struct flash_area *fap,
246246
uint32_t *img_security_cnt);
247247

248-
#if !defined(MCUBOOT_HW_KEY)
249-
int bootutil_find_key(uint8_t *keyhash, uint8_t keyhash_len);
250-
#else
251-
int bootutil_find_key(uint8_t image_index, uint8_t *key, uint16_t key_len);
252-
#endif
253-
254248
int
255249
bootutil_img_hash(struct boot_loader_state *state,
256250
struct image_header *hdr, const struct flash_area *fap,

0 commit comments

Comments
 (0)