*
* \brief Generic interface for cryptographically-secure pseudo-RNG
* \author Giovanni Bajo <rasky@develer.com>
*
* \brief Generic interface for cryptographically-secure pseudo-RNG
* \author Giovanni Bajo <rasky@develer.com>
void (*reseed)(struct PRNG *ctx, const uint8_t *seed);
void (*generate)(struct PRNG *ctx, uint8_t *data, size_t len);
void (*reseed)(struct PRNG *ctx, const uint8_t *seed);
void (*generate)(struct PRNG *ctx, uint8_t *data, size_t len);
* \note: Being a cryptographically-secure PRNG, the seed will be
* mixed to the current state of the generator, so it is NOT possible
* to generate the same sequence simply by using the same seed. If you
* \note: Being a cryptographically-secure PRNG, the seed will be
* mixed to the current state of the generator, so it is NOT possible
* to generate the same sequence simply by using the same seed. If you