LibISAAC
1.0.0
A modern reimplementation of the ISAAC CPRNG.
|
Context of the ISAAC CPRNG. More...
#include <isaac.h>
Data Fields | |
isaac_uint_t | result [ISAAC_ELEMENTS] |
In this field the pseudo-random data is generated. | |
isaac_uint_t | mem [ISAAC_ELEMENTS] |
Internal field. | |
isaac_uint_t | a |
Internal field. | |
isaac_uint_t | b |
Internal field. | |
isaac_uint_t | c |
Internal field. | |
isaac_uint_t | stream_index |
Index of the next value to output in the stream. More... | |
Context of the ISAAC CPRNG.
No need to inspect it manually, use the functions instead.
Maps to randctx
from the original implementation.
isaac_uint_t isaac_ctx_t::stream_index |
Index of the next value to output in the stream.
Note: this value could be a uint16_t instead of a isaac_uint_t, but by using an isaac_uint_t we avoid any padding at the end of the struct.