Skip to content

Commit 8da7e77

Browse files
osaetherVge0rge
authored andcommitted
samples: crypto: Added snippet for crypto_service for target nrf54h20
Added snippet for crypto_service for targets nrf54h20dk_nrf54h20_cpuapp and nrf54h20dk_nrf54h20_cpurad and enabled the snippet for supported samples. Ref: NCSDK-NONE Signed-off-by: Ole Sæther <[email protected]>
1 parent 708507d commit 8da7e77

35 files changed

+178
-3
lines changed

CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ Kconfig* @tejlmand
239239
/snippets/nrf70-debug/ @krish2718 @sachinthegreen
240240
/snippets/nrf70-fw-patch-ext-flash/ @krish2718 @sachinthegreen
241241
/snippets/nordic-bt-rpc/ @ppryga-nordic
242+
/snippets/crypto_service/ @anhmolt @hakonfam @jonathannilsen
242243
/subsys/audio_module/ @nrfconnect/ncs-audio
243244
/subsys/bluetooth/ @alwa-nordic @jori-nordic @carlescufi @KAGA164
244245
/subsys/bluetooth/mesh/ @ludvigsj

samples/crypto/aes_cbc/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66

77
cmake_minimum_required(VERSION 3.20.0)
88

9+
if(NOT crypto_service IN_LIST SNIPPET)
10+
set(SNIPPET crypto_service ${SNIPPET} CACHE STRING "" FORCE)
11+
endif()
12+
913
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
1014

1115
project(aes_cbc)

samples/crypto/aes_cbc/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ tests:
3232
platform_allow: >
3333
nrf54l15pdk/nrf54l15/cpuapp nrf54l15pdk/nrf54l15/cpuapp/ns
3434
harness: console
35+
required_snippets:
36+
- crypto_service
3537
harness_config:
3638
type: multi_line
3739
regex:

samples/crypto/aes_ccm/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66

77
cmake_minimum_required(VERSION 3.20.0)
88

9+
if(NOT crypto_service IN_LIST SNIPPET)
10+
set(SNIPPET crypto_service ${SNIPPET} CACHE STRING "" FORCE)
11+
endif()
12+
913
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
1014

1115
project(aes_ccm)

samples/crypto/aes_ccm/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ tests:
3232
platform_allow: >
3333
nrf54l15pdk/nrf54l15/cpuapp nrf54l15pdk/nrf54l15/cpuapp/ns
3434
harness: console
35+
required_snippets:
36+
- crypto_service
3537
harness_config:
3638
type: multi_line
3739
regex:

samples/crypto/aes_ctr/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66

77
cmake_minimum_required(VERSION 3.20.0)
88

9+
if(NOT crypto_service IN_LIST SNIPPET)
10+
set(SNIPPET crypto_service ${SNIPPET} CACHE STRING "" FORCE)
11+
endif()
12+
913
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
1014

1115
project(aes_ctr)

samples/crypto/aes_ctr/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ tests:
3232
platform_allow: >
3333
nrf54l15pdk/nrf54l15/cpuapp nrf54l15pdk/nrf54l15/cpuapp/ns
3434
harness: console
35+
required_snippets:
36+
- crypto_service
3537
harness_config:
3638
type: multi_line
3739
regex:

samples/crypto/aes_gcm/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66

77
cmake_minimum_required(VERSION 3.20.0)
88

9+
if(NOT crypto_service IN_LIST SNIPPET)
10+
set(SNIPPET crypto_service ${SNIPPET} CACHE STRING "" FORCE)
11+
endif()
12+
913
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
1014

1115
project(aes_gcm)

samples/crypto/aes_gcm/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ tests:
4343
nrf54l15pdk/nrf54l15/cpuapp
4444
nrf54l15pdk/nrf54l15/cpuapp/ns
4545
harness: console
46+
required_snippets:
47+
- crypto_service
4648
harness_config:
4749
type: multi_line
4850
regex:

samples/crypto/chachapoly/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66

77
cmake_minimum_required(VERSION 3.20.0)
88

9+
if(NOT crypto_service IN_LIST SNIPPET)
10+
set(SNIPPET crypto_service ${SNIPPET} CACHE STRING "" FORCE)
11+
endif()
12+
913
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
1014

1115
project(chacha_poly)

0 commit comments

Comments
 (0)