Mix additional bytes into the PRNG state with an estimated entropy amount.
Declared in <openssl/rand.h>
void
RAND_add(
void const* buf,
int num,
double randomness);
| 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. |