mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-02-24 04:26:46 +00:00
Fix macros
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
e3871f8ae8
commit
4cfa443d2a
|
@ -1586,10 +1586,10 @@
|
||||||
#define PSA_KEY_PERSISTENCE_READ_ONLY ((psa_key_persistence_t)0xff)
|
#define PSA_KEY_PERSISTENCE_READ_ONLY ((psa_key_persistence_t)0xff)
|
||||||
|
|
||||||
#define PSA_KEY_LIFETIME_GET_PERSISTENCE(lifetime) \
|
#define PSA_KEY_LIFETIME_GET_PERSISTENCE(lifetime) \
|
||||||
((psa_key_persistence_t)((lifetime) & 0x000000ff)
|
((psa_key_persistence_t)((lifetime) & 0x000000ff))
|
||||||
|
|
||||||
#define PSA_KEY_LIFETIME_GET_LOCATION(lifetime) \
|
#define PSA_KEY_LIFETIME_GET_LOCATION(lifetime) \
|
||||||
((psa_key_location_t)((lifetime) >> 8)
|
((psa_key_location_t)((lifetime) >> 8))
|
||||||
|
|
||||||
/** Whether a key lifetime indicates that the key is volatile.
|
/** Whether a key lifetime indicates that the key is volatile.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue