The GCM context structure.

Definition at line 82 of file gcm_alt.h.

#include <gcm_alt.h>

Data Fields

unsigned int keybits
 
uint64_t len
 
uint64_t add_len
 
CRYPTO_DData_TypeDef key
 
int mode
 
CRYPTO_TypeDef * device
 
CRYPTO_Data_TypeDef ghash_state
 
CRYPTO_Data_TypeDef gctr_state
 
CRYPTO_Data_TypeDef ghash_key
 

Field Documentation

uint64_t mbedtls_gcm_context::add_len

Total length of additional data.

Definition at line 85 of file gcm_alt.h.

CRYPTO_TypeDef* mbedtls_gcm_context::device

CRYPTO device to use

Definition at line 91 of file gcm_alt.h.

CRYPTO_Data_TypeDef mbedtls_gcm_context::gctr_state

GCTR counter value

Definition at line 93 of file gcm_alt.h.

CRYPTO_Data_TypeDef mbedtls_gcm_context::ghash_key

GHASH key (is a constant value which is faster to restore than to reconstruct each time).

Definition at line 94 of file gcm_alt.h.

CRYPTO_Data_TypeDef mbedtls_gcm_context::ghash_state

GHASH state

Definition at line 92 of file gcm_alt.h.

CRYPTO_DData_TypeDef mbedtls_gcm_context::key

AES key, 128 or 256 bits

Definition at line 89 of file gcm_alt.h.

unsigned int mbedtls_gcm_context::keybits

Size of key

Definition at line 83 of file gcm_alt.h.

uint64_t mbedtls_gcm_context::len

Total length of encrypted data.

Definition at line 84 of file gcm_alt.h.

int mbedtls_gcm_context::mode

Encryption or decryption

Definition at line 90 of file gcm_alt.h.


The documentation for this struct was generated from the following file:
  • gcm_alt.h