Fetch a cipher implementation from providers in a library context.
Declared in <openssl/evp.h>
EVP_CIPHER*
EVP_CIPHER_fetch(
OSSL_LIB_CTX* ctx,
char const* algorithm,
char const* properties);
Fetched EVP_CIPHER (free with EVP_CIPHER_free()), or NULL on failure.
| Name | Description |
|---|---|
| ctx | Library context to search, or NULL for the default. |
| algorithm | Cipher algorithm name. |
| properties | Optional property query string, or NULL. |