Fetch a key-derivation algorithm implementation from providers.
Declared in <openssl/kdf.h>
EVP_KDF*
EVP_KDF_fetch(
OSSL_LIB_CTX* libctx,
char const* algorithm,
char const* properties);
Fetched EVP_KDF with refcount 1, or NULL on error; free with EVP_KDF_free().
| Name | Description |
|---|---|
| libctx | Library context, or NULL for the default. |
| algorithm | KDF name such as "HKDF" or "PBKDF2". |
| properties | Optional provider property query, or NULL. |