-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samples: crypto: Add board files for 54l09
Added board files to all crypto samples for 54l09 Signed-off-by: Dag Erik Gjørvad <[email protected]>
- Loading branch information
Showing
36 changed files
with
916 additions
and
0 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
samples/crypto/aes_cbc/boards/nrf54l09pdk_nrf54l09_cpuapp.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n | ||
CONFIG_PSA_CRYPTO_DRIVER_CRACEN=y | ||
|
||
# Mbedtls configuration | ||
CONFIG_MBEDTLS_ENABLE_HEAP=y | ||
CONFIG_MBEDTLS_HEAP_SIZE=8192 |
11 changes: 11 additions & 0 deletions
11
samples/crypto/aes_ccm/boards/nrf54l09pdk_nrf54l09_cpuapp.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n | ||
CONFIG_PSA_CRYPTO_DRIVER_CRACEN=y | ||
|
||
# Mbedtls configuration | ||
CONFIG_MBEDTLS_ENABLE_HEAP=y | ||
CONFIG_MBEDTLS_HEAP_SIZE=8192 |
11 changes: 11 additions & 0 deletions
11
samples/crypto/aes_ctr/boards/nrf54l09pdk_nrf54l09_cpuapp.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n | ||
CONFIG_PSA_CRYPTO_DRIVER_CRACEN=y | ||
|
||
# Mbedtls configuration | ||
CONFIG_MBEDTLS_ENABLE_HEAP=y | ||
CONFIG_MBEDTLS_HEAP_SIZE=8192 |
11 changes: 11 additions & 0 deletions
11
samples/crypto/aes_gcm/boards/nrf54l09pdk_nrf54l09_cpuapp.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n | ||
CONFIG_PSA_CRYPTO_DRIVER_CRACEN=y | ||
|
||
# Mbedtls configuration | ||
CONFIG_MBEDTLS_ENABLE_HEAP=y | ||
CONFIG_MBEDTLS_HEAP_SIZE=8192 |
11 changes: 11 additions & 0 deletions
11
samples/crypto/chachapoly/boards/nrf54l09pdk_nrf54l09_cpuapp.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n | ||
CONFIG_PSA_CRYPTO_DRIVER_CRACEN=y | ||
|
||
# Mbedtls configuration | ||
CONFIG_MBEDTLS_ENABLE_HEAP=y | ||
CONFIG_MBEDTLS_HEAP_SIZE=8192 |
11 changes: 11 additions & 0 deletions
11
samples/crypto/ecdh/boards/nrf54l09pdk_nrf54l09_cpuapp.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n | ||
CONFIG_PSA_CRYPTO_DRIVER_CRACEN=y | ||
|
||
# Mbedtls configuration | ||
CONFIG_MBEDTLS_ENABLE_HEAP=y | ||
CONFIG_MBEDTLS_HEAP_SIZE=8192 |
11 changes: 11 additions & 0 deletions
11
samples/crypto/ecdsa/boards/nrf54l09pdk_nrf54l09_cpuapp.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n | ||
CONFIG_PSA_CRYPTO_DRIVER_CRACEN=y | ||
|
||
# Mbedtls configuration | ||
CONFIG_MBEDTLS_ENABLE_HEAP=y | ||
CONFIG_MBEDTLS_HEAP_SIZE=8192 |
11 changes: 11 additions & 0 deletions
11
samples/crypto/ecjpake/boards/nrf54l09pdk_nrf54l09_cpuapp.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n | ||
CONFIG_PSA_CRYPTO_DRIVER_CRACEN=y | ||
|
||
# Mbedtls configuration | ||
CONFIG_MBEDTLS_ENABLE_HEAP=y | ||
CONFIG_MBEDTLS_HEAP_SIZE=8192 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# | ||
# Copyright (c) 2021 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
cmake_minimum_required(VERSION 3.20.0) | ||
|
||
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) | ||
|
||
project(ecdsa) | ||
|
||
target_sources(app PRIVATE | ||
src/main.c) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
.. _crypto_ecdsa: | ||
|
||
Crypto: ECDSA | ||
############# | ||
|
||
.. contents:: | ||
:local: | ||
:depth: 2 | ||
|
||
The ECDSA sample shows how to sign and verify messages using SHA-256 as the hashing algorithm and the secp256r1 curve. | ||
|
||
Requirements | ||
************ | ||
|
||
The sample supports the following development kits: | ||
|
||
.. table-from-sample-yaml:: | ||
|
||
.. include:: /includes/tfm.txt | ||
|
||
Overview | ||
******** | ||
|
||
The sample performs the following operations: | ||
|
||
1. Initialization: | ||
|
||
a. The Platform Security Architecture (PSA) API is initialized. | ||
#. A random Elliptic Curve Cryptography (ECC) key pair is generated in the PSA crypto keystore for signing purposes. | ||
#. The public key of the ECC key pair is exported to the application. | ||
#. The exported public key is imported into the PSA crypto key storage to be used for verification. | ||
|
||
#. ECDSA signing and verification: | ||
|
||
a. Signing is performed using the private key of the ECC key pair. | ||
#. The signature is verified using the exported public key. | ||
|
||
#. Cleanup: | ||
|
||
a. The key pair and public key are removed from the PSA crypto keystore. | ||
|
||
Building and running | ||
******************** | ||
|
||
.. |sample path| replace:: :file:`samples/crypto/ecdsa` | ||
|
||
.. include:: /includes/build_and_run_ns.txt | ||
|
||
.. note:: | ||
|54H_engb_2_8| | ||
|
||
Testing | ||
======= | ||
|
||
After programming the sample to your development kit, complete the following steps to test it: | ||
|
||
1. |connect_terminal| | ||
#. Compile and program the application. | ||
#. Observe the logs from the application using a terminal emulator. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
# Using hardware crypto accelerator | ||
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n | ||
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y | ||
|
||
# Mbedtls configuration | ||
CONFIG_MBEDTLS_ENABLE_HEAP=y | ||
CONFIG_MBEDTLS_HEAP_SIZE=8192 |
12 changes: 12 additions & 0 deletions
12
samples/crypto/ed25519ph/boards/nrf5340dk_nrf5340_cpuapp.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
# Using hardware crypto accelerator | ||
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n | ||
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y | ||
|
||
# Mbedtls configuration | ||
CONFIG_MBEDTLS_ENABLE_HEAP=y | ||
CONFIG_MBEDTLS_HEAP_SIZE=8192 |
9 changes: 9 additions & 0 deletions
9
samples/crypto/ed25519ph/boards/nrf5340dk_nrf5340_cpuapp_ns.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y | ||
|
||
# Using hardware crypto accelerator | ||
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y |
14 changes: 14 additions & 0 deletions
14
samples/crypto/ed25519ph/boards/nrf5340dk_nrf5340_cpunet.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
CONFIG_PSA_CRYPTO_DRIVER_OBERON=y | ||
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=n | ||
|
||
# Mbedtls configuration | ||
CONFIG_MBEDTLS_ENABLE_HEAP=y | ||
CONFIG_MBEDTLS_HEAP_SIZE=8192 | ||
|
||
CONFIG_ENTROPY_GENERATOR=y |
19 changes: 19 additions & 0 deletions
19
samples/crypto/ed25519ph/boards/nrf54h20dk_nrf54h20_cpuapp.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
|
||
# Disable Oberon PSA crypto drivers | ||
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n | ||
|
||
# Enable PSA crypto from SSF client | ||
CONFIG_PSA_SSF_CRYPTO_CLIENT=y | ||
CONFIG_SSF_PSA_CRYPTO_SERVICE_ENABLED=y | ||
|
||
# Disable Data Cache | ||
CONFIG_DCACHE=n | ||
|
||
# Mbedtls configuration | ||
CONFIG_MBEDTLS_ENABLE_HEAP=y | ||
CONFIG_MBEDTLS_HEAP_SIZE=8192 |
21 changes: 21 additions & 0 deletions
21
samples/crypto/ed25519ph/boards/nrf54h20dk_nrf54h20_cpuapp.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
* Copyright (c) 2024 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
*/ | ||
|
||
&cpusec_cpuapp_ipc { | ||
status = "okay"; | ||
}; | ||
|
||
&cpuapp_ram0x_region { | ||
status = "okay"; | ||
}; | ||
|
||
&cpusec_bellboard { | ||
status = "okay"; | ||
}; | ||
|
||
&cpuapp_bellboard { | ||
status = "okay"; | ||
}; |
11 changes: 11 additions & 0 deletions
11
samples/crypto/ed25519ph/boards/nrf54l15dk_nrf54l05_cpuapp.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n | ||
CONFIG_PSA_CRYPTO_DRIVER_CRACEN=y | ||
|
||
# Mbedtls configuration | ||
CONFIG_MBEDTLS_ENABLE_HEAP=y | ||
CONFIG_MBEDTLS_HEAP_SIZE=8192 |
11 changes: 11 additions & 0 deletions
11
samples/crypto/ed25519ph/boards/nrf54l15dk_nrf54l10_cpuapp.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n | ||
CONFIG_PSA_CRYPTO_DRIVER_CRACEN=y | ||
|
||
# Mbedtls configuration | ||
CONFIG_MBEDTLS_ENABLE_HEAP=y | ||
CONFIG_MBEDTLS_HEAP_SIZE=8192 |
11 changes: 11 additions & 0 deletions
11
samples/crypto/ed25519ph/boards/nrf54l15dk_nrf54l15_cpuapp.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n | ||
CONFIG_PSA_CRYPTO_DRIVER_CRACEN=y | ||
|
||
# Mbedtls configuration | ||
CONFIG_MBEDTLS_ENABLE_HEAP=y | ||
CONFIG_MBEDTLS_HEAP_SIZE=8192 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
# Using hardware crypto accelerator | ||
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n | ||
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y | ||
|
||
# Mbedtls configuration | ||
CONFIG_MBEDTLS_ENABLE_HEAP=y | ||
CONFIG_MBEDTLS_HEAP_SIZE=8192 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y | ||
|
||
# Using hardware crypto accelerator | ||
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
# Using hardware crypto accelerator | ||
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n | ||
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y | ||
|
||
# Mbedtls configuration | ||
CONFIG_MBEDTLS_ENABLE_HEAP=y | ||
CONFIG_MBEDTLS_HEAP_SIZE=8192 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y | ||
|
||
# Using hardware crypto accelerator | ||
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
# Using hardware crypto accelerator | ||
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n | ||
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y | ||
|
||
# Mbedtls configuration | ||
CONFIG_MBEDTLS_ENABLE_HEAP=y | ||
CONFIG_MBEDTLS_HEAP_SIZE=8192 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y | ||
|
||
# Using hardware crypto accelerator | ||
CONFIG_PSA_CRYPTO_DRIVER_CC3XX=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# | ||
# Copyright (c) 2024 Nordic Semiconductor ASA | ||
# | ||
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
# | ||
# The Zephyr CMSIS emulation assumes that ticks are ms, currently | ||
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1000 | ||
|
||
CONFIG_MAIN_STACK_SIZE=8192 | ||
CONFIG_HEAP_MEM_POOL_SIZE=8192 | ||
|
||
# Enable logging | ||
CONFIG_CONSOLE=y | ||
CONFIG_LOG=y | ||
|
||
# Enable nordic security backend and PSA APIs | ||
CONFIG_NRF_SECURITY=y | ||
CONFIG_MBEDTLS_PSA_CRYPTO_C=y | ||
|
||
CONFIG_PSA_WANT_ALG_ED25519PH=y | ||
CONFIG_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE=y | ||
CONFIG_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT=y | ||
CONFIG_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_EXPORT=y | ||
CONFIG_PSA_WANT_ECC_TWISTED_EDWARDS_255=y | ||
CONFIG_PSA_WANT_ALG_SHA_512=y | ||
|
||
# For key generation | ||
CONFIG_PSA_WANT_GENERATE_RANDOM=y |
Oops, something went wrong.