Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

mbedtls_gcm_context Struct Reference

mbedtls_gcm_context Struct Reference

The GCM context structure. More...

#include <gcm.h>

Data Fields

mbedtls_cipher_context_t cipher_ctx
uint64_t HL [16]
uint64_t HH [16]
uint64_t len
uint64_t add_len
unsigned char base_ectr [16]
unsigned char y [16]
unsigned char buf [16]
int mode

Detailed Description

The GCM context structure.

Definition at line 65 of file gcm.h.


Field Documentation

uint64_t add_len

The total length of the additional data.

Definition at line 71 of file gcm.h.

unsigned char base_ectr[16]

The first ECTR for tag.

Definition at line 72 of file gcm.h.

unsigned char buf[16]

The buf working value.

Definition at line 74 of file gcm.h.

The cipher context used.

Definition at line 67 of file gcm.h.

uint64_t HH[16]

Precalculated HTable high.

Definition at line 69 of file gcm.h.

uint64_t HL[16]

Precalculated HTable low.

Definition at line 68 of file gcm.h.

uint64_t len

The total length of the encrypted data.

Definition at line 70 of file gcm.h.

int mode

The operation to perform: MBEDTLS_GCM_ENCRYPT or MBEDTLS_GCM_DECRYPT.

Definition at line 75 of file gcm.h.

unsigned char y[16]

The Y working value.

Definition at line 73 of file gcm.h.