Fetch a cipher implementation from providers in a library context.

Synopsis

Declared in <openssl/evp.h>

EVP_CIPHER*
EVP_CIPHER_fetch(
    OSSL_LIB_CTX* ctx,
    char const* algorithm,
    char const* properties);

Return Value

Fetched EVP_CIPHER (free with EVP_CIPHER_free()), or NULL on failure.

Parameters

Name

Description

ctx

Library context to search, or NULL for the default.

algorithm

Cipher algorithm name.

properties

Optional property query string, or NULL.

Created with MrDocs