TF-M Reference Manual  1.2.0
TrustedFirmware-M
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
tfm_crypto_operation_s Struct Reference
Collaboration diagram for tfm_crypto_operation_s:

Data Fields

uint32_t in_use
 
int32_t owner
 
enum tfm_crypto_operation_type type
 
union {
   psa_cipher_operation_t   cipher
 
   psa_mac_operation_t   mac
 
   psa_hash_operation_t   hash
 
   psa_key_derivation_operation_t   key_deriv
 
operation
 

Detailed Description

Definition at line 28 of file crypto_alloc.c.

Field Documentation

Cipher operation context

Definition at line 35 of file crypto_alloc.c.

Hash operation context

Definition at line 37 of file crypto_alloc.c.

uint32_t in_use

Indicates if the operation is in use

Definition at line 29 of file crypto_alloc.c.

Key derivation operation context

Definition at line 38 of file crypto_alloc.c.

MAC operation context

Definition at line 36 of file crypto_alloc.c.

union { ... } operation
int32_t owner

Indicates an ID of the owner of the context

Definition at line 30 of file crypto_alloc.c.

Type of the operation

Definition at line 33 of file crypto_alloc.c.


The documentation for this struct was generated from the following file: