mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-16 04:20:49 +00:00
Clarify psa_destroy_key documentation
Co-authored-by: Janos Follath <janos.follath@arm.com> Signed-off-by: Ryan Everett <144035422+Ryan-Everett-arm@users.noreply.github.com>
This commit is contained in:
parent
38a2b7a6a3
commit
4a0ba80bdb
@ -1118,7 +1118,7 @@ psa_status_t psa_destroy_key(mbedtls_svc_key_id_t key)
|
||||
|
||||
#if defined(MBEDTLS_PSA_CRYPTO_STORAGE_C)
|
||||
if (!PSA_KEY_LIFETIME_IS_VOLATILE(slot->attr.lifetime)) {
|
||||
/* Destroy the copy of the persistent key from memory.
|
||||
/* Destroy the copy of the persistent key from storage.
|
||||
* The slot will still hold a copy of the key until the last reader
|
||||
* unregisters. */
|
||||
status = psa_destroy_persistent_key(slot->attr.id);
|
||||
|
Loading…
x
Reference in New Issue
Block a user