[#EVP_PKEY_CTX_get_rsa_pss_saltlen]
= EVP&lowbar;PKEY&lowbar;CTX&lowbar;get&lowbar;rsa&lowbar;pss&lowbar;saltlen
:mrdocs:

Get the RSA&hyphen;PSS salt length 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;get&lowbar;rsa&lowbar;pss&lowbar;saltlen(
    xref:EVP_PKEY_CTX.adoc[EVP&lowbar;PKEY&lowbar;CTX]* ctx,
    int* saltlen);
----

== 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 already be RSA&lowbar;PKCS1&lowbar;PSS&lowbar;PADDING&period;
| *saltlen*
| Receives the salt length (or a special RSA&lowbar;PSS&lowbar;SALTLEN&lowbar;&ast; value)&period;
|===


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