Verify ANSI X9.31 padding and recover the message (deprecated).
Declared in <openssl/rsa.h>
[[deprecated]]
int
RSA_padding_check_X931(
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 the recovered message, or a negative value on error.
| Name | Description |
|---|---|
| to | Destination buffer for the recovered message. |
| tlen | Capacity of to in bytes. |
| f | Encoded block to check. |
| fl | Length of f in bytes. |
| rsa_len | Expected RSA modulus size in bytes. |