xdrbg.h
error_t xdrbgGenerateEx(XdrbgContext *context, const uint8_t *alpha, size_t alphaLen, uint8_t *output, size_t outputLen)
Generate pseudorandom data (with additional input)
Definition: xdrbg.c:316
Collection of XOF algorithms.
General definitions for cryptographic algorithms.
error_t xdrbgGenerate(XdrbgContext *context, uint8_t *output, size_t length)
Generate pseudorandom data.
Definition: xdrbg.c:299
error_t xdrbgSeed(XdrbgContext *context, const uint8_t *seed, size_t length)
Seed the PRNG state.
Definition: xdrbg.c:130
error_t xdrbgSeedEx(XdrbgContext *context, const uint8_t *seed, size_t seedLen, const uint8_t *alpha, size_t alphaLen)
Seed the PRNG state (with nonce and personalization string)
Definition: xdrbg.c:147
error_t xdrbgReseedEx(XdrbgContext *context, const uint8_t *seed, size_t seedLen, const uint8_t *alpha, size_t alphaLen)
Reseed the PRNG state (with additional input)
Definition: xdrbg.c:229
error_t xdrbgReseed(XdrbgContext *context, const uint8_t *seed, size_t length)
Reseed the PRNG state.
Definition: xdrbg.c:212
error_t xdrbgInit(XdrbgContext *context, const XofAlgo *xofAlgo)
Initialize PRNG context.
Definition: xdrbg.c:62