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

Name

Description

ctx

Key context holding the private key used to decrypt.

Created with MrDocs