[#EVP_PKEY_meth_set_decrypt] = EVP_PKEY_meth_set_decrypt :mrdocs: Set public‐key decryption callbacks on an EVP_PKEY_METHOD (deprecated). == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] void EVP_PKEY_meth_set_decrypt( xref:EVP_PKEY_METHOD.adoc[EVP_PKEY_METHOD]* pmeth, int(* decrypt_init)(xref:EVP_PKEY_CTX.adoc[EVP_PKEY_CTX]*), int(* decrypt)(xref:EVP_PKEY_CTX.adoc[EVP_PKEY_CTX]*, unsigned char*, size_t*, unsigned char const*, size_t)); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Parameters [cols="1,4"] |=== | Name| Description | *pmeth* | Method table to update. | *decrypt_init* | Optional initialiser called from EVP_PKEY_decrypt_init(), or NULL. | *decrypt* | Callback that decrypts `in` into `out` / *`outlen,` or NULL to clear. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#