EVP_KEM_fetch

Fetch a key-encapsulation mechanism implementation from providers.

Synopsis

Declared in <openssl/evp.h>

EVP_KEM*
EVP_KEM_fetch(
    OSSL_LIB_CTX* ctx,
    char const* algorithm,
    char const* properties);

Return Value

Fetched EVP_KEM, or NULL on error; free with EVP_KEM_free.

Parameters

NameDescription
ctxLibrary context to search, or NULL for the default.
algorithmAlgorithm name such as "RSA" or a provider KEM name.
propertiesProperty query string, or NULL.