Select the KEM operation mode on a key context (for example "encapsulate").
Declared in <openssl/evp.h>
int
EVP_PKEY_CTX_set_kem_op(
EVP_PKEY_CTX* ctx,
char const* op);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| ctx | Key context prepared for a KEM algorithm. |
| op | Operation name understood by the provider. |