[#EVP_PKEY_decapsulate_init] = EVP_PKEY_decapsulate_init :mrdocs: Initialise a key context for KEM decapsulation. == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_PKEY_decapsulate_init( xref:EVP_PKEY_CTX.adoc[EVP_PKEY_CTX]* ctx, xref:OSSL_PARAM.adoc[OSSL_PARAM] const params[]); ---- == Return Value 1 on success, or 0 / a negative value on failure. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | Key context holding the recipient private key. | *params* | Optional OSSL_PARAM array of algorithm parameters, or NULL. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#