Skip to content

Commit 5f21ef3

Browse files
de-nordicnvlsianpu
authored andcommitted
[nrf fromtree] zephyr: Add Kconfig option CONFIG_BOOT_KEY_IMPORT_BYPASS_ASN
The option enables MCUboot configuration option MCUBOOT_KEY_IMPORT_BYPASS_ASN. Signed-off-by: Dominik Ermel <[email protected]> (cherry picked from commit 3ff7549)
1 parent 421c664 commit 5f21ef3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

boot/zephyr/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,15 @@ config BOOT_ED25519_PSA
311311
select BOOT_X25519_PSA_DEPENDENCIES if BOOT_ENCRYPT_IMAGE
312312

313313
endchoice
314+
315+
config BOOT_KEY_IMPORT_BYPASS_ASN
316+
bool "Directly access key value without ASN.1 parsing"
317+
help
318+
Originally, public keys compiled into MCUboot were
319+
stored in ASN.1 encoded format. Enabling this option
320+
bypasses the ASN.1 decoding and directly accesses the key
321+
in ASN.1 bitstream; this reduces MCUboot code by removing
322+
the ASN.1 processing.
314323
endif
315324

316325
endchoice

0 commit comments

Comments
 (0)