TF-M Reference Manual  1.2.0
TrustedFirmware-M
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
crypto_struct.h File Reference

PSA cryptography module: structured type implementations. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  psa_hash_operation_s
 
struct  psa_mac_operation_s
 
struct  psa_cipher_operation_s
 
struct  psa_aead_operation_s
 
struct  psa_key_derivation_s
 

Macros

#define PSA_HASH_OPERATION_INIT   {0}
 
#define PSA_MAC_OPERATION_INIT   {0}
 
#define PSA_CIPHER_OPERATION_INIT   {0}
 
#define PSA_AEAD_OPERATION_INIT   {0}
 
#define PSA_KEY_DERIVATION_OPERATION_INIT   {0}
 
#define PSA_KEY_BITS_TOO_LARGE   ( (psa_key_bits_t) ( -1 ) )
 
#define PSA_MAX_KEY_BITS   0xfff8
 
#define PSA_KEY_ATTRIBUTES_INIT   PSA_CLIENT_KEY_ATTRIBUTES_INIT
 

Typedefs

typedef uint16_t psa_key_bits_t
 

Detailed Description

PSA cryptography module: structured type implementations.

Note
This file may not be included directly. Applications must include psa/crypto.h.

This file contains the definitions of some data structures with implementation-specific definitions.

In implementations with isolation between the application and the cryptography module, it is expected that the front-end and the back-end would have different versions of this file.

Definition in file crypto_struct.h.

Macro Definition Documentation

#define PSA_AEAD_OPERATION_INIT   {0}

Definition at line 88 of file crypto_struct.h.

#define PSA_CIPHER_OPERATION_INIT   {0}

Definition at line 76 of file crypto_struct.h.

#define PSA_HASH_OPERATION_INIT   {0}

Definition at line 52 of file crypto_struct.h.

#define PSA_KEY_ATTRIBUTES_INIT   PSA_CLIENT_KEY_ATTRIBUTES_INIT

Definition at line 120 of file crypto_struct.h.

#define PSA_KEY_BITS_TOO_LARGE   ( (psa_key_bits_t) ( -1 ) )

Definition at line 112 of file crypto_struct.h.

#define PSA_KEY_DERIVATION_OPERATION_INIT   {0}

Definition at line 100 of file crypto_struct.h.

#define PSA_MAC_OPERATION_INIT   {0}

Definition at line 64 of file crypto_struct.h.

#define PSA_MAX_KEY_BITS   0xfff8

Definition at line 118 of file crypto_struct.h.

Typedef Documentation

typedef uint16_t psa_key_bits_t

Definition at line 109 of file crypto_struct.h.