[#BN_priv_rand_range] = BN_priv_rand_range :mrdocs: Generate a cryptographically strong uniform private random BIGNUM in [0, ]`range).` == Synopsis Declared in `<openssl/bn.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int BN_priv_rand_range( xref:BIGNUM.adoc[BIGNUM]* rnd, xref:BIGNUM.adoc[BIGNUM] const* range); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *rnd* | Destination for the random value. | *range* | Exclusive upper bound; must be positive. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#