The GCM context structure. More...
#include <gcm.h>

Public Attributes | |
| 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 |
The GCM context structure.
| uint64_t mbedtls_gcm_context::add_len |
The total length of the additional data.
| unsigned char mbedtls_gcm_context::base_ectr[16] |
The first ECTR for tag.
| unsigned char mbedtls_gcm_context::buf[16] |
The buf working value.
| mbedtls_cipher_context_t mbedtls_gcm_context::cipher_ctx |
The cipher context used.
| uint64_t mbedtls_gcm_context::HH[16] |
Precalculated HTable high.
| uint64_t mbedtls_gcm_context::HL[16] |
Precalculated HTable low.
| uint64_t mbedtls_gcm_context::len |
The total length of the encrypted data.
| int mbedtls_gcm_context::mode |
The operation to perform: MBEDTLS_GCM_ENCRYPT or MBEDTLS_GCM_DECRYPT.
| unsigned char mbedtls_gcm_context::y[16] |
The Y working value.