RAND_seed

Mix num bytes from buf into the PRNG (equivalent to RAND_add with full entropy).

Synopsis

Declared in <openssl/rand.h>

void
RAND_seed(
    void const* buf,
    int num);

Parameters

NameDescription
bufBytes to mix into the generator state.
numNumber of bytes at buf; treated as num bytes of randomness.