[#EVP_PKEY_CTX_str2ctrl] = EVP_PKEY_CTX_str2ctrl :mrdocs: Pass a NUL‐terminated string to EVP_PKEY_CTX_ctrl as the p2 argument. == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_PKEY_CTX_str2ctrl( xref:EVP_PKEY_CTX.adoc[EVP_PKEY_CTX]* ctx, int cmd, char const* str); ---- == Return Value Positive on success, 0 or negative on failure (same convention as EVP_PKEY_CTX_ctrl). == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | Key context that receives the control. | *cmd* | Control command number understood by the key method. | *str* | NUL‐terminated string passed as `p2` (length is strlen(`str)).` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#