Skip to content

Commit 6f04b65

Browse files
committed
samples: crypto: add support for nrf7120 samples
Add support for nrf7120pdk_nrf7120_cpuapp to all samples support nrf7120 Signed-off-by: Travis Lam <travis.lam@nordicsemi.no>
1 parent 36da457 commit 6f04b65

38 files changed

+234
-4
lines changed

boards/nordic/nrf7120pdk/nrf7120pdk_nrf7120_cpuapp_defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,3 @@ CONFIG_NULL_POINTER_EXCEPTION_DETECTION_NONE=y
2323

2424
# Start SYSCOUNTER on driver init
2525
CONFIG_NRF_GRTC_START_SYSCOUNTER=y
26-
27-
# Temporarily disable whilst resolving issue with CI
28-
CONFIG_CRACEN_LIB_KMU=n
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#
2+
# Copyright (c) 2025 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
8+
CONFIG_PSA_CRYPTO_DRIVER_CRACEN=y
9+
10+
CONFIG_MBEDTLS_ENABLE_HEAP=y
11+
CONFIG_MBEDTLS_HEAP_SIZE=8192

samples/crypto/aes_cbc/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ tests:
5454
- nrf54lv10dk/nrf54lv10a/cpuapp
5555
- nrf54lv10dk/nrf54lv10a/cpuapp/ns
5656
- nrf54lv10dk@0.2.0/nrf54lv10a/cpuapp
57+
- nrf7120pdk/nrf7120/cpuapp
5758
harness: console
5859
harness_config:
5960
type: multi_line
@@ -68,3 +69,4 @@ tests:
6869
- nrf54ls05dk/nrf54ls05b/cpuapp
6970
- nrf54lv10dk/nrf54lv10a/cpuapp
7071
- nrf54lv10dk/nrf54lv10a/cpuapp/ns
72+
- nrf7120pdk/nrf7120/cpuapp
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Copyright (c) 2025 Nordic Semiconductor ASA
2+
#
3+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
4+
5+
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
6+
CONFIG_PSA_CRYPTO_DRIVER_CRACEN=y
7+
8+
CONFIG_MBEDTLS_ENABLE_HEAP=y
9+
CONFIG_MBEDTLS_HEAP_SIZE=8192

samples/crypto/aes_ccm/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ tests:
5656
- nrf54lv10dk/nrf54lv10a/cpuapp
5757
- nrf54lv10dk/nrf54lv10a/cpuapp/ns
5858
- nrf54lv10dk@0.2.0/nrf54lv10a/cpuapp
59+
- nrf7120pdk/nrf7120/cpuapp
5960
harness: console
6061
harness_config:
6162
type: multi_line
@@ -72,3 +73,4 @@ tests:
7273
- nrf54lm20dk/nrf54lm20a/cpuapp/ns
7374
- nrf54lv10dk/nrf54lv10a/cpuapp
7475
- nrf54lv10dk/nrf54lv10a/cpuapp/ns
76+
- nrf7120pdk/nrf7120/cpuapp
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#
2+
# Copyright (c) 2025 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
7+
CONFIG_PSA_CRYPTO_DRIVER_CRACEN=y
8+
9+
# Mbedtls configuration
10+
CONFIG_MBEDTLS_ENABLE_HEAP=y
11+
CONFIG_MBEDTLS_HEAP_SIZE=8192

samples/crypto/aes_ctr/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ tests:
5454
- nrf54lv10dk/nrf54lv10a/cpuapp
5555
- nrf54lv10dk/nrf54lv10a/cpuapp/ns
5656
- nrf54lv10dk@0.2.0/nrf54lv10a/cpuapp
57+
- nrf7120pdk/nrf7120/cpuapp
5758
harness: console
5859
harness_config:
5960
type: multi_line
@@ -68,3 +69,4 @@ tests:
6869
- nrf54ls05dk/nrf54ls05b/cpuapp
6970
- nrf54lv10dk/nrf54lv10a/cpuapp
7071
- nrf54lv10dk/nrf54lv10a/cpuapp/ns
72+
- nrf7120pdk/nrf7120/cpuapp

samples/crypto/aes_gcm/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ tests:
7676
- nrf54lv10dk/nrf54lv10a/cpuapp
7777
- nrf54lv10dk/nrf54lv10a/cpuapp/ns
7878
- nrf54lv10dk@0.2.0/nrf54lv10a/cpuapp
79+
- nrf7120pdk/nrf7120/cpuapp
7980
harness: console
8081
harness_config:
8182
type: multi_line
@@ -92,6 +93,7 @@ tests:
9293
- nrf54lm20dk/nrf54lm20a/cpuapp/ns
9394
- nrf54lv10dk/nrf54lv10a/cpuapp
9495
- nrf54lv10dk/nrf54lv10a/cpuapp/ns
96+
- nrf7120pdk/nrf7120/cpuapp
9597
sample.aes_gcm.cracen.crypto_service:
9698
sysbuild: true
9799
tags:
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Copyright (c) 2025 Nordic Semiconductor ASA
2+
#
3+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
4+
5+
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
6+
CONFIG_PSA_CRYPTO_DRIVER_CRACEN=y
7+
8+
CONFIG_MBEDTLS_ENABLE_HEAP=y
9+
CONFIG_MBEDTLS_HEAP_SIZE=8192

samples/crypto/chachapoly/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ tests:
5757
- nrf54lv10dk/nrf54lv10a/cpuapp
5858
- nrf54lv10dk/nrf54lv10a/cpuapp/ns
5959
- nrf54lv10dk@0.2.0/nrf54lv10a/cpuapp
60+
- nrf7120pdk/nrf7120/cpuapp
6061
harness: console
6162
harness_config:
6263
type: multi_line
@@ -73,3 +74,4 @@ tests:
7374
- nrf54lm20dk/nrf54lm20a/cpuapp/ns
7475
- nrf54lv10dk/nrf54lv10a/cpuapp
7576
- nrf54lv10dk/nrf54lv10a/cpuapp/ns
77+
- nrf7120pdk/nrf7120/cpuapp

0 commit comments

Comments
 (0)