iPXE
gcm_context Struct Reference

GCM context. More...

#include <gcm.h>

Data Fields

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

Detailed Description

GCM context.

Definition at line 47 of file gcm.h.

Field Documentation

◆ hash

union gcm_block gcm_context::hash

Accumulated hash (X)

Definition at line 49 of file gcm.h.

Referenced by gcm_hash(), and gcm_process().

◆ len

union gcm_block gcm_context::len

Accumulated lengths.

Definition at line 51 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 53 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 55 of file gcm.h.

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

◆ raw_cipher

struct cipher_algorithm* gcm_context::raw_cipher

Underlying block cipher.

Definition at line 57 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 59 of file gcm.h.

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


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