Initial commit
Initial commit.
This commit is contained in:
20
bootloader/mcuboot/boot/zephyr/external_crypto.conf
Normal file
20
bootloader/mcuboot/boot/zephyr/external_crypto.conf
Normal file
@@ -0,0 +1,20 @@
|
||||
#
|
||||
# Copyright (c) 2021 Nordic Semiconductor ASA
|
||||
#
|
||||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
|
||||
#
|
||||
|
||||
# These configurations should be used when using nrf/samples/bootloader
|
||||
# as the immutable bootloader (B0), and MCUBoot as the second stage updateable
|
||||
# bootloader.
|
||||
|
||||
# Set ECDSA as signing mechanism
|
||||
CONFIG_BOOT_SIGNATURE_TYPE_ECDSA_P256=y
|
||||
|
||||
# Use crypto backend from B0
|
||||
CONFIG_BOOT_NRF_EXTERNAL_CRYPTO=y
|
||||
CONFIG_SECURE_BOOT_CRYPTO=y
|
||||
CONFIG_SB_CRYPTO_CLIENT_ECDSA_SECP256R1=y
|
||||
CONFIG_SB_CRYPTO_CLIENT_SHA256=y
|
||||
CONFIG_BL_SHA256_EXT_API_REQUIRED=y
|
||||
CONFIG_BL_SECP256R1_EXT_API_REQUIRED=y
|
||||
Reference in New Issue
Block a user