Remove psa_ps_create() support for secure flash store
The secure flash store does not support the psa_ps_set_extended() call
which is correctly reported by the psa_ps_get_support()'s return
value. However SFS implements psa_ps_create() which is an optional call
and it's intended use is to create an entry for future
psa_ps_set_extended() calls. In cases where psa_ps_set_extended() is not
implemented psa_ps_create() is redundant to psa_ps_set().
The PSA PS API tests expects psa_ps_create() to fail with
PSA_ERROR_NOT_SUPPORTED if the PSA_STORAGE_SUPPORT_SET_EXTENDED flag is
not reported by psa_ps_get_support(), so this change fixes test 414.
Signed-off-by: Imre Kis <imre.kis@arm.com>
Change-Id: I07f13a64793152e61094ef9e1642fb2b57269899
4 files changed