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

Name

Description

buf

Bytes mixed into the generator; contents cannot be recovered from later output.

num

Number of bytes at buf.

randomness

Estimated randomness in buf, in bytes, between 0 and num.

Created with MrDocs