Skip to content

Commit de7aeef

Browse files
de-nordicnvlsianpu
authored andcommitted
[nrf fromtree] 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]> (cherry picked from commit f523c60)
1 parent 721b3f6 commit de7aeef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

boot/zephyr/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,9 @@ config BOOT_ED25519_TINYCRYPT
295295
config BOOT_ED25519_MBEDTLS
296296
bool "Use mbedTLS"
297297
select BOOT_USE_MBEDTLS
298+
select BOOT_IMG_HASH_ALG_SHA512_ALLOW
298299
select MBEDTLS
300+
select MBEDTLS_SHA512
299301
select MBEDTLS_ASN1_PARSE_C if MBEDTLS_BUILTIN && !BOOT_KEY_IMPORT_BYPASS_ASN
300302
select BOOT_AES_MBEDTLS_DEPENDENCIES if MBEDTLS_BUILTIN && BOOT_ENCRYPT_IMAGE
301303

0 commit comments

Comments
 (0)