Correct typo and improve documentation
This commit is contained in:
parent
7bba968afc
commit
2412061a5a
1 changed files with 3 additions and 3 deletions
|
@ -230,11 +230,11 @@ int mbedtls_rsa_public( mbedtls_rsa_context *ctx,
|
||||||
* \note The input and output buffers must be large
|
* \note The input and output buffers must be large
|
||||||
* enough (eg. 128 bytes if RSA-1024 is used).
|
* enough (eg. 128 bytes if RSA-1024 is used).
|
||||||
*
|
*
|
||||||
* \note Blinding is used if and onlf if a PRNG is provided.
|
* \note Blinding is used if and only if a PRNG is provided.
|
||||||
*
|
*
|
||||||
* \note If blinding is used, both the base of exponentation
|
* \note If blinding is used, both the base of exponentation
|
||||||
* and the exponent are blinded, preventing both statistical
|
* and the exponent are blinded, providing protection
|
||||||
* timing and power analysis attacks.
|
* against some side-channel attacks.
|
||||||
*
|
*
|
||||||
* \warning It is deprecated and a security risk to not provide
|
* \warning It is deprecated and a security risk to not provide
|
||||||
* a PRNG here and thereby prevent the use of blinding.
|
* a PRNG here and thereby prevent the use of blinding.
|
||||||
|
|
Loading…
Reference in a new issue