Skip to content

Commit 0e7c992

Browse files
committed
samples: crypto: Add support for nRF54L15 with TF-M
This adds the required overlay configuration and the sample.yaml additions for all the crypto samples which are supported by the nRF54L15 with TF-M. Ref: NCSDK-26277 Signed-off-by: Georgios Vasilakis <[email protected]>
1 parent 7355315 commit 0e7c992

25 files changed

+48
-21
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y

samples/crypto/aes_cbc/sample.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ tests:
99
platform_allow: >
1010
nrf5340dk_nrf5340_cpuapp_ns nrf5340dk_nrf5340_cpuapp nrf9160dk_nrf9160_ns
1111
nrf9160dk_nrf9160 nrf52840dk_nrf52840 nrf9161dk_nrf9161 nrf9161dk_nrf9161_ns
12-
nrf54h20pdk_nrf54h20_cpuapp nrf54l15pdk_nrf54l15_cpuapp
12+
nrf54h20pdk_nrf54h20_cpuapp nrf54l15pdk_nrf54l15_cpuapp nrf54l15pdk_nrf54l15_cpuapp_ns
1313
harness: console
1414
harness_config:
1515
type: multi_line
@@ -24,4 +24,5 @@ tests:
2424
- nrf9161dk_nrf9161
2525
- nrf9161dk_nrf9161_ns
2626
- nrf54l15pdk_nrf54l15_cpuapp
27+
- nrf54l15pdk_nrf54l15_cpuapp_ns
2728
- nrf54h20pdk_nrf54h20_cpuapp
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y

samples/crypto/aes_ccm/sample.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ tests:
99
platform_allow: >
1010
nrf5340dk_nrf5340_cpuapp_ns nrf5340dk_nrf5340_cpuapp nrf9160dk_nrf9160_ns
1111
nrf9160dk_nrf9160 nrf52840dk_nrf52840 nrf9161dk_nrf9161 nrf9161dk_nrf9161_ns
12-
nrf54h20pdk_nrf54h20_cpuapp nrf54l15pdk_nrf54l15_cpuapp
12+
nrf54h20pdk_nrf54h20_cpuapp nrf54l15pdk_nrf54l15_cpuapp nrf54l15pdk_nrf54l15_cpuapp_ns
1313
harness: console
1414
harness_config:
1515
type: multi_line
@@ -24,4 +24,5 @@ tests:
2424
- nrf9161dk_nrf9161
2525
- nrf9161dk_nrf9161_ns
2626
- nrf54l15pdk_nrf54l15_cpuapp
27+
- nrf54l15pdk_nrf54l15_cpuapp_ns
2728
- nrf54h20pdk_nrf54h20_cpuapp
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y

samples/crypto/aes_ctr/sample.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ tests:
99
platform_allow: >
1010
nrf5340dk_nrf5340_cpuapp_ns nrf5340dk_nrf5340_cpuapp nrf9160dk_nrf9160_ns
1111
nrf9160dk_nrf9160 nrf52840dk_nrf52840 nrf9161dk_nrf9161 nrf9161dk_nrf9161_ns
12-
nrf54h20pdk_nrf54h20_cpuapp nrf54l15pdk_nrf54l15_cpuapp
12+
nrf54h20pdk_nrf54h20_cpuapp nrf54l15pdk_nrf54l15_cpuapp nrf54l15pdk_nrf54l15_cpuapp_ns
1313
harness: console
1414
harness_config:
1515
type: multi_line
@@ -24,4 +24,5 @@ tests:
2424
- nrf9161dk_nrf9161
2525
- nrf9161dk_nrf9161_ns
2626
- nrf54l15pdk_nrf54l15_cpuapp
27+
- nrf54l15pdk_nrf54l15_cpuapp_ns
2728
- nrf54h20pdk_nrf54h20_cpuapp
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
11
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y
2-
# Using hardware crypto accelerator
3-
CONFIG_PSA_CRYPTO_DRIVER_CRACEN=y

samples/crypto/aes_gcm/sample.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,18 @@ tests:
4141
- nrf9161dk_nrf9161_ns
4242
- nrf54l15pdk_nrf54l15_cpuapp
4343
- nrf54h20pdk_nrf54h20_cpuapp
44+
sample.aes_gcm.cracen:
45+
tags: introduction psa cracen
46+
platform_allow: >
47+
nrf54h20pdk_nrf54h20_cpuapp
48+
nrf54l15pdk_nrf54l15_cpuapp
49+
nrf54l15pdk_nrf54l15_cpuapp_ns
50+
harness: console
51+
harness_config:
52+
type: multi_line
53+
regex:
54+
- .*Example finished successfully!.*
55+
integration_platforms:
56+
- nrf54l15pdk_nrf54l15_cpuapp
57+
- nrf54l15pdk_nrf54l15_cpuapp_ns
58+
- nrf54h20pdk_nrf54h20_cpuapp
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y

samples/crypto/chachapoly/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ tests:
1111
nrf9160dk_nrf9160 nrf52840dk_nrf52840 nrf9161dk_nrf9161 nrf9161dk_nrf9161_ns
1212
nrf54h20pdk_nrf54h20_cpuapp
1313
nrf54l15pdk_nrf54l15_cpuapp
14+
nrf54l15pdk_nrf54l15_cpuapp_ns
1415
nrf52840dk_nrf52840
1516
harness: console
1617
harness_config:
@@ -26,4 +27,5 @@ tests:
2627
- nrf9161dk_nrf9161
2728
- nrf9161dk_nrf9161_ns
2829
- nrf54l15pdk_nrf54l15_cpuapp
30+
- nrf54l15pdk_nrf54l15_cpuapp_ns
2931
- nrf54h20pdk_nrf54h20_cpuapp

0 commit comments

Comments
 (0)