Structure definitions for PSA Crypto. More...
Structure definitions for PSA Crypto.
Definition in file crypto_struct.h.
Go to the source code of this file.
Data Structures | |
struct | psa_key_policy_s |
Structure storing the key usage policies. More... | |
struct | psa_key_attributes_s |
Structure storing key attributes. More... | |
struct | psa_aead_operation_s |
Structure storing an AEAD operation context. More... | |
struct | psa_cipher_operation_s |
Structure storing a cipher operation context. More... | |
union | psa_cipher_operation_s::cipher_context |
Union containing cipher contexts for the executing backend. More... | |
struct | psa_key_derivation_operation_s |
Structure storing a key derivation context. More... | |
struct | psa_hash_operation_s |
Structure containing a hash context and algorithm. More... | |
struct | psa_mac_operation_s |
Structure storing a MAC operation context. More... | |
#define | PSA_KEY_ATTRIBUTES_INIT { 0 } |
This macro returns a suitable initializer for a key attribute object of type psa_key_attributes_t. | |
#define | PSA_AEAD_OPERATION_INIT { 0 } |
This macro returns a suitable initializer for an AEAD operation object of type psa_aead_operation_t. | |
#define | PSA_CIPHER_OPERATION_INIT { 0 } |
This macro returns a suitable initializer for a cipher operation object of type psa_cipher_operation_t. | |
#define | PSA_KEY_DERIVATION_OPERATION_INIT { 0 } |
This macro returns a suitable initializer for a key derivation operation object of type psa_key_derivation_operation_t. | |
#define | PSA_HASH_OPERATION_INIT { 0 } |
This macro returns a suitable initializer for a hash operation object of type psa_hash_operation_t. | |
#define | PSA_MAC_OPERATION_INIT { 0 } |
This macro returns a suitable initializer for a MAC operation object of type psa_mac_operation_t. | |
typedef struct psa_key_policy_s | psa_key_policy_t |
Type for key usage policies. | |
static struct psa_key_attributes_s | psa_key_attributes_init (void) |
Return an initial value for a key attribute object. | |
static struct psa_aead_operation_s | psa_aead_operation_init (void) |
Return an initial value for an AEAD operation object. | |
static struct psa_cipher_operation_s | psa_cipher_operation_init (void) |
Return an initial value for a cipher operation object. | |
static struct psa_key_derivation_operation_s | psa_key_derivation_operation_init (void) |
Return an initial value for a key derivation operation object. | |
static struct psa_hash_operation_s | psa_hash_operation_init (void) |
Return an initial value for a hash operation object. | |
static struct psa_mac_operation_s | psa_mac_operation_init (void) |
Return an initial value for a MAC operation object. | |
#define PSA_AEAD_OPERATION_INIT { 0 } |
This macro returns a suitable initializer for an AEAD operation object of type psa_aead_operation_t.
Definition at line 89 of file crypto_struct.h.
#define PSA_CIPHER_OPERATION_INIT { 0 } |
This macro returns a suitable initializer for a cipher operation object of type psa_cipher_operation_t.
Definition at line 126 of file crypto_struct.h.
#define PSA_HASH_OPERATION_INIT { 0 } |
This macro returns a suitable initializer for a hash operation object of type psa_hash_operation_t.
Definition at line 185 of file crypto_struct.h.
#define PSA_KEY_ATTRIBUTES_INIT { 0 } |
This macro returns a suitable initializer for a key attribute object of type psa_key_attributes_t.
Definition at line 60 of file crypto_struct.h.
#define PSA_KEY_DERIVATION_OPERATION_INIT { 0 } |
This macro returns a suitable initializer for a key derivation operation object of type psa_key_derivation_operation_t.
Definition at line 146 of file crypto_struct.h.
#define PSA_MAC_OPERATION_INIT { 0 } |
This macro returns a suitable initializer for a MAC operation object of type psa_mac_operation_t.
Definition at line 205 of file crypto_struct.h.
typedef struct psa_key_policy_s psa_key_policy_t |
Type for key usage policies.
Definition at line 43 of file crypto_struct.h.
|
inlinestatic |
Return an initial value for an AEAD operation object.
Definition at line 96 of file crypto_struct.h.
|
inlinestatic |
Return an initial value for a cipher operation object.
Definition at line 133 of file crypto_struct.h.
|
inlinestatic |
Return an initial value for a hash operation object.
Definition at line 192 of file crypto_struct.h.
|
inlinestatic |
Return an initial value for a key attribute object.
Definition at line 67 of file crypto_struct.h.
|
inlinestatic |
Return an initial value for a key derivation operation object.
Definition at line 162 of file crypto_struct.h.
|
inlinestatic |
Return an initial value for a MAC operation object.
Definition at line 221 of file crypto_struct.h.