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

Name

Description

buf

Bytes to mix into the generator state.

num

Number of bytes at buf; treated as num bytes of randomness.

Created with MrDocs