22#ifndef PSA_CRYPTO_PSA_KEY_ATTRIBUTES_H
23#define PSA_CRYPTO_PSA_KEY_ATTRIBUTES_H
167#define PSA_KEY_ATTRIBUTES_INIT { 0 }
Algorithm definitions for the PSA Crypto API.
uint32_t psa_algorithm_t
Encoding of a cryptographic algorithm.
static psa_key_attributes_t psa_key_attributes_init(void)
Return an initial value for a key attribute object.
#define PSA_KEY_ATTRIBUTES_INIT
This macro returns a suitable initializer for a key attribute object of type psa_key_attributes_t.
Key size definitions for the PSA Crypto API.
uint16_t psa_key_bits_t
Public interfaces use size_t, but internally we use a smaller type.
Key ID definitions for the PSA Crypto API.
uint32_t psa_key_id_t
Key identifier.
Key ilfetime definitions for the PSA Crypto API.
uint32_t psa_key_lifetime_t
Encoding of key lifetimes.
Key type definitions for the PSA Crypto API.
uint16_t psa_key_type_t
Encoding of a key type.
Structure storing key attributes.
psa_key_id_t id
Key identifier.
psa_key_bits_t bits
Size of key in bits.
psa_key_policy_t policy
Key usage policy.
psa_key_type_t type
Type of key.
psa_key_lifetime_t lifetime
Lifetime of key.
Structure storing the key usage policies.
psa_key_usage_t usage
Key usage policy.
psa_algorithm_t alg
Algorithm for key usage.
Key usage definitions for the PSA Crypto API.
uint32_t psa_key_usage_t
Encoding of permitted usage on a key.