mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-10-25 23:47:03 +00:00
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.
|
||
|---|---|---|
| .. | ||
| data_files | ||
| abi_check.py | ||
| apidoc_full.sh | ||
| bump_version.sh | ||
| config.pl | ||
| ecc-heap.sh | ||
| find-mem-leak.cocci | ||
| footprint.sh | ||
| generate_errors.pl | ||
| generate_features.pl | ||
| generate_psa_constants.py | ||
| generate_visualc_files.pl | ||
| massif_max.pl | ||
| mbed_crypto.make | ||
| memory.sh | ||
| output_env.sh | ||
| rename.pl | ||
| rm-calloc-cast.cocci | ||
| tmp_ignore_makefiles.sh | ||