Skip to content

Commit 36fc9d3

Browse files
committed
[nrf fromlist] zephyr: Add Kconfig option CONFIG_BOOT_KEY_IMPORT_BYPASS_ASN
The option enables MCUboot configuration option MCUBOOT_KEY_IMPORT_BYPASS_ASN. Upstream PR: mcu-tools/mcuboot#2089 Signed-off-by: Dominik Ermel <[email protected]>
1 parent 54b6307 commit 36fc9d3

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
@@ -299,6 +299,15 @@ config BOOT_ED25519_PSA
299299
select BOOT_X25519_PSA_DEPENDENCIES if BOOT_ENCRYPT_IMAGE
300300

301301
endchoice
302+
303+
config BOOT_KEY_IMPORT_BYPASS_ASN
304+
bool "Directly access key value without ASN.1 parsing"
305+
help
306+
Originally, public keys compiled into MCUboot were
307+
stored in ASN.1 encoded format. Enabling this option
308+
bypasses the ASN.1 decoding and directly accesses the key
309+
in ASN.1 bitstream; this reduces MCUboot code by removing
310+
the ASN.1 processing.
302311
endif
303312

304313
endchoice

0 commit comments

Comments
 (0)