Fixed some errors in comments.
This commit is contained in:
parent
4b6046412b
commit
fb4296c593
2 changed files with 1 additions and 5 deletions
|
|
@ -108,7 +108,7 @@ extern "C" {
|
||||||
*
|
*
|
||||||
* - The multipliers (integers) MUST be lower than the subgroup order.
|
* - The multipliers (integers) MUST be lower than the subgroup order.
|
||||||
* If this property is not met, then the result is indeterminate,
|
* 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
|
* ## ECDSA
|
||||||
|
|
|
||||||
|
|
@ -158,10 +158,6 @@ f255_add(uint64_t *d, const uint64_t *a, const uint64_t *b)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Subtraction.
|
* 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
|
static inline void
|
||||||
f255_sub(uint64_t *d, const uint64_t *a, const uint64_t *b)
|
f255_sub(uint64_t *d, const uint64_t *a, const uint64_t *b)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue