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