EVP_PKEY_decrypt_init_ex

Initialize ctx for decryption and apply optional algorithm parameters.

Synopsis

Declared in <openssl/evp.h>

int
EVP_PKEY_decrypt_init_ex(
    EVP_PKEY_CTX* ctx,
    OSSL_PARAM const params[]);

Return Value

1 on success, or 0 / negative on failure.

Parameters

NameDescription
ctxKey context associated with the decryption key.
paramsOptional OSSL_PARAM array configuring the operation, or NULL.