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 |
The CSG state structure.
This structure holds the internal state of the CSG pseudo-random generator.
size_t bctr |
The bytes counter.
uint8_t cache[QSC_KECCAK_256_RATE] |
The cache buffer.
size_t cpos |
The cache position.
size_t crmd |
The cache remainder.
qsc_keccak_state kstate |
The Keccak state.
bool pres |
The predictive resistance flag.
size_t rate |
[The absorption rate.