Data Fields
gcm_block Union Reference

A GCM block. More...

#include <gcm.h>

Data Fields

uint8_t byte [16]
 Raw bytes. More...
uint16_t word [8]
 Raw words. More...
uint32_t dword [4]
 Raw dwords. More...
struct gcm_counter ctr
 Counter. More...
struct gcm_lengths len
 Lengths. More...

Detailed Description

A GCM block.

Definition at line 32 of file gcm.h.

Field Documentation

◆ byte

uint8_t gcm_block::byte[16]

Raw bytes.

Definition at line 34 of file gcm.h.

Referenced by gcm_multiply_key(), gcm_multiply_x(), and gcm_multiply_x_8().

◆ word

uint16_t gcm_block::word[8]

Raw words.

Definition at line 36 of file gcm.h.

Referenced by gcm_multiply_x_8().

◆ dword

uint32_t gcm_block::dword[4]

Raw dwords.

Definition at line 38 of file gcm.h.

◆ ctr

struct gcm_counter gcm_block::ctr


Definition at line 40 of file gcm.h.

Referenced by gcm_setiv(), and gcm_setkey().

◆ len

struct gcm_lengths gcm_block::len


Definition at line 42 of file gcm.h.

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

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