[#RAND_add]
= RAND&lowbar;add
:mrdocs:

Mix additional bytes into the PRNG state with an estimated entropy amount&period;

== Synopsis

Declared in `&lt;openssl&sol;rand&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
RAND&lowbar;add(
    void const* buf,
    int num,
    double randomness);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *buf*
| Bytes mixed into the generator&semi; contents cannot be recovered from later output&period;
| *num*
| Number of bytes at `buf&period;`
| *randomness*
| Estimated randomness in `buf,` in bytes, between 0 and `num&period;`
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
