diff --git a/boot/zephyr/Kconfig b/boot/zephyr/Kconfig index 0e32c4688..2735c9c36 100644 --- a/boot/zephyr/Kconfig +++ b/boot/zephyr/Kconfig @@ -183,6 +183,15 @@ config BOOT_ED25519_MBEDTLS select BOOT_USE_MBEDTLS select MBEDTLS endchoice + +config BOOT_KEY_IMPORT_BYPASS_ASN + bool "Directly access key value without ASN.1 parsing" + help + Originally public keys compiled into MCUboot are + stored in ASN.1 encoded format, Enabling the options + bypasses the ASN.1 decoding and directly accesss the key + in ASN.1 bitstream; this reduces MCUboot code by removing + the ASN.1 processing. endif endchoice