Darryl Green d49a499d03 psa: Implement persistent keys
Allow use of persistent keys, including configuring them, importing and
exporting them, and destroying them.

When getting a slot using psa_get_key_slot, there are 3 scenarios that
can occur if the keys lifetime is persistent:

1. Key type is PSA_KEY_TYPE_NONE, no persistent storage entry:
   -  The key slot is treated as a standard empty key slot
2. Key type is PSA_KEY_TYPE_NONE, persistent storage entry exists:
   -  Attempt to load the key from persistent storage
3. Key type is not PSA_KEY_TYPE_NONE:
   -  As checking persistent storage on every use of the key could
      be expensive, the persistent key is assumed to be saved in
      persistent storage, the in-memory key is continued to be used.
2018-11-20 15:40:25 +00:00
..
2018-08-13 13:49:52 +03:00
2018-06-18 10:30:30 +02:00
2018-07-23 18:18:32 +01:00
2018-07-23 18:18:35 +01:00
2017-09-06 17:51:14 +03:00
2018-11-05 18:08:46 +02:00
2018-05-15 09:21:57 +01:00
2018-11-09 13:57:37 +00:00
2018-11-09 15:01:07 +00:00
2018-07-24 16:43:20 +01:00
2015-09-04 14:21:07 +02:00
2018-10-16 10:41:31 +02:00
2018-05-25 14:54:14 +01:00
2015-09-04 14:21:07 +02:00
2018-11-20 15:40:25 +00:00
2017-10-29 17:53:52 +02:00