Skip to content

Commit 3ff7549

Browse files
de-nordicdavidvincze
authored andcommitted
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]>
1 parent 1dcfbda commit 3ff7549

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
@@ -308,6 +308,15 @@ config BOOT_ED25519_PSA
308308
select BOOT_X25519_PSA_DEPENDENCIES if BOOT_ENCRYPT_IMAGE
309309

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

313322
endchoice

0 commit comments

Comments
 (0)