1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-28 00:21:48 +03:00

Clarify some comments

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine
2021-04-09 15:46:51 +02:00
parent bd43f67a9b
commit 392d1010dc
2 changed files with 5 additions and 4 deletions

View File

@ -38,9 +38,10 @@
* - bits is a multiple of 64 or is 224
* - c is -1 or -2
* - 0 <= N < 2^bits
* - N has room for bits+64 bits
* - N has room for bits plus one limb
*
* Set N to c * 2^bits + N.
* Behavior:
* Set N to c * 2^bits + old_value_of_N.
*/
void mbedtls_ecp_fix_negative( mbedtls_mpi *N, signed char c, size_t bits );
#endif