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:
Ryan Everett 2024-01-17 14:12:33 +00:00 committed by GitHub
parent 38a2b7a6a3
commit 4a0ba80bdb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);