264 const byte* entropyA, word32 entropyASz,
265 const byte* entropyB, word32 entropyBSz,
266 byte* output, word32 outputSz);
WOLFSSL_API int wc_RNG_HealthTest(int reseed, const byte *entropyA, word32 entropyASz, const byte *entropyB, word32 entropyBSz, byte *output, word32 outputSz)
Creates and tests functionality of drbg.
Definition: random.c:1024
WOLFSSL_API int wc_RNG_GenerateBlock(WC_RNG *, byte *, word32 sz)
Copies a sz bytes of pseudorandom data to output. Will reseed rng if needed (blocking).
Definition: random.c:896
WOLFSSL_API int wc_RNG_GenerateByte(WC_RNG *, byte *)
Calls wc_RNG_GenerateBlock to copy a byte of pseudorandom data to b. Will reseed rng if needed...
Definition: random.c:989
WOLFSSL_API int wc_InitRng(WC_RNG *)
Gets the seed (from OS) and key cipher for rng. rng->drbg (deterministic random bit generator) alloca...
Definition: random.c:869
WOLFSSL_API int wc_InitNetRandom(const char *, wnr_hmac_key, int)
Init global Whitewood netRandom context.
Definition: random.c:1231
WOLFSSL_API int wc_FreeNetRandom(void)
Free global Whitewood netRandom context.
Definition: random.c:1296
WOLFSSL_API int wc_FreeRng(WC_RNG *)
Should be called when RNG no longer needed in order to securely free drgb. Zeros and XFREEs rng-drbg...
Definition: random.c:995