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

Name

Description

ctx

Key context prepared for a KEM algorithm.

op

Operation name understood by the provider.

Created with MrDocs