Provided by: libkcapi-dev_1.1.3-1_amd64
kcapi_rng_seed - seed the RNG
int kcapi_rng_seed(struct kcapi_handle * handle, uint8_t * seed, uint32_t seedlen);
handle [in] cipher handle seed [in] seed data seedlen [in] size of seed
Note, this call must be called to initialize the selected RNG. When the SP800-90A DRBG is used, this call causes the DRBG to seed itself from the internal noise sources. Note, in case of using the SP800-90A DRBG, the seed buffer may be NULL. If it is not NULL, the DRBG uses the given data either as personalization string in case of the initial seeding or additional data for reseeding. return 0 upon success; a negative errno-style error code if an error occurred
Stephan Mueller <firstname.lastname@example.org> Author.