23 #ifndef ASCON_RANDOM_H
24 #define ASCON_RANDOM_H
int ascon_random_reseed(ascon_random_state_t *state)
Explicitly re-seeds a pseudorandom number generator from the system random number source.
void ascon_random_fetch(ascon_random_state_t *state, unsigned char *out, size_t outlen)
Fetches data from a pseudorandom number generator.
int ascon_random(unsigned char *out, size_t outlen)
Gets a block of random data from the system.
void ascon_random_free(ascon_random_state_t *state)
Frees a pseudorandom number generator and destroys any sensitive values.
int ascon_random_init(ascon_random_state_t *state)
Initializes a pseudorandom number generator from the system random number source.
void ascon_random_feed(ascon_random_state_t *state, const unsigned char *entropy, size_t size)
Feeds entropy into a pseudorandom number generator.
ascon_state_t state
[snippet_key]
State information for a pseudorandom number generator.
State information for ASCON-XOF incremental mode.
ASCON-XOF and ASCON-XOFA extensible output functions (XOF's).