Apply ANSI X9.31 padding to a message block (deprecated).
Declared in <openssl/rsa.h>
[[deprecated]]
int
RSA_padding_add_X931(
unsigned char* to,
int tlen,
unsigned char const* f,
int fl);
Deprecated. Use of this entity is allowed but discouraged.
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| to | Destination encoded block of length tlen. |
| tlen | RSA modulus size in bytes. |
| f | Message / hash bytes to pad. |
| fl | Length of f in bytes. |