Fetch a key-encapsulation mechanism implementation from providers.
Declared in <openssl/evp.h>
EVP_KEM*
EVP_KEM_fetch(
OSSL_LIB_CTX* ctx,
char const* algorithm,
char const* properties);
Fetched EVP_KEM, or NULL on error; free with EVP_KEM_free.
| Name | Description |
|---|---|
| ctx | Library context to search, or NULL for the default. |
| algorithm | Algorithm name such as "RSA" or a provider KEM name. |
| properties | Property query string, or NULL. |