iPXE
Data Fields
gcm_context Struct Reference

GCM context. More...

#include <gcm.h>

Data Fields

union gcm_block hash
 Accumulated hash (X) More...
 
union gcm_block len
 Accumulated lengths. More...
 
union gcm_block ctr
 Counter (Y) More...
 
union gcm_block key
 Hash key (H) More...
 
struct cipher_algorithmraw_cipher
 Underlying block cipher. More...
 
uint8_t raw_ctx [0]
 Underlying block cipher context. More...
 

Detailed Description

GCM context.

Definition at line 46 of file gcm.h.

Field Documentation

◆ hash

union gcm_block gcm_context::hash

Accumulated hash (X)

Definition at line 48 of file gcm.h.

Referenced by gcm_hash(), gcm_process(), and gcm_setiv().

◆ len

union gcm_block gcm_context::len

Accumulated lengths.

Definition at line 50 of file gcm.h.

Referenced by gcm_hash(), gcm_process(), gcm_setiv(), and gcm_tag().

◆ ctr

union gcm_block gcm_context::ctr

Counter (Y)

Definition at line 52 of file gcm.h.

Referenced by gcm_process(), gcm_setiv(), gcm_setkey(), and gcm_tag().

◆ key

union gcm_block gcm_context::key

Hash key (H)

Definition at line 54 of file gcm.h.

Referenced by gcm_hash(), gcm_process(), gcm_setiv(), and gcm_setkey().

◆ raw_cipher

struct cipher_algorithm* gcm_context::raw_cipher

Underlying block cipher.

Definition at line 56 of file gcm.h.

Referenced by gcm_process(), gcm_setkey(), and gcm_tag().

◆ raw_ctx

uint8_t gcm_context::raw_ctx[0]

Underlying block cipher context.

Definition at line 58 of file gcm.h.

Referenced by gcm_process(), gcm_setkey(), and gcm_tag().


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