- Added explanation for first bit/byte to zero in rsa_public

This commit is contained in:
Paul Bakker 2009-03-28 23:26:51 +00:00
parent 7c6d4a4e6b
commit 619467aff8

View File

@ -210,7 +210,8 @@ int rsa_check_privkey( rsa_context *ctx );
* \return 0 if successful, or an POLARSSL_ERR_RSA_XXX error code
*
* \note This function does NOT take care of message
* padding. Also, be sure to set input[0] = 0.
* padding. Also, be sure to set input[0] = 0 or assure that
* input is smaller than N.
*
* \note The input and output buffers must be large
* enough (eg. 128 bytes if RSA-1024 is used).