[#RAND_priv_bytes] = RAND_priv_bytes :mrdocs: Generate private random bytes using a separate DRBG instance from RAND_bytes(). == Synopsis Declared in `<openssl/rand.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int RAND_priv_bytes( unsigned char* buf, int num); ---- == Return Value 1 on success, ‐1 if not supported by the current RAND method, or 0 on other failure. == Parameters [cols="1,4"] |=== | Name| Description | *buf* | Buffer that receives `num` random bytes. | *num* | Number of bytes to generate. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#