PSA_KEY_LIFETIME_VOLATILE macro
The default lifetime for volatile keys. A volatile key only exists as long as the identifier to it is not destroyed. The key material is guaranteed to be erased on a power reset. A key with this lifetime is typically stored in the RAM area of the PSA Crypto subsystem. However this is an implementation choice. If an implementation stores data about the key in a non-volatile memory, it must release all the resources associated with the key and erase the key material if the calling application terminates.
![]()
PSA_KEY_LIFETIME_VOLATILE, \