Fixes for crypto persistent key tests

Makes the following fixes to persistent key tests:
 - Use correct variable name for get_attributes.
 - Destroy persistent keys at the end of the test to clean up the
   storage for the next test and avoid ALREADY_EXISTS errors.
 - Fix order of test data variables for EC keys.
 - Fix error code for psa_open_key with volatile key.
 - Get attributes of persistent key before checking key attributes.

Signed-off-by: Jamie Fox <jamie.fox@arm.com>
3 files changed
tree: b1ce93431f30eef776a627bf263afcf8f5a2010f
  1. api-specs/
  2. api-tests/
  3. tbsa-v8m/
  4. .gitignore
  5. LICENSE.md
  6. README.md