Skip to content

Commit

Permalink
Update fp_x64.c
Browse files Browse the repository at this point in the history
  • Loading branch information
patricklonga authored Jul 24, 2018
1 parent 8ecf742 commit 0b388c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/P503/AMD64/fp_x64.c
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ void mp_mul(const digit_t* a, const digit_t* b, digit_t* c, const unsigned int n


void rdc_mont(const digit_t* ma, digit_t* mc)
{ // Montgomery reduction
{ // Montgomery reduction exploiting special form of the prime.
// mc = ma*R^-1 mod p503x2, where R = 2^512.
// If ma < 2^512*p503, the output mc is in the range [0, 2*p503-1].
// ma is assumed to be in Montgomery representation.
Expand Down

0 comments on commit 0b388c1

Please sign in to comment.