From 5dcb74f02fd8f2b090abc38df471492200d2dbe4 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Mon, 4 May 2020 18:42:44 +0200 Subject: [PATCH] PSA_KEY_LIFETIME_PERSISTENT is a lifetime, not just a storage area Signed-off-by: Gilles Peskine --- include/psa/crypto_values.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/psa/crypto_values.h b/include/psa/crypto_values.h index 1d2068b38..ded1756e2 100644 --- a/include/psa/crypto_values.h +++ b/include/psa/crypto_values.h @@ -1552,7 +1552,7 @@ */ #define PSA_KEY_LIFETIME_VOLATILE ((psa_key_lifetime_t)0x00000000) -/** The default storage area for persistent keys. +/** The default lifetime for persistent keys. * * A persistent key remains in storage until it is explicitly destroyed or * until the corresponding storage area is wiped. This specification does @@ -1563,7 +1563,7 @@ * This lifetime value is the default storage area for the calling * application. Implementations may offer other storage areas designated * by other lifetime values as implementation-specific extensions. - * See ::psa_key_lifetime_location_t for more information. + * See ::psa_key_lifetime_t for more information. */ #define PSA_KEY_LIFETIME_PERSISTENT ((psa_key_lifetime_t)0x00000001)