Skip to content

Commit 721b3f6

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

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
@@ -296,7 +296,7 @@ config BOOT_ED25519_MBEDTLS
296296
bool "Use mbedTLS"
297297
select BOOT_USE_MBEDTLS
298298
select MBEDTLS
299-
select MBEDTLS_ASN1_PARSE_C if MBEDTLS_BUILTIN
299+
select MBEDTLS_ASN1_PARSE_C if MBEDTLS_BUILTIN && !BOOT_KEY_IMPORT_BYPASS_ASN
300300
select BOOT_AES_MBEDTLS_DEPENDENCIES if MBEDTLS_BUILTIN && BOOT_ENCRYPT_IMAGE
301301

302302
config BOOT_ED25519_PSA

0 commit comments

Comments
 (0)