Skip to content

Commit dd4bce1

Browse files
de-nordicnvlsianpu
authored andcommitted
[nrf noup] bootutil: Fix SHA512 dependency
fixup! [nrf noup] bootutil: Provide support for SHA512 with ED25519 Signed-off-by: Dominik Ermel <[email protected]>
1 parent 7bfbd35 commit dd4bce1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boot/zephyr/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ config BOOT_SIGNATURE_TYPE_ED25519
253253
select BOOT_ENCRYPTION_SUPPORT if !BOOT_SIGNATURE_TYPE_PURE
254254
select BOOT_IMG_HASH_ALG_SHA256_ALLOW if !BOOT_SIGNATURE_TYPE_PURE
255255
# The SHA is used only for key hashing, not for images.
256-
select BOOT_IMG_HASH_ALG_SHA512_ALLOW
256+
select BOOT_IMG_HASH_ALG_SHA512_ALLOW if BOOT_USE_PSA_CRYPTO
257257
select BOOT_SIGNATURE_TYPE_PURE_ALLOW
258258
help
259259
This is ed25519 signature calculated over SHA512 of SHA256 of application

0 commit comments

Comments
 (0)