mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-25 19:35:39 +01:00
- Added explanation for first bit/byte to zero in rsa_public
This commit is contained in:
parent
7c6d4a4e6b
commit
619467aff8
@ -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).
|
||||
|
Loading…
Reference in New Issue
Block a user