EVP_PKEY_meth_get_decrypt

Return the decrypt_init and decrypt callbacks from an EVP_PKEY_METHOD (deprecated).

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
void
EVP_PKEY_meth_get_decrypt(
    EVP_PKEY_METHOD const* pmeth,
    int(** pdecrypt_init)(EVP_PKEY_CTX*),
    int(** pdecrypt)(EVP_PKEY_CTX*, unsigned char*, size_t*, unsigned char const*, size_t));

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

the decrypt_init and decrypt callbacks from an EVP_PKEY_METHOD (deprecated).

Parameters

NameDescription
pmethMethod table to query.
pdecrypt_initOptional destination for the decrypt_init function pointer, or NULL.
pdecryptOptional destination for the decrypt function pointer, or NULL.