BearSSL
|
Context structure for GCM. More...
Data Fields | |
const br_aead_class * | vtable |
Pointer to vtable for this context. More... | |
Context structure for GCM.
GCM is an AEAD mode that combines a block cipher in CTR mode with a MAC based on GHASH, to provide authenticated encryption:
The GCM initialisation function receives as parameter an initialised block cipher implementation context, with the secret key already set. A pointer to that context will be kept within the GCM context structure. It is up to the caller to allocate and initialise that block cipher context.
const br_aead_class* br_gcm_context::vtable |
Pointer to vtable for this context.