EVP_KEYEXCH_fetch

Fetch a key-exchange algorithm implementation from providers.

Synopsis

Declared in <openssl/evp.h>

EVP_KEYEXCH*
EVP_KEYEXCH_fetch(
    OSSL_LIB_CTX* ctx,
    char const* algorithm,
    char const* properties);

Return Value

Fetched EVP_KEYEXCH, or NULL on error; free with EVP_KEYEXCH_free.

Parameters

NameDescription
ctxLibrary context to search, or NULL for the default.
algorithmAlgorithm name such as "DH" or "X25519".
propertiesProperty query string, or NULL.