Skip to content

Commit e51d48a

Browse files
committed
sha512 wip
1 parent fb11531 commit e51d48a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

share/sysbuild/image_configurations/BOOTLOADER_image_default.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,15 @@
66
# on Zephyr MCUboot / bootloader image.
77

88
set(keytypes CONFIG_BOOT_SIGNATURE_TYPE_NONE
9+
CONFIG_BOOT_SIGNATURE_TYPE_NONE_SHA512
910
CONFIG_BOOT_SIGNATURE_TYPE_RSA
1011
CONFIG_BOOT_SIGNATURE_TYPE_ECDSA_P256
1112
CONFIG_BOOT_SIGNATURE_TYPE_ED25519)
1213

1314
if(SB_CONFIG_BOOT_SIGNATURE_TYPE_NONE)
1415
set(keytype CONFIG_BOOT_SIGNATURE_TYPE_NONE)
16+
elseif(SB_CONFIG_BOOT_SIGNATURE_TYPE_NONE_SHA512)
17+
set(keytype CONFIG_BOOT_SIGNATURE_TYPE_NONE_SHA512)
1518
elseif(SB_CONFIG_BOOT_SIGNATURE_TYPE_RSA)
1619
set(keytype CONFIG_BOOT_SIGNATURE_TYPE_RSA)
1720
elseif(SB_CONFIG_BOOT_SIGNATURE_TYPE_ECDSA_P256)

share/sysbuild/images/bootloader/Kconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ choice BOOT_SIGNATURE_TYPE
4444
config BOOT_SIGNATURE_TYPE_NONE
4545
bool "No signature; use only hash check"
4646

47+
config BOOT_SIGNATURE_TYPE_NONE_SHA512
48+
bool "No signature; use only hash check"
49+
4750
config BOOT_SIGNATURE_TYPE_RSA
4851
bool "RSA signatures"
4952

0 commit comments

Comments
 (0)