Skip to content

Commit bae10a5

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 dcb8c6a)
1 parent f3186c3 commit bae10a5

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
@@ -256,6 +256,11 @@ config MCUBOOT_BOOTLOADER_NO_DOWNGRADE
256256
MCUBOOT_DOWNGRADE_PREVENTION option enabled.
257257
endif
258258

259+
config MCUBOOT_BOOTLOADER_USES_SHA512
260+
bool "MCUboot uses SHA512 for image hash"
261+
help
262+
MCUboot has been compiled to verify images using SHA512.
263+
259264
endmenu # On board MCUboot operation mode
260265

261266
endif # BOOTLOADER_MCUBOOT

0 commit comments

Comments
 (0)