aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/data
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-02-01 12:37:11 -0500
committerJack Lloyd <[email protected]>2016-02-01 13:06:10 -0500
commit87a59dd0ea8a783540d30bb697b4c86d9b66f7ee (patch)
treebf2c62842fe9c945bbb6a2546340a51506170fce /src/tests/data
parentfb22198b9add1f1d46d6b05cc8626b7a8d8ff9c6 (diff)
Fix two bugs in 1.11.27 which caused test failures.1.11.28
The check on each individual size in curve_mul is too strict since we rely on redc(x*1) during the on the curve computation. Fix an off by one in ressol which caused it to occasionally reject valid values. Updating version 1.11.28 since existing 1.11.27 tag already pushed :( Fix an off-by-one in ressol which would cause it to occasionly give up too early.
Diffstat (limited to 'src/tests/data')
-rw-r--r--src/tests/data/bigint.vec5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tests/data/bigint.vec b/src/tests/data/bigint.vec
index 2445c8de4..1ce284504 100644
--- a/src/tests/data/bigint.vec
+++ b/src/tests/data/bigint.vec
@@ -2593,3 +2593,8 @@ Output = 51280014837979468164589555486627418611564292169528438732746318972321369
Input = 4
Modulus = 6864797660130609714981900799081393217269435300143305409394463459185543183397656052122559640661454554977296311391480858037121987999716643812574028291115057149
Output = -1
+
+Input = 20749193632488214633180774027217139706413443729200940480695355894185
+Modulus = 26959946667150639794667015087019630673557916260026308143510066298881
+Output = 1825097171398375765346899906888660610489759292065918530856859649959
+