mbed TLS v3.1.0
Data Fields
psa_aead_operation_s Struct Reference

#include <crypto_struct.h>

Collaboration diagram for psa_aead_operation_s:
Collaboration graph
[legend]

Data Fields

unsigned int private_id
 
psa_algorithm_t private_alg
 
psa_key_type_t private_key_type
 
size_t private_ad_remaining
 
size_t private_body_remaining
 
unsigned int private_nonce_set: 1
 
unsigned int private_lengths_set: 1
 
unsigned int private_ad_started: 1
 
unsigned int private_body_started: 1
 
unsigned int private_is_encrypt: 1
 
psa_driver_aead_context_t private_ctx
 

Detailed Description

Definition at line 151 of file crypto_struct.h.

Field Documentation

size_t psa_aead_operation_s::private_ad_remaining

Definition at line 165 of file crypto_struct.h.

unsigned int psa_aead_operation_s::private_ad_started

Definition at line 170 of file crypto_struct.h.

psa_algorithm_t psa_aead_operation_s::private_alg

Definition at line 162 of file crypto_struct.h.

size_t psa_aead_operation_s::private_body_remaining

Definition at line 166 of file crypto_struct.h.

unsigned int psa_aead_operation_s::private_body_started

Definition at line 171 of file crypto_struct.h.

psa_driver_aead_context_t psa_aead_operation_s::private_ctx

Definition at line 174 of file crypto_struct.h.

unsigned int psa_aead_operation_s::private_id

Unique ID indicating which driver got assigned to do the operation. Since driver contexts are driver-specific, swapping drivers halfway through the operation is not supported. ID values are auto-generated in psa_crypto_driver_wrappers.h ID value zero means the context is not valid or not assigned to any driver (i.e. none of the driver contexts are active).

Definition at line 160 of file crypto_struct.h.

unsigned int psa_aead_operation_s::private_is_encrypt

Definition at line 172 of file crypto_struct.h.

psa_key_type_t psa_aead_operation_s::private_key_type

Definition at line 163 of file crypto_struct.h.

unsigned int psa_aead_operation_s::private_lengths_set

Definition at line 169 of file crypto_struct.h.

unsigned int psa_aead_operation_s::private_nonce_set

Definition at line 168 of file crypto_struct.h.


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