The GCM context structure.

Public Attributes#

unsigned int

Size of key.

uint64_t

Total length of encrypted data.

uint64_t

Total length of additional data.

unsigned char

AES key 128, 192 or 256 bits.

int

Encryption or decryption.

size_t

IV length.

bool

Last streaming block identified.

uint8_t

Buffer for storing tag.

uint8_t

SE GCM encryption state.

uint8_t

SE GCM decryption state.

Public Attribute Documentation#

keybits#

unsigned int mbedtls_gcm_context::keybits

Size of key.


len#

uint64_t mbedtls_gcm_context::len

Total length of encrypted data.


add_len#

uint64_t mbedtls_gcm_context::add_len

Total length of additional data.


key#

unsigned char mbedtls_gcm_context::key[32]

AES key 128, 192 or 256 bits.


mode#

int mbedtls_gcm_context::mode

Encryption or decryption.


iv_len#

size_t mbedtls_gcm_context::iv_len

IV length.


last_op#

bool mbedtls_gcm_context::last_op

Last streaming block identified.


tagbuf#

uint8_t mbedtls_gcm_context::tagbuf[16]

Buffer for storing tag.


se_ctx_enc#

uint8_t mbedtls_gcm_context::se_ctx_enc[32]

SE GCM encryption state.


se_ctx_dec#

uint8_t mbedtls_gcm_context::se_ctx_dec[32]

SE GCM decryption state.