Verify "no padding" by copying f into to when lengths match (deprecated).
Declared in <openssl/rsa.h>
[[deprecated]]
int
RSA_padding_check_none(
unsigned char* to,
int tlen,
unsigned char const* f,
int fl,
int rsa_len);
Deprecated. Use of this entity is allowed but discouraged.
Length of recovered data on success, or a negative value on error.
| Name | Description |
|---|---|
| to | Destination buffer of capacity tlen. |
| tlen | Capacity of to in bytes. |
| f | Encoded block bytes to check/copy. |
| fl | Length of f in bytes. |
| rsa_len | RSA modulus size in bytes (expected encoded length). |