[#EVP_PKEY_CTX_ctrl_str]
= EVP&lowbar;PKEY&lowbar;CTX&lowbar;ctrl&lowbar;str
:mrdocs:

Send a named string control to a key context (for example &quot;rsa&lowbar;padding&quot;)&period;

== Synopsis

Declared in `&lt;openssl&sol;evp&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
EVP&lowbar;PKEY&lowbar;CTX&lowbar;ctrl&lowbar;str(
    xref:EVP_PKEY_CTX.adoc[EVP&lowbar;PKEY&lowbar;CTX]* ctx,
    char const* type,
    char const* value);
----

== Return Value

Positive on success, 0 or negative on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Key context receiving the control&period;
| *type*
| Control name understood by the algorithm&period;
| *value*
| Control value as a NUL&hyphen;terminated string, or NULL when unused&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
