BearSSL
Data Fields
br_gcm_context Struct Reference

Context structure for GCM. More...

Data Fields

const br_aead_class * vtable
 Pointer to vtable for this context. More...
 

Detailed Description

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.

Field Documentation

◆ vtable

const br_aead_class* br_gcm_context::vtable

Pointer to vtable for this context.


The documentation for this struct was generated from the following file: