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.
Definition at line
81
of file platform/security/sl_component/sl_mbedtls_support/inc/gcm_alt.h
len#
uint64_t mbedtls_gcm_context::len
Total length of encrypted data.
Definition at line
82
of file platform/security/sl_component/sl_mbedtls_support/inc/gcm_alt.h
add_len#
uint64_t mbedtls_gcm_context::add_len
Total length of additional data.
Definition at line
83
of file platform/security/sl_component/sl_mbedtls_support/inc/gcm_alt.h
key#
unsigned char mbedtls_gcm_context::key[32]
AES key 128, 192 or 256 bits.
Definition at line
96
of file platform/security/sl_component/sl_mbedtls_support/inc/gcm_alt.h
mode#
int mbedtls_gcm_context::mode
Encryption or decryption.
Definition at line
97
of file platform/security/sl_component/sl_mbedtls_support/inc/gcm_alt.h
iv_len#
size_t mbedtls_gcm_context::iv_len
IV length.
Definition at line
98
of file platform/security/sl_component/sl_mbedtls_support/inc/gcm_alt.h
last_op#
bool mbedtls_gcm_context::last_op
Last streaming block identified.
Definition at line
99
of file platform/security/sl_component/sl_mbedtls_support/inc/gcm_alt.h
tagbuf#
uint8_t mbedtls_gcm_context::tagbuf[16]
Buffer for storing tag.
Definition at line
100
of file platform/security/sl_component/sl_mbedtls_support/inc/gcm_alt.h
se_ctx_enc#
uint8_t mbedtls_gcm_context::se_ctx_enc[32]
SE GCM encryption state.
Definition at line
101
of file platform/security/sl_component/sl_mbedtls_support/inc/gcm_alt.h
se_ctx_dec#
uint8_t mbedtls_gcm_context::se_ctx_dec[32]
SE GCM decryption state.
Definition at line
102
of file platform/security/sl_component/sl_mbedtls_support/inc/gcm_alt.h