[#RSA_padding_check_none]
= RSA&lowbar;padding&lowbar;check&lowbar;none
:mrdocs:

Verify &quot;no padding&quot; by copying `f` into `to` when lengths match (deprecated)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
int
RSA&lowbar;padding&lowbar;check&lowbar;none(
    unsigned char* to,
    int tlen,
    unsigned char const* f,
    int fl,
    int rsa&lowbar;len);
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged.
====
== Return Value

Length of recovered data on success, or a negative value on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *to*
| Destination buffer of capacity `tlen&period;`
| *tlen*
| Capacity of `to` in bytes&period;
| *f*
| Encoded block bytes to check&sol;copy&period;
| *fl*
| Length of `f` in bytes&period;
| *rsa&lowbar;len*
| RSA modulus size in bytes (expected encoded length)&period;
|===


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