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

The HCG state structure. More...

#include <hcg.h>

Data Fields

uint8_t key [QSC_HCG_KEY_SIZE]
 
uint8_t info [QSC_HCG_MAX_INFO_SIZE]
 
uint8_t nonce [QSC_HCG_NONCE_SIZE]
 
size_t inflen
 
size_t rpos
 
bool pres
 

Detailed Description

The HCG state structure.

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

Members:

  • key: [uint8_t[QSC_HCG_KEY_SIZE]] The key cache.
  • info: [uint8_t[QSC_HCG_MAX_INFO_SIZE]] The info string.
  • nonce: [uint8_t[QSC_HCG_NONCE_SIZE]] The nonce array.
  • inflen: [size_t] The info string length.
  • rpos: [size_t] The reseed position.
  • pres: [bool] The predictive resistance flag.

Field Documentation

◆ inflen

size_t inflen

The info string length.

◆ info

uint8_t info[QSC_HCG_MAX_INFO_SIZE]

The info string.

◆ key

uint8_t key[QSC_HCG_KEY_SIZE]

The key cache.

◆ nonce

uint8_t nonce[QSC_HCG_NONCE_SIZE]

The nonce array.

◆ pres

bool pres

The predictive resistance flag.

◆ rpos

size_t rpos

The reseed position.


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