[#EVP_PKEY_CTX_get0_rsa_oaep_label]
= EVP&lowbar;PKEY&lowbar;CTX&lowbar;get0&lowbar;rsa&lowbar;oaep&lowbar;label
:mrdocs:

Return a non&hyphen;owning pointer to the RSA&hyphen;OAEP label configured on 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;get0&lowbar;rsa&lowbar;oaep&lowbar;label(
    xref:EVP_PKEY_CTX.adoc[EVP&lowbar;PKEY&lowbar;CTX]* ctx,
    unsigned char** label);
----

== Return Value

Label length in bytes 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;
| *label*
| Receives a pointer to the internal label bytes (do not free)&semi; may be NULL&period;
|===


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