Crypto++ 8.7
Free C++ class library of cryptographic schemes
Public Types | List of all members
GCM< T_BlockCipher, T_TablesOption > Struct Template Reference

GCM block cipher mode of operation. More...

#include <gcm.h>

+ Inheritance diagram for GCM< T_BlockCipher, T_TablesOption >:

Public Types

typedef GCM_Final< T_BlockCipher, T_TablesOption, true > Encryption
 
typedef GCM_Final< T_BlockCipher, T_TablesOption, false > Decryption
 
- Public Types inherited from AuthenticatedSymmetricCipherDocumentation
typedef AuthenticatedSymmetricCipher Encryption
 implements the AuthenticatedSymmetricCipher interface More...
 
typedef AuthenticatedSymmetricCipher Decryption
 implements the AuthenticatedSymmetricCipher interface More...
 

Detailed Description

template<class T_BlockCipher, GCM_TablesOption T_TablesOption = GCM_2K_Tables>
struct GCM< T_BlockCipher, T_TablesOption >

GCM block cipher mode of operation.

Template Parameters
T_BlockCipherblock cipher
T_TablesOptiontable size, either GCM_2K_Tables or GCM_64K_Tables

GCM provides the Encryption and Decryption typedef. See GCM_Base and GCM_Final for the AuthenticatedSymmetricCipher implementation.

See also
GCM Mode and Modes of Operation on the Crypto++ wiki.
Since
Crypto++ 5.6.0

Definition at line 131 of file gcm.h.

Member Typedef Documentation

◆ Encryption

template<class T_BlockCipher , GCM_TablesOption T_TablesOption = GCM_2K_Tables>
typedef GCM_Final<T_BlockCipher, T_TablesOption, true> GCM< T_BlockCipher, T_TablesOption >::Encryption

Definition at line 133 of file gcm.h.

◆ Decryption

template<class T_BlockCipher , GCM_TablesOption T_TablesOption = GCM_2K_Tables>
typedef GCM_Final<T_BlockCipher, T_TablesOption, false> GCM< T_BlockCipher, T_TablesOption >::Decryption

Definition at line 134 of file gcm.h.


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