diff options
author | Niels Möller <nisse@lysator.liu.se> | 2014-09-02 21:38:52 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2014-09-02 21:38:52 +0200 |
commit | 2e24e947de21d0c27db8b67bcf80911a3891ae2e (patch) | |
tree | 35428ec9fac81fcc8862ac0f8a1b5656b3882e5f /ecc-eh-to-a.c | |
parent | fb2c801df91d09e6736835edfa8585579aacf7b8 (diff) | |
download | nettle-2e24e947de21d0c27db8b67bcf80911a3891ae2e.tar.gz |
Fixed sign error in comment.
Diffstat (limited to 'ecc-eh-to-a.c')
-rw-r--r-- | ecc-eh-to-a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ecc-eh-to-a.c b/ecc-eh-to-a.c index 80a450d9..ed0d09aa 100644 --- a/ecc-eh-to-a.c +++ b/ecc-eh-to-a.c @@ -62,7 +62,7 @@ ecc_eh_to_a (const struct ecc_curve *ecc, #define up p #define vp (p + ecc->size) #define wp (p + 2*ecc->size) - /* x = (v+1)/(v-1), y = t x / u (with t = sqrt(b+2)) + /* x = (1+v)/(1-v), y = t x / u (with t = sqrt(b+2)) In homogeneous coordinates, |