Commit 3ff75490 authored by Dominik Ermel's avatar Dominik Ermel Committed by Dávid Vincze
Browse files

zephyr: Add Kconfig option CONFIG_BOOT_KEY_IMPORT_BYPASS_ASN



The option enables MCUboot configuration option
MCUBOOT_KEY_IMPORT_BYPASS_ASN.

Signed-off-by: default avatarDominik Ermel <dominik.ermel@nordicsemi.no>
parent 1dcfbdac
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -308,6 +308,15 @@ config BOOT_ED25519_PSA
	select BOOT_X25519_PSA_DEPENDENCIES if BOOT_ENCRYPT_IMAGE

endchoice

config BOOT_KEY_IMPORT_BYPASS_ASN
	bool "Directly access key value without ASN.1 parsing"
	help
	  Originally, public keys compiled into MCUboot were
	  stored in ASN.1 encoded format. Enabling this option
	  bypasses the ASN.1 decoding and directly accesses the key
	  in ASN.1 bitstream; this reduces MCUboot code by removing
	  the ASN.1 processing.
endif

endchoice