| sample: |
| description: Protected Storage API sample |
| name: PSA Protected Storage |
| common: |
| tags: psa |
| platform_allow: |
| - mps2_an521_ns |
| - v2m_musca_s1_ns |
| - nrf5340dk_nrf5340_cpuapp_ns |
| - nrf9160dk_nrf9160_ns |
| - bl5340_dvk_cpuapp_ns |
| integration_platforms: |
| - mps2_an521_ns |
| harness: console |
| harness_config: |
| type: multi_line |
| regex: |
| - "Protected Storage sample started" |
| - "PSA Protected Storage API Version [0-9]*.[0-9]*" |
| - "Writing data to UID1: .*" |
| - "Info on data stored in UID1:" |
| - "- Size: [0-9]*" |
| - "- Capacity: 0x[0-9a-f]*" |
| - "- Flags: 0x[0-9-a-f]*" |
| - "Got expected error \\(PSA_ERROR_NOT_PERMITTED\\) when writing to protected\ |
| \ UID" |
| - "Removing UID1" |
| |
| tests: |
| sample.tfm.protected_storage: |
| tags: tfm |