math/scaf.c: Fix conditional subtractions in `scaf_reduce'.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 10 May 2017 20:19:32 +0000 (21:19 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 14 May 2017 13:58:40 +0000 (14:58 +0100)
commit06325636886daecdb46a5a5358e26ecd21bfccde
tree67388ac78a743276bd59460cc415498413aae0cb
parent791af0ba537a9d4906653df76c122188df9b7f97
math/scaf.c: Fix conditional subtractions in `scaf_reduce'.

So that they actually subtract the right thing.  Obvious blunder.  The
big surprise is that none of the literally thousands of Ed25519 tests
which have hammered on that code caught it.  (Found during development
of Ed448, coming later.)
math/scaf.c