[#EVP_PKEY_CTX_get_rsa_oaep_md_name]
= EVP&lowbar;PKEY&lowbar;CTX&lowbar;get&lowbar;rsa&lowbar;oaep&lowbar;md&lowbar;name
:mrdocs:

Get the RSA&hyphen;OAEP message&hyphen;digest algorithm name from an EVP&lowbar;PKEY&lowbar;CTX&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
EVP&lowbar;PKEY&lowbar;CTX&lowbar;get&lowbar;rsa&lowbar;oaep&lowbar;md&lowbar;name(
    xref:EVP_PKEY_CTX.adoc[EVP&lowbar;PKEY&lowbar;CTX]* ctx,
    char* name,
    size&lowbar;t namelen);
----

== Return Value

1 on success, or a negative value for unsupported &sol; failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Context whose padding mode must be RSA&lowbar;PKCS1&lowbar;OAEP&lowbar;PADDING&period;
| *name*
| Buffer receiving the NUL&hyphen;terminated digest name&period;
| *namelen*
| Capacity of `name` in bytes&period;
|===


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