For ANSI and FIPS140 ANSI RNGs, updates the RNG context object with the given seed data.
#include "hurandom.h"
int hu_RngReseed(sb_RNGCtx rngCtx, size_t seedLen, const unsigned char *seed, sb_GlobalCtx sbCtx)
BlackBerry 10.0.0
An RNG context object.
The length (in bytes) of seed.
The seed value.
A global context.
For cipher, hash, HMAC and EC DRBG RNGs, the given 'seed' data is used as the additional input into the reseeding function.
Reseeding the RNG context with whatever new entropy is collected is excellent practice.
The length of the input buffer is invalid.
The input buffer is NULL.
The RNG context object is NULL.
The RNG context object is invalid.
The seed (additional input in DRBG) is too long.
Success.