RAND_add

Mix additional bytes into the PRNG state with an estimated entropy amount.

Synopsis

Declared in <openssl/rand.h>

void
RAND_add(
    void const* buf,
    int num,
    double randomness);

Parameters

NameDescription
bufBytes mixed into the generator; contents cannot be recovered from later output.
numNumber of bytes at buf.
randomnessEstimated randomness in buf, in bytes, between 0 and num.