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

Name

Description

ctx

Key context receiving the control.

type

Control name understood by the algorithm.

value

Control value as a NUL‐terminated string, or NULL when unused.

Created with MrDocs