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 |
The HCG state structure.
This structure holds the internal state of the HCG pseudo-random generator.
Members:
| size_t inflen |
The info string length.
| uint8_t info[QSC_HCG_MAX_INFO_SIZE] |
The info string.
| uint8_t key[QSC_HCG_KEY_SIZE] |
The key cache.
| uint8_t nonce[QSC_HCG_NONCE_SIZE] |
The nonce array.
| bool pres |
The predictive resistance flag.
| size_t rpos |
The reseed position.