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

Name

Description

ctx

Library context to search, or NULL for the default.

algorithm

Algorithm name such as "DH" or "X25519".

properties

Property query string, or NULL.

Created with MrDocs