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:
5b29584
)
math/ec.c (ec_stdsub): Remove redundant `EC_FIX'.
author
Mark Wooding
<mdw@distorted.org.uk>
Mon, 5 Aug 2013 01:41:12 +0000
(
02:41
+0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Mon, 5 Aug 2013 01:58:24 +0000
(
02:58
+0100)
This was left over from the old days, when the right input to `add'
was guaranteed to be in canonical form. It's not been necessary since
391faf4
...
math/ec.c
patch
|
blob
|
blame
|
history
diff --git
a/math/ec.c
b/math/ec.c
index f8b77f5e4d26490e9267ae6f21c9546bdde957de..4051bb239ae606b339fcff1f06d16dfe72bed990 100644
(file)
--- a/
math/ec.c
+++ b/
math/ec.c
@@
-261,7
+261,6
@@
ec *ec_stdsub(ec_curve *c, ec *d, const ec *p, const ec *q)
{
ec t = EC_INIT;
EC_NEG(c, &t, q);
{
ec t = EC_INIT;
EC_NEG(c, &t, q);
- EC_FIX(c, &t, &t);
EC_ADD(c, d, p, &t);
EC_DESTROY(&t);
return (d);
EC_ADD(c, d, p, &t);
EC_DESTROY(&t);
return (d);