Set public‐key encryption callbacks on an EVP_PKEY_METHOD (deprecated).

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
void
EVP_PKEY_meth_set_encrypt(
    EVP_PKEY_METHOD* pmeth,
    int(* encrypt_init)(EVP_PKEY_CTX*),
    int(* encryptfn)(EVP_PKEY_CTX*, unsigned char*, size_t*, unsigned char const*, size_t));
Warning

Deprecated. Use of this entity is allowed but discouraged.

Parameters

Name

Description

pmeth

Method table to update.

encrypt_init

Optional initialiser called from EVP_PKEY_encrypt_init(), or NULL.

encryptfn

Callback that encrypts in into out / *`outlen,` or NULL to clear.

Created with MrDocs