Skip to content

Commit 6f1c879

Browse files
de-nordicrlubos
authored andcommitted
[nrf noup] mcuboot: Add CONFIG_MCUBOOT_BOOTLOADER_USES_SHA512
The option notifies application that MCUboot has been configured to use SHA512 for image hashing. Signed-off-by: Dominik Ermel <[email protected]> (cherry picked from commit 6b37917)
1 parent 462b528 commit 6f1c879

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

modules/Kconfig.mcuboot

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,11 @@ config MCUBOOT_BOOTLOADER_NO_DOWNGRADE
288288
MCUBOOT_DOWNGRADE_PREVENTION option enabled.
289289
endif
290290

291+
config MCUBOOT_BOOTLOADER_USES_SHA512
292+
bool "MCUboot uses SHA512 for image hash"
293+
help
294+
MCUboot has been compiled to verify images using SHA512.
295+
291296
config MCUBOOT_APPLICATION_FIRMWARE_UPDATER
292297
bool "Application is firmware updater image"
293298
depends on MCUBOOT_BOOTLOADER_MODE_FIRMWARE_UPDATER

0 commit comments

Comments
 (0)