math/mp-modsqrt.c: Zero has a square root. Return it correctly.
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)
commitd032072ff0730e76e87821204c29c47331b13d99
treea67770ed847cf03a5d1c9808e401915c1358763b
parent5a19b5dfdde3f31feef4443442cc1c5c0bad6484
math/mp-modsqrt.c: Zero has a square root.  Return it correctly.

This causes `find' on prime curves to fail when given the x-coordinate
of a 2-torsion point.
math/mp-modsqrt.c
math/t/ec
math/t/mp