1sample:
2  description: An example to illustrate the usage of
3    crypto APIs
4  name: Crypto APIs
5common:
6  tags: crypto
7  min_ram: 20
8  arch_exclude: xtensa
9tests:
10  sample.drivers.crypto.tinycrypt:
11    min_flash: 34
12    harness: console
13    extra_args: EXTRA_CONF_FILE=prj_tinycrypt_shim.conf
14    integration_platforms:
15      - native_sim
16    harness_config:
17      type: multi_line
18      regex:
19        - ".*: Cipher Sample"
20        - ".*: CBC Mode"
21        - ".*: CTR Mode"
22        - ".*: CCM Mode"
23        - ".*: GCM Mode"
24  sample.drivers.crypto.mbedtls:
25    min_flash: 34
26    harness: console
27    extra_args: EXTRA_CONF_FILE=prj_mtls_shim.conf
28    integration_platforms:
29      - native_sim
30    harness_config:
31      type: multi_line
32      regex:
33        - ".*: Cipher Sample"
34        - ".*: CBC Mode"
35        - ".*: CTR Mode"
36        - ".*: CCM Mode"
37        - ".*: GCM Mode"
38  sample.drivers.crypto.stm32:
39    tags: crypto
40    filter: dt_compat_enabled("st,stm32-aes") or dt_compat_enabled("st,stm32-cryp")
41    integration_platforms:
42      - stm32l562e_dk
43    harness: console
44    harness_config:
45      type: multi_line
46      regex:
47        - ".*: Cipher Sample"
48        - ".*: ECB mode ENCRYPT - Match"
49        - ".*: ECB mode DECRYPT - Match"
50        - ".*: CBC mode ENCRYPT - Match"
51        - ".*: CBC mode DECRYPT - Match"
52        - ".*: CTR mode ENCRYPT - Match"
53        - ".*: CTR mode DECRYPT - Match"
54  sample.drivers.crypto.mcux_dcp:
55    tags: crypto
56    filter: dt_compat_enabled("nxp,mcux-dcp")
57    integration_platforms:
58      - mimxrt1064_evk
59    harness: console
60    harness_config:
61      type: multi_line
62      regex:
63        - ".*: Cipher Sample"
64        - ".*: ECB mode ENCRYPT - Match"
65        - ".*: ECB mode DECRYPT - Match"
66        - ".*: CBC mode ENCRYPT - Match"
67        - ".*: CBC mode DECRYPT - Match"
68  sample.drivers.crypto.si32:
69    tags: crypto
70    filter: dt_compat_enabled("silabs,si32-aes")
71    integration_platforms:
72      - sim3u1xx_dk
73    harness: console
74    harness_config:
75      type: multi_line
76      regex:
77        - ".*: Cipher Sample"
78        - ".*: ECB mode ENCRYPT - Match"
79        - ".*: ECB mode DECRYPT - Match"
80        - ".*: CBC mode ENCRYPT - Match"
81        - ".*: CBC mode DECRYPT - Match"
82        - ".*: CTR mode ENCRYPT - Match"
83        - ".*: CTR mode DECRYPT - Match"
84