| |
| | SSLeay 0.9.0b docs |
 | | RSA_padding_add_*_type_#(to, tlen, f, fl), where * is one of: PKCS1, SSLv23, none and # is one of: 1, 2, adds padding of the specified type to the data in f, with length flen, and puts the result in to, up to tlen bytes. |
 | | RSA_padding_check_*_type_#(to, tlen, f, fl), where * is one of: PKCS1, SSLv23, none and # is one of: 1, 2, checks the padding of the specified type in the data in f, with length flen, and puts the data minus the padding in to, up to tlen bytes. |
 | | If to is not long enough to contain the result, (or equivalently the end of data merker is not reached before to is filled) an error is noted and -1 is returned, as is done if the padding is incorrect for any other reason. |
| www.columbia.edu /~ariel/ssleay/rsa.html (2053 words) |
|