[#EVP_PKEY_CTX_get_rsa_mgf1_md] = EVP_PKEY_CTX_get_rsa_mgf1_md :mrdocs: Get the MGF1 digest configured for RSA‐PSS or RSA‐OAEP on a key context. == Synopsis Declared in `<openssl/rsa.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_PKEY_CTX_get_rsa_mgf1_md( xref:EVP_PKEY_CTX.adoc[EVP_PKEY_CTX]* ctx, xref:EVP_MD.adoc[EVP_MD] const** md); ---- == Return Value 1 on success, or a non‐positive value on failure. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | RSA key context. | *md* | Receives a pointer to the digest method (do not free). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#