Skip to content

Commit df03999

Browse files
travis3630nordicjm
authored andcommitted
samples: crypto: add support for nrf7120 samples
Add support for nrf7120pdk_nrf7120_cpuapp to all samples support nrf7120 Signed-off-by: Travis Lam <[email protected]>
1 parent a451a5c commit df03999

File tree

55 files changed

+361
-100
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+361
-100
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

doc/nrf/releases_and_maturity/releases/release-notes-3.2.0-preview2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ Cellular samples
423423
Cryptography samples
424424
--------------------
425425

426-
* Added the :ref:`crypto_kmu_usage_nrf54l` sample.
426+
* Added the :ref:`crypto_kmu_cracen_usage` sample.
427427

428428
* :ref:`crypto_aes_ctr` sample:
429429

doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ Cryptography samples
505505

506506
* Support for the ``nrf54lv10dk/nrf54lv10a/cpuapp`` and ``nrf54lv10dk/nrf54lv10a/cpuapp/ns`` board targets to all samples (except :ref:`crypto_test`).
507507
* Support for the ``nrf54lm20dk/nrf54lm20a/cpuapp/ns`` board target in all supported cryptography samples.
508-
* The :ref:`crypto_kmu_usage_nrf54l` sample.
508+
* The :ref:`crypto_kmu_cracen_usage` sample.
509509

510510
* Updated documentation of all samples for style consistency: added lists of cryptographic features used by each sample and sample output in the testing section.
511511

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#
2+
# Copyright (c) 2025 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
# Configure crypto driver
7+
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
8+
CONFIG_PSA_CRYPTO_DRIVER_CRACEN=y
9+
10+
# Configure MbedTLS
11+
CONFIG_MBEDTLS_ENABLE_HEAP=y
12+
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
- [email protected]/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: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#
2+
# Copyright (c) 2025 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
# Configure crypto driver
7+
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
8+
CONFIG_PSA_CRYPTO_DRIVER_CRACEN=y
9+
10+
# Configure MbedTLS
11+
CONFIG_MBEDTLS_ENABLE_HEAP=y
12+
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
- [email protected]/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: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#
2+
# Copyright (c) 2025 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
# Configure crypto driver
7+
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
8+
CONFIG_PSA_CRYPTO_DRIVER_CRACEN=y
9+
10+
# Configure MbedTLS
11+
CONFIG_MBEDTLS_ENABLE_HEAP=y
12+
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
- [email protected]/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: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#
2+
# Copyright (c) 2025 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
# Configure crypto driver
8+
CONFIG_PSA_CRYPTO_DRIVER_OBERON=n
9+
CONFIG_PSA_CRYPTO_DRIVER_CRACEN=y
10+
11+
# Configure MbedTLS
12+
CONFIG_MBEDTLS_ENABLE_HEAP=y
13+
CONFIG_MBEDTLS_HEAP_SIZE=8192

0 commit comments

Comments
 (0)