[#EVP_PKEY_CTX_set_rsa_oaep_md] = EVP_PKEY_CTX_set_rsa_oaep_md :mrdocs: Set the message digest used by RSA‐OAEP padding on a key context. == Synopsis Declared in `<openssl/rsa.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_PKEY_CTX_set_rsa_oaep_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* | Encrypt/decrypt context for an RSA key using OAEP. | *md* | OAEP hash algorithm (for example EVP_sha256()). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#