EVP_PKEY_CTX_set_kem_op

Select the KEM operation mode on a key context (for example "encapsulate").

Synopsis

Declared in <openssl/evp.h>

int
EVP_PKEY_CTX_set_kem_op(
    EVP_PKEY_CTX* ctx,
    char const* op);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
ctxKey context prepared for a KEM algorithm.
opOperation name understood by the provider.