Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

samples: crypto: Added nRF54L10 and L05 targets #19126

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
7 changes: 6 additions & 1 deletion samples/crypto/aes_cbc/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ tests:
sysbuild: true
tags: introduction psa cracen sysbuild ci_samples_crypto
platform_allow: >
nrf54l15dk/nrf54l15/cpuapp nrf54l15dk/nrf54l15/cpuapp/ns
nrf54l15dk/nrf54l15/cpuapp
nrf54l15dk/nrf54l15/cpuapp/ns
nrf54l15dk/nrf54l10/cpuapp
nrf54l15dk/nrf54l05/cpuapp
harness: console
harness_config:
type: multi_line
Expand All @@ -39,6 +42,8 @@ tests:
integration_platforms:
- nrf54l15dk/nrf54l15/cpuapp
- nrf54l15dk/nrf54l15/cpuapp/ns
- nrf54l15dk/nrf54l10/cpuapp
- nrf54l15dk/nrf54l05/cpuapp
sample.aes_cbc.cracen.crypto_service:
sysbuild: true
tags: introduction psa cracen sysbuild crypto ci_samples_crypto
Expand Down
7 changes: 6 additions & 1 deletion samples/crypto/aes_ccm/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ tests:
sysbuild: true
tags: introduction psa cracen sysbuild ci_samples_crypto
platform_allow: >
nrf54l15dk/nrf54l15/cpuapp nrf54l15dk/nrf54l15/cpuapp/ns
nrf54l15dk/nrf54l15/cpuapp
nrf54l15dk/nrf54l15/cpuapp/ns
nrf54l15dk/nrf54l10/cpuapp
nrf54l15dk/nrf54l05/cpuapp
harness: console
harness_config:
type: multi_line
Expand All @@ -39,6 +42,8 @@ tests:
integration_platforms:
- nrf54l15dk/nrf54l15/cpuapp
- nrf54l15dk/nrf54l15/cpuapp/ns
- nrf54l15dk/nrf54l10/cpuapp
- nrf54l15dk/nrf54l05/cpuapp
sample.aes_ccm.cracen.crypto_service:
sysbuild: true
tags: introduction psa cracen sysbuild crypto ci_samples_crypto
Expand Down
7 changes: 6 additions & 1 deletion samples/crypto/aes_ctr/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ tests:
sysbuild: true
tags: introduction psa cracen sysbuild ci_samples_crypto
platform_allow: >
nrf54l15dk/nrf54l15/cpuapp nrf54l15dk/nrf54l15/cpuapp/ns
nrf54l15dk/nrf54l15/cpuapp
nrf54l15dk/nrf54l15/cpuapp/ns
nrf54l15dk/nrf54l10/cpuapp
nrf54l15dk/nrf54l05/cpuapp
harness: console
harness_config:
type: multi_line
Expand All @@ -39,6 +42,8 @@ tests:
integration_platforms:
- nrf54l15dk/nrf54l15/cpuapp
- nrf54l15dk/nrf54l15/cpuapp/ns
- nrf54l15dk/nrf54l10/cpuapp
- nrf54l15dk/nrf54l05/cpuapp
sample.aes_ctr.cracen.crypto_service:
sysbuild: true
tags: introduction psa cracen sysbuild crypto ci_samples_crypto
Expand Down
11 changes: 11 additions & 0 deletions samples/crypto/aes_gcm/boards/nrf54l15dk_nrf54l10_cpuapp.conf
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
4 changes: 4 additions & 0 deletions samples/crypto/aes_gcm/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ tests:
platform_allow: >
nrf54l15dk/nrf54l15/cpuapp
nrf54l15dk/nrf54l15/cpuapp/ns
nrf54l15dk/nrf54l10/cpuapp
nrf54l15dk/nrf54l05/cpuapp
harness: console
harness_config:
type: multi_line
Expand All @@ -50,6 +52,8 @@ tests:
integration_platforms:
- nrf54l15dk/nrf54l15/cpuapp
- nrf54l15dk/nrf54l15/cpuapp/ns
- nrf54l15dk/nrf54l10/cpuapp
- nrf54l15dk/nrf54l05/cpuapp
sample.aes_gcm.cracen.crypto_service:
sysbuild: true
tags: introduction psa cracen sysbuild crypto ci_samples_crypto
Expand Down
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
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
4 changes: 4 additions & 0 deletions samples/crypto/chachapoly/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ tests:
platform_allow: >
nrf54l15dk/nrf54l15/cpuapp
nrf54l15dk/nrf54l15/cpuapp/ns
nrf54l15dk/nrf54l10/cpuapp
nrf54l15dk/nrf54l05/cpuapp
harness: console
harness_config:
type: multi_line
Expand All @@ -40,6 +42,8 @@ tests:
integration_platforms:
- nrf54l15dk/nrf54l15/cpuapp
- nrf54l15dk/nrf54l15/cpuapp/ns
- nrf54l15dk/nrf54l10/cpuapp
- nrf54l15dk/nrf54l05/cpuapp
sample.chachapoly.cracen.crypto_service:
sysbuild: true
tags: introduction psa cracen sysbuild crypto ci_samples_crypto
Expand Down
11 changes: 11 additions & 0 deletions samples/crypto/ecdh/boards/nrf54l15dk_nrf54l05_cpuapp.conf
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 samples/crypto/ecdh/boards/nrf54l15dk_nrf54l10_cpuapp.conf
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
7 changes: 6 additions & 1 deletion samples/crypto/ecdh/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ tests:
sysbuild: true
tags: introduction psa cracen sysbuild ci_samples_crypto
platform_allow: >
nrf54l15dk/nrf54l15/cpuapp nrf54l15dk/nrf54l15/cpuapp/ns
nrf54l15dk/nrf54l15/cpuapp
nrf54l15dk/nrf54l15/cpuapp/ns
nrf54l15dk/nrf54l10/cpuapp
nrf54l15dk/nrf54l05/cpuapp
harness: console
harness_config:
type: multi_line
Expand All @@ -39,6 +42,8 @@ tests:
integration_platforms:
- nrf54l15dk/nrf54l15/cpuapp
- nrf54l15dk/nrf54l15/cpuapp/ns
- nrf54l15dk/nrf54l10/cpuapp
- nrf54l15dk/nrf54l05/cpuapp
sample.ecdh.cracen.crypto_service:
sysbuild: true
tags: introduction psa cracen sysbuild crypto ci_samples_crypto
Expand Down
11 changes: 11 additions & 0 deletions samples/crypto/ecdsa/boards/nrf54l15dk_nrf54l05_cpuapp.conf
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 samples/crypto/ecdsa/boards/nrf54l15dk_nrf54l10_cpuapp.conf
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
4 changes: 4 additions & 0 deletions samples/crypto/ecdsa/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ tests:
platform_allow: >
nrf54l15dk/nrf54l15/cpuapp
nrf54l15dk/nrf54l15/cpuapp/ns
nrf54l15dk/nrf54l10/cpuapp
nrf54l15dk/nrf54l05/cpuapp
harness: console
harness_config:
type: multi_line
Expand All @@ -51,6 +53,8 @@ tests:
integration_platforms:
- nrf54l15dk/nrf54l15/cpuapp
- nrf54l15dk/nrf54l15/cpuapp/ns
- nrf54l15dk/nrf54l10/cpuapp
- nrf54l15dk/nrf54l05/cpuapp
sample.ecdsa.cracen.crypto_service:
sysbuild: true
tags: introduction psa cracen sysbuild crypto ci_samples_crypto
Expand Down
11 changes: 11 additions & 0 deletions samples/crypto/ecjpake/boards/nrf54l15dk_nrf54l05_cpuapp.conf
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 samples/crypto/ecjpake/boards/nrf54l15dk_nrf54l10_cpuapp.conf
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
4 changes: 4 additions & 0 deletions samples/crypto/ecjpake/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ tests:
platform_allow: >
nrf54l15dk/nrf54l15/cpuapp
nrf54l15dk/nrf54l15/cpuapp/ns
nrf54l15dk/nrf54l10/cpuapp
nrf54l15dk/nrf54l05/cpuapp
harness: console
harness_config:
type: multi_line
Expand All @@ -45,6 +47,8 @@ tests:
integration_platforms:
- nrf54l15dk/nrf54l15/cpuapp
- nrf54l15dk/nrf54l15/cpuapp/ns
- nrf54l15dk/nrf54l10/cpuapp
- nrf54l15dk/nrf54l05/cpuapp
sample.ecjpake.cracen.crypto_service:
sysbuild: true
tags: introduction psa cracen sysbuild crypto ci_samples_crypto
Expand Down
11 changes: 11 additions & 0 deletions samples/crypto/eddsa/boards/nrf54l15dk_nrf54l05_cpuapp.conf
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 samples/crypto/eddsa/boards/nrf54l15dk_nrf54l10_cpuapp.conf
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
7 changes: 6 additions & 1 deletion samples/crypto/eddsa/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ tests:
sysbuild: true
tags: introduction psa cracen sysbuild ci_samples_crypto
platform_allow: >
nrf54l15dk/nrf54l15/cpuapp nrf54l15dk/nrf54l15/cpuapp/ns
nrf54l15dk/nrf54l15/cpuapp
nrf54l15dk/nrf54l15/cpuapp/ns
nrf54l15dk/nrf54l10/cpuapp
nrf54l15dk/nrf54l05/cpuapp
harness: console
harness_config:
type: multi_line
Expand All @@ -50,6 +53,8 @@ tests:
integration_platforms:
- nrf54l15dk/nrf54l15/cpuapp
- nrf54l15dk/nrf54l15/cpuapp/ns
- nrf54l15dk/nrf54l10/cpuapp
- nrf54l15dk/nrf54l05/cpuapp
sample.eddsa.cracen.crypto_service:
sysbuild: true
tags: introduction psa cracen sysbuild crypto ci_samples_crypto
Expand Down
13 changes: 13 additions & 0 deletions samples/crypto/hkdf/boards/nrf54l15dk_nrf54l10_cpuapp.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#
# 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

CONFIG_MBEDTLS_PK_PARSE_C=y

# Mbedtls configuration
CONFIG_MBEDTLS_ENABLE_HEAP=y
CONFIG_MBEDTLS_HEAP_SIZE=8192
7 changes: 6 additions & 1 deletion samples/crypto/hkdf/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ tests:
sysbuild: true
tags: introduction psa cracen sysbuild ci_samples_crypto
platform_allow: >
nrf54l15dk/nrf54l15/cpuapp nrf54l15dk/nrf54l15/cpuapp/ns
nrf54l15dk/nrf54l15/cpuapp
nrf54l15dk/nrf54l15/cpuapp/ns
nrf54l15dk/nrf54l10/cpuapp
nrf54l15dk/nrf54l05/cpuapp
harness: console
harness_config:
type: multi_line
Expand All @@ -37,6 +40,8 @@ tests:
integration_platforms:
- nrf54l15dk/nrf54l15/cpuapp
- nrf54l15dk/nrf54l15/cpuapp/ns
- nrf54l15dk/nrf54l10/cpuapp
- nrf54l15dk/nrf54l05/cpuapp
sample.hkdf.cracen.crypto_service:
sysbuild: true
tags: introduction psa cracen sysbuild crypto ci_samples_crypto
Expand Down
15 changes: 15 additions & 0 deletions samples/crypto/hmac/boards/nrf54l15dk_nrf54l10_cpuapp.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#
# 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

# TODO: HMAC requires setting the required hashing algorithm
# in Cracen, to improved with NCSDK-25213
CONFIG_PSA_WANT_ALG_SHA_256=y

# Mbedtls configuration
CONFIG_MBEDTLS_ENABLE_HEAP=y
CONFIG_MBEDTLS_HEAP_SIZE=8192
7 changes: 6 additions & 1 deletion samples/crypto/hmac/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ tests:
sysbuild: true
tags: introduction psa cracen sysbuild ci_samples_crypto
platform_allow: >
nrf54l15dk/nrf54l15/cpuapp nrf54l15dk/nrf54l15/cpuapp/ns
nrf54l15dk/nrf54l15/cpuapp
nrf54l15dk/nrf54l15/cpuapp/ns
nrf54l15dk/nrf54l10/cpuapp
nrf54l15dk/nrf54l05/cpuapp
harness: console
harness_config:
type: multi_line
Expand All @@ -39,6 +42,8 @@ tests:
integration_platforms:
- nrf54l15dk/nrf54l15/cpuapp
- nrf54l15dk/nrf54l15/cpuapp/ns
- nrf54l15dk/nrf54l10/cpuapp
- nrf54l15dk/nrf54l05/cpuapp
sample.hmac.cracen.crypto_service:
sysbuild: true
tags: introduction psa cracen sysbuild crypto ci_samples_crypto
Expand Down
11 changes: 11 additions & 0 deletions samples/crypto/pbkdf2/boards/nrf54l15dk_nrf54l05_cpuapp.conf
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
Loading
Loading