Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions share/sysbuild/images/bootloader/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,35 @@ config BOOT_SIGNATURE_TYPE_ED25519

endchoice

choice BOOT_CRYPTO_LIBRARY
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this goes in sdk-nrf under sysbuild/Kconfig.sysbuild

prompt "Library used by cryptographic functions of MCUboot"
default BOOT_CRYPTO_LIBRARY_DEFAULT

config BOOT_CRYPTO_LIBRARY_PSA
bool "Enforce use of PSA as cryptographic library"

config BOOT_CRYPTO_LIBRARY_DEFAULT
bool "Use whatever library used, by default, to support selected algorithm"

endchoice

# Dependencies that are required by BOOT_CRYPTO_LIBRARY_PSA in contest of sdk-nrf
if BOOT_CRYPTO_LIBRARY_PSA

config MBEDTLS
bool
default n

config MBEDTLS_PSA_CRYPTO_C
bool
default y

config NRF_SECURITY
bool
default y
Comment on lines +71 to +83
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this does not do anything to the target image, these can go


endif

config BOOT_SIGNATURE_KEY_FILE
string "Signing PEM key file" if !BOOT_SIGNATURE_TYPE_NONE
default "$(ZEPHYR_MCUBOOT_MODULE_DIR)/root-ec-p256.pem" if BOOT_SIGNATURE_TYPE_ECDSA_P256
Expand Down
Loading