Fetch a key‐encapsulation mechanism implementation from providers.

Synopsis

Declared in <openssl/evp.h>

EVP_KEM*
EVP_KEM_fetch(
    OSSL_LIB_CTX* ctx,
    char const* algorithm,
    char const* properties);

Return Value

Fetched EVP_KEM, or NULL on error; free with EVP_KEM_free.

Parameters

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.

Created with MrDocs