EVP_PKEY_CTX_ctrl_str

Send a named string control to a key context (for example "rsa_padding").

Synopsis

Declared in <openssl/evp.h>

int
EVP_PKEY_CTX_ctrl_str(
    EVP_PKEY_CTX* ctx,
    char const* type,
    char const* value);

Return Value

Positive on success, 0 or negative on failure.

Parameters

NameDescription
ctxKey context receiving the control.
typeControl name understood by the algorithm.
valueControl value as a NUL-terminated string, or NULL when unused.