2021-05-12 22:21:19 +08:00
|
|
|
sample:
|
|
|
|
description: Protected Storage API sample
|
|
|
|
name: PSA Protected Storage
|
|
|
|
common:
|
|
|
|
tags: psa
|
2021-07-07 17:30:21 +08:00
|
|
|
platform_allow: mps2_an521_ns v2m_musca_s1_ns
|
2021-07-07 17:57:38 +08:00
|
|
|
nrf5340dk_nrf5340_cpuapp_ns nrf9160dk_nrf9160ns bl5340_dvk_cpuapp_ns
|
2021-05-12 22:21:19 +08:00
|
|
|
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:
|
2021-06-11 23:03:25 +08:00
|
|
|
tags: tfm
|