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    tags:
17      - trusted-firmware-m
18  sample.psa.its.secure_storage.entropy_driver:
19    filter: CONFIG_SECURE_STORAGE and not CONFIG_SECURE_STORAGE_ITS_STORE_IMPLEMENTATION_NONE
20            and CONFIG_ENTROPY_HAS_DRIVER
21    extra_args: EXTRA_CONF_FILE=overlay-secure_storage.conf;overlay-entropy_driver.conf
22    tags:
23      - drivers.entropy
24      - settings
25  sample.psa.its.secure_storage.entropy_not_secure:
26    filter: CONFIG_SECURE_STORAGE and not CONFIG_SECURE_STORAGE_ITS_STORE_IMPLEMENTATION_NONE
27            and not CONFIG_ENTROPY_HAS_DRIVER
28    extra_args: EXTRA_CONF_FILE="overlay-secure_storage.conf;overlay-entropy_not_secure.conf"
29    tags:
30      - random
31      - settings
32