QSC Post Quantum Cryptographic Library 1.0.0.6c (A6)
A post quantum secure library written in Ansi C
 
Loading...
Searching...
No Matches
qsc_aes_gcm256_state Struct Reference

State structure for AES-based Galois Counter Mode (GCM-256). More...

#include <aes.h>

Data Fields

qsc_aes_state cstate
 
uint8_t C [QSC_AES_BLOCK_SIZE]
 
uint8_t H [QSC_AES_BLOCK_SIZE]
 
uint8_t J0 [QSC_AES_BLOCK_SIZE]
 
uint8_t S [QSC_AES_BLOCK_SIZE]
 
uint64_t aadlen
 
uint64_t ctlen
 

Detailed Description

State structure for AES-based Galois Counter Mode (GCM-256).

Combines an AES-256 cipher ctx with a Galois counter mode to implement an AEAD scheme.

See also
qsc_aes_gcm256_set_associated, qsc_aes_gcm256_decrypt, qsc_aes_gcm256_dispose, qsc_aes_gcm256_encrypt, qsc_aes_gcm256_initialize

Field Documentation

◆ aadlen

uint64_t aadlen

[uint64_t] AAD length in bits

◆ C

uint8_t C[QSC_AES_BLOCK_SIZE]

uint8_t[QSC_AES_BLOCK_SIZE] Current counter block

◆ cstate

qsc_aes_state cstate

[struct] Underlying AES cipher ctx

◆ ctlen

uint64_t ctlen

[uint64_t] Ciphertext length in bits

◆ H

uint8_t H[QSC_AES_BLOCK_SIZE]

uint8_t[QSC_AES_BLOCK_SIZE] Hash subkey H = AES(K,0)

◆ J0

uint8_t J0[QSC_AES_BLOCK_SIZE]

uint8_t[QSC_AES_BLOCK_SIZE] Pre-counter block

◆ S

uint8_t S[QSC_AES_BLOCK_SIZE]

uint8_t[QSC_AES_BLOCK_SIZE] GHASH accumulator


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