]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Fixed sign error in comment.
authorNiels Möller <nisse@lysator.liu.se>
Tue, 2 Sep 2014 19:38:52 +0000 (21:38 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Tue, 2 Sep 2014 19:38:52 +0000 (21:38 +0200)
ecc-eh-to-a.c

index 80a450d96a7ead5aecb6f0f9ba8173ba0fd8d9da..ed0d09aa21cb8beb5ec390dd6638ac43585cd7f2 100644 (file)
@@ -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,