[#EVP_PKEY_CTX_set_rsa_mgf1_md_name] = EVP_PKEY_CTX_set_rsa_mgf1_md_name :mrdocs: Set the MGF1 digest for RSA‐PSS or RSA‐OAEP by algorithm name. == Synopsis Declared in `<openssl/rsa.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_PKEY_CTX_set_rsa_mgf1_md_name( xref:EVP_PKEY_CTX.adoc[EVP_PKEY_CTX]* ctx, char const* mdname, char const* mdprops); ---- == Return Value 1 on success, or a negative value on failure. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | Key operation context configured for RSA padding that uses MGF1. | *mdname* | Digest name (for example "SHA256"). | *mdprops* | Optional property query for fetching `mdname,` or NULL. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#