math/f-{prime,niceprime}.c: Fix reduction for `add', `sub' and `neg'.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 22 Dec 2014 20:32:58 +0000 (20:32 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 27 Feb 2015 21:18:15 +0000 (21:18 +0000)
commitfac18421f5b3c215e04a32240e04ac6235d17a0f
tree789c92cf202233acc2f9f72651012f67aa7aa459
parentd032072ff0730e76e87821204c29c47331b13d99
math/f-{prime,niceprime}.c: Fix reduction for `add', `sub' and `neg'.

None of these worked properly at the modulus itself.  This causes the
`neg' method of prime curves to fail at 2-torsion points.
math/f-niceprime.c
math/f-prime.c
math/t/ec