Apply ANSI X9.31 padding to a message block (deprecated).

Synopsis

Declared in <openssl/rsa.h>

[[deprecated]]
int
RSA_padding_add_X931(
    unsigned char* to,
    int tlen,
    unsigned char const* f,
    int fl);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

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.

Created with MrDocs