1sample:
2  name: PSA Crypto persistent key sample
3  description: Demonstration of persistent key usage in the PSA Crypto API.
4common:
5  integration_platforms:
6    - native_sim
7  tags:
8    - psa.secure_storage
9  timeout: 10
10  harness: console
11  harness_config:
12    type: one_line
13    regex:
14      - "Sample finished successfully."
15tests:
16  sample.psa.persistent_key.tfm:
17    filter: CONFIG_BUILD_WITH_TFM
18    extra_args: EXTRA_CONF_FILE=overlay-tfm.conf
19    tags:
20      - trusted-firmware-m
21  sample.psa.persistent_key.secure_storage.entropy_driver:
22    filter: CONFIG_SECURE_STORAGE and not CONFIG_SECURE_STORAGE_ITS_STORE_IMPLEMENTATION_NONE
23            and CONFIG_ENTROPY_HAS_DRIVER
24    extra_args: EXTRA_CONF_FILE=overlay-secure_storage.conf
25    tags:
26      - drivers.entropy
27      - settings
28  sample.psa.persistent_key.secure_storage.entropy_not_secure:
29    filter: CONFIG_SECURE_STORAGE and not CONFIG_SECURE_STORAGE_ITS_STORE_IMPLEMENTATION_NONE
30            and not CONFIG_ENTROPY_HAS_DRIVER
31    extra_args: EXTRA_CONF_FILE=overlay-secure_storage.conf;overlay-entropy_not_secure.conf
32    tags:
33      - random
34      - settings
35