Skip to content

Commit 79ea4d3

Browse files
committed
zephyr: Fix ED25519 compilation with mbedTLS
ED25519 with mbedTLS has not been linking due to missing SHA512, which is internally required by ED25519 implementation. Signed-off-by: Dominik Ermel <[email protected]>
1 parent 1b2fc09 commit 79ea4d3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

boot/zephyr/Kconfig

+2
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,9 @@ config BOOT_ED25519_TINYCRYPT
292292
config BOOT_ED25519_MBEDTLS
293293
bool "Use mbedTLS"
294294
select BOOT_USE_MBEDTLS
295+
select BOOT_IMG_HASH_ALG_SHA512_ALLOW
295296
select MBEDTLS
297+
select MBEDTLS_SHA512
296298
select MBEDTLS_ASN1_PARSE_C if MBEDTLS_BUILTIN
297299
select BOOT_AES_MBEDTLS_DEPENDENCIES if MBEDTLS_BUILTIN && BOOT_ENCRYPT_IMAGE
298300

0 commit comments

Comments
 (0)