EVP_CIPHER_CTX_get_params

Retrieve algorithm parameters from a cipher context into params.

Synopsis

Declared in <openssl/evp.h>

int
EVP_CIPHER_CTX_get_params(
    EVP_CIPHER_CTX* ctx,
    OSSL_PARAM params[]);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
ctxCipher context to query.
paramsNULL-terminated OSSL_PARAM array of parameters to fill.