Fixed some errors in comments.

This commit is contained in:
Thomas Pornin 2019-09-04 15:07:42 +02:00
parent 4b6046412b
commit fb4296c593
2 changed files with 1 additions and 5 deletions

View File

@ -108,7 +108,7 @@ extern "C" {
*
* - The multipliers (integers) MUST be lower than the subgroup order.
* If this property is not met, then the result is indeterminate,
* but an error value is not ncessearily returned.
* but an error value is not necessarily returned.
*
*
* ## ECDSA

View File

@ -158,10 +158,6 @@ f255_add(uint64_t *d, const uint64_t *a, const uint64_t *b)
/*
* Subtraction.
* On input, limbs must fit on 60 bits each. On output, result is
* partially reduced, with max value 2^255+19456; moreover, all
* limbs will fit on 51 bits, except the low limb, which may have
* value up to 2^51+19455.
*/
static inline void
f255_sub(uint64_t *d, const uint64_t *a, const uint64_t *b)