EVP_PKEY_decrypt_init

Initialise ctx for private-key decryption.

Synopsis

Declared in <openssl/evp.h>

int
EVP_PKEY_decrypt_init(EVP_PKEY_CTX* ctx);

Return Value

1 on success, or a non-positive value on failure.

Parameters

NameDescription
ctxKey context holding the private key used to decrypt.