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

The CSG state structure. More...

#include <csg.h>

Data Fields

qsc_keccak_state kstate
 
uint8_t cache [QSC_KECCAK_256_RATE]
 
size_t bctr
 
size_t cpos
 
size_t crmd
 
size_t rate
 
bool pres
 

Detailed Description

The CSG state structure.

This structure holds the internal state of the CSG pseudo-random generator.

Field Documentation

◆ bctr

size_t bctr

The bytes counter.

◆ cache

uint8_t cache[QSC_KECCAK_256_RATE]

The cache buffer.

◆ cpos

size_t cpos

The cache position.

◆ crmd

size_t crmd

The cache remainder.

◆ kstate

The Keccak state.

◆ pres

bool pres

The predictive resistance flag.

◆ rate

size_t rate

[The absorption rate.


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