EVP_PKEY_meth_set_decrypt

Set public-key decryption callbacks on an EVP_PKEY_METHOD (deprecated).

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
void
EVP_PKEY_meth_set_decrypt(
    EVP_PKEY_METHOD* pmeth,
    int(* decrypt_init)(EVP_PKEY_CTX*),
    int(* decrypt)(EVP_PKEY_CTX*, unsigned char*, size_t*, unsigned char const*, size_t));

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Parameters

NameDescription
pmethMethod table to update.
decrypt_initOptional initialiser called from EVP_PKEY_decrypt_init(), or NULL.
decryptCallback that decrypts in into out / *outlen, or NULL to clear.