[#EVP_RAND_CTX_new] = EVP_RAND_CTX_new :mrdocs: Create a RAND context for `rand,` optionally chaining from a parent DRBG. == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:EVP_RAND_CTX.adoc[EVP_RAND_CTX]* EVP_RAND_CTX_new( xref:EVP_RAND.adoc[EVP_RAND]* rand, xref:EVP_RAND_CTX.adoc[EVP_RAND_CTX]* parent); ---- == Return Value New EVP_RAND_CTX, or NULL on failure; free with EVP_RAND_CTX_free(). == Parameters [cols="1,4"] |=== | Name| Description | *rand* | Fetched EVP_RAND implementation (reference count is incremented). | *parent* | Optional parent EVP_RAND_CTX used as entropy source, or NULL. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#