Skip to content

Commit

Permalink
[nrf fromlist] zephyr: Add Kconfig option CONFIG_BOOT_KEY_IMPORT_BYPA…
Browse files Browse the repository at this point in the history
…SS_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]>
  • Loading branch information
de-nordic committed Oct 8, 2024
1 parent f733fb3 commit efe3c3f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions boot/zephyr/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,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 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
Expand Down

0 comments on commit efe3c3f

Please sign in to comment.