Skip to content

Commit 0ba80ff

Browse files
de-nordicnordicjm
authored andcommitted
zephyr: Prevent selecting MBEDTLS_ASN1_PARSE_C when not needed
Make selection of MBEDTLS_ASN1_PARSE_C, in BOOT_ED25519_MBEDTLS, depending on ASN1 parsing being enabled. Signed-off-by: Dominik Ermel <[email protected]>
1 parent ec86244 commit 0ba80ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boot/zephyr/Kconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ config BOOT_ED25519_MBEDTLS
293293
bool "Use mbedTLS"
294294
select BOOT_USE_MBEDTLS
295295
select MBEDTLS
296-
select MBEDTLS_ASN1_PARSE_C if MBEDTLS_BUILTIN
296+
select MBEDTLS_ASN1_PARSE_C if MBEDTLS_BUILTIN && !BOOT_KEY_IMPORT_BYPASS_ASN
297297
select BOOT_AES_MBEDTLS_DEPENDENCIES if MBEDTLS_BUILTIN && BOOT_ENCRYPT_IMAGE
298298

299299
config BOOT_ED25519_PSA

0 commit comments

Comments
 (0)