Skip to content

Commit

Permalink
zephyr: Add Kconfig option CONFIG_BOOT_KEY_IMPORT_BYPASS_ASN
Browse files Browse the repository at this point in the history
The option enables MCUboot configuration option
MCUBOOT_KEY_IMPORT_BYPASS_ASN.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
  • Loading branch information
de-nordic committed Oct 9, 2024
1 parent 3bd36e1 commit 86e26fa
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 @@ -183,6 +183,15 @@ config BOOT_ED25519_MBEDTLS
select BOOT_USE_MBEDTLS
select MBEDTLS
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
Expand Down

0 comments on commit 86e26fa

Please sign in to comment.