gcm_context Struct Reference

GCM context structure. More...

#include <gcm.h>

Collaboration diagram for gcm_context:
Collaboration graph
[legend]

Data Fields

cipher_context_t cipher_ctx
uint64_t HL [16]
uint64_t HH [16]
uint64_t len
uint64_t add_len
unsigned char base_ectr [16]
unsigned char y [16]
unsigned char buf [16]
int mode

Detailed Description

GCM context structure.

Definition at line 53 of file gcm.h.


Field Documentation

Total add length

Definition at line 58 of file gcm.h.

Referenced by gcm_finish(), and gcm_starts().

unsigned char gcm_context::base_ectr[16]

First ECTR for tag

Definition at line 59 of file gcm.h.

Referenced by gcm_finish(), and gcm_starts().

unsigned char gcm_context::buf[16]

buf working value

Definition at line 61 of file gcm.h.

Referenced by gcm_finish(), gcm_starts(), and gcm_update().

cipher context used

Definition at line 54 of file gcm.h.

Referenced by gcm_free(), gcm_gen_table(), gcm_init(), gcm_starts(), and gcm_update().

uint64_t gcm_context::HH[16]

Precalculated HTable

Definition at line 56 of file gcm.h.

Referenced by gcm_gen_table(), and gcm_mult().

uint64_t gcm_context::HL[16]

Precalculated HTable

Definition at line 55 of file gcm.h.

Referenced by gcm_gen_table(), and gcm_mult().

uint64_t gcm_context::len

Total data length

Definition at line 57 of file gcm.h.

Referenced by gcm_finish(), gcm_starts(), and gcm_update().

Encrypt or Decrypt

Definition at line 62 of file gcm.h.

Referenced by gcm_starts(), and gcm_update().

unsigned char gcm_context::y[16]

Y working value

Definition at line 60 of file gcm.h.

Referenced by gcm_starts(), and gcm_update().


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

Generated on 9 Apr 2014 for PolarSSL v1.3.2 by  doxygen 1.6.1