From: Mark Wooding Date: Sat, 4 Feb 2006 11:59:55 +0000 (+0000) Subject: tests: Fix tests for 222c8a43... (mp-modsqrt change). X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/commitdiff_plain/6ca13db8fd03ef3d85def0d45d00f632b9d58f43 tests: Fix tests for 222c8a43... (mp-modsqrt change). Ooops. I accidentally broke some tests (in elliptic curve point- finding) when I made that change, and (naughty me!) didn't run the full suite. I've checked that the breakages are acceptable (i.e., we just get the positive y-coordinate rather than a random one now) and fixed the tests. --- diff --git a/tests/ec b/tests/ec index 61f78e0..0212230 100644 --- a/tests/ec +++ b/tests/ec @@ -125,7 +125,7 @@ find { prime: -3, 0x64210519e59c80e70fa7e9ab72243049feb8deecc146b9b1" 0x188da80eb03090f67cbf20eb43a18801f4ff0afd82ff1411 "0x188da80eb03090f67cbf20eb43a18801f4ff0afd82ff1411, - 0xdccf19d3e76abfa05d529c07575f54c94fa5fc9f3decc246"; + 0x2330e62c1895405fa2ad63f8a8a0ab35b05a0360c2133db9"; "niceprime: 6277101735386680763835789423207666416083908700390324961279 prime: -3, 0x64210519e59c80e70fa7e9ab72243049feb8deecc146b9b1" @@ -139,7 +139,7 @@ find { prime: -3, 0x64210519e59c80e70fa7e9ab72243049feb8deecc146b9b1" 0x188da80eb03090f67cbf20eb43a18801f4ff0afd82ff1411 "0x188da80eb03090f67cbf20eb43a18801f4ff0afd82ff1411, - 0xdccf19d3e76abfa05d529c07575f54c94fa5fc9f3decc246"; + 0x2330e62c1895405fa2ad63f8a8a0ab35b05a0360c2133db9"; "binpoly: 0x800000000000000000000000000000000000000c9 bin: 1, 0x20a601907b8c953ca1481eb10512f78744a3205fd" diff --git a/tests/group b/tests/group index e7ff8e8..2d61c1b 100644 --- a/tests/group +++ b/tests/group @@ -227,7 +227,7 @@ fromint { "ec { nist-p192 }" 1 -1 inf; "ec { nist-p192 }" 0 - 0 "0, 0x8497a9fa119ff34c9c24a156ed0d44a0c5f5d1f19fc9f0ed"; + 0 "0, 0x7b685605ee600cb363db5ea912f2bb5e3a0a2e0e60360f12"; } toec {