EVP_KDF_fetch

Fetch a key-derivation algorithm implementation from providers.

Synopsis

Declared in <openssl/kdf.h>

EVP_KDF*
EVP_KDF_fetch(
    OSSL_LIB_CTX* libctx,
    char const* algorithm,
    char const* properties);

Return Value

Fetched EVP_KDF with refcount 1, or NULL on error; free with EVP_KDF_free().

Parameters

NameDescription
libctxLibrary context, or NULL for the default.
algorithmKDF name such as "HKDF" or "PBKDF2".
propertiesOptional provider property query, or NULL.