Fetch a random-number generator implementation from providers.
Declared in <openssl/evp.h>
EVP_RAND*
EVP_RAND_fetch(
OSSL_LIB_CTX* libctx,
char const* algorithm,
char const* properties);
Fetched EVP_RAND, or NULL on error; free with EVP_RAND_free.
| Name | Description |
|---|---|
| libctx | Library context to search, or NULL for the default. |
| algorithm | Algorithm name such as "CTR-DRBG" or "HASH-DRBG". |
| properties | Property query string, or NULL. |