EVP_PKEY_meth_get_encrypt

Retrieve public-key encryption callbacks from an EVP_PKEY_METHOD (deprecated).

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
void
EVP_PKEY_meth_get_encrypt(
    EVP_PKEY_METHOD const* pmeth,
    int(** pencrypt_init)(EVP_PKEY_CTX*),
    int(** pencryptfn)(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 query.
pencrypt_initOptional destination for the encrypt_init function pointer, or NULL.
pencryptfnOptional destination for the encrypt function pointer, or NULL.