chiark
/
gitweb
/
~mdw
/
catacomb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89f61fa
)
math/ec-prime.c: Fix commentary typo.
author
Mark Wooding
<mdw@distorted.org.uk>
Mon, 5 Aug 2013 01:52:20 +0000
(
02:52
+0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Mon, 5 Aug 2013 01:58:24 +0000
(
02:58
+0100)
math/ec-prime.c
patch
|
blob
|
blame
|
history
diff --git
a/math/ec-prime.c
b/math/ec-prime.c
index f6a7f96029885899a8da2fd9be9c327d0ff07b9f..c2ec28892dd59e54904c852d1dcf322fe0947817 100644
(file)
--- a/
math/ec-prime.c
+++ b/
math/ec-prime.c
@@
-267,7
+267,7
@@
static ec *ecprojadd(ec_curve *c, ec *d, const ec *a, const ec *b)
}
}
u = F_ADD(f, u, u, uu); /* %$t = uu + u$% */
- s = F_ADD(f, s, s, ss); /* %$m = ss +
r
$% */
+ s = F_ADD(f, s, s, ss); /* %$m = ss +
s
$% */
uu = F_MUL(f, uu, a->z, w); /* %$z_0 w$% */
dz = F_MUL(f, ss, uu, b->z); /* %$z' = z_0 z_1 w$% */