|
Platform Security Architecture — cryptography and keystore interface
beta 2 — 2019-02-22
|
Macros | |
| #define | PSA_KEY_LIFETIME_VOLATILE ((psa_key_lifetime_t)0x00000000) |
| #define | PSA_KEY_LIFETIME_PERSISTENT ((psa_key_lifetime_t)0x00000001) |
Typedefs | |
| typedef uint32_t | psa_key_lifetime_t |
| typedef uint32_t | psa_key_id_t |
| #define PSA_KEY_LIFETIME_PERSISTENT ((psa_key_lifetime_t)0x00000001) |
The default storage area 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 not define any mechanism to wipe a storage area, but implementations may provide their own mechanism (for example to perform a factory reset, to prepare for device refurbishment, or to uninstall an application).
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.
| #define PSA_KEY_LIFETIME_VOLATILE ((psa_key_lifetime_t)0x00000000) |
A volatile key only exists as long as the handle to it is not closed. The key material is guaranteed to be erased on a power reset.
| typedef uint32_t psa_key_id_t |
Encoding of identifiers of persistent keys.
| typedef uint32_t psa_key_lifetime_t |
Encoding of key lifetimes.
1.8.11