constantine/tests
Mamy Ratsimbazafy 2f839cb1bf
Initial support for Elliptic Curve (#24)
* Elliptic curve and Twisted curve templates - initial commit

* Support EC Add on G2 (Sextic Twisted curve for BN and BLS12 families)

* Refactor the config parser to prepare for elliptic coefficient support

* Add elliptic curve parameter for BN254 (Snarks), BLS12-381 and Zexe curve BLS12-377

* Add accessors to curve parameters

* Allow computing the right-hand-side of of Weierstrass equation "y² = x³ + a x + b"

* Randomized test infrastructure for elliptic curves

* Start a testing suite on ellptic curve addition (failing)

* detail projective addition

* Fix EC addition test (forgot initializing Z=1 and that there ar emultiple infinity points)

* Test with random Z coordinate + add elliptic curve test to test suite

* fix reference to the (deactivated) addchain inversion for BN curves [skip ci]

* .nims file leftover [skip ci]
2020-04-13 19:25:59 +02:00
..
test_bigints.nim 30% faster constant-time inversion 2020-03-20 23:03:52 +01:00
test_bigints_multimod.nim 30% faster constant-time inversion 2020-03-20 23:03:52 +01:00
test_bigints_vs_gmp.nim 30% faster constant-time inversion 2020-03-20 23:03:52 +01:00
test_ec_weierstrass_projective_g1.nim Initial support for Elliptic Curve (#24) 2020-04-13 19:25:59 +02:00
test_finite_fields.nim 30% faster constant-time inversion 2020-03-20 23:03:52 +01:00
test_finite_fields.nim.cfg Expose the equality proc beyond the debugConstantine flag 2020-02-26 00:08:57 +01:00
test_finite_fields_mulsquare.nim Square roots (#22) 2020-04-11 23:53:21 +02:00
test_finite_fields_mulsquare.nim.cfg Add optimized squaring (~15% speedup) (#18) 2020-03-17 22:04:37 +01:00
test_finite_fields_powinv.nim Improve bn curve family support (#23) 2020-04-12 16:09:38 +02:00
test_finite_fields_powinv.nim.cfg Expose the equality proc beyond the debugConstantine flag 2020-02-26 00:08:57 +01:00
test_finite_fields_sqrt.nim Improve bn curve family support (#23) 2020-04-12 16:09:38 +02:00
test_finite_fields_sqrt.nim.cfg Square roots (#22) 2020-04-11 23:53:21 +02:00
test_finite_fields_vs_gmp.nim Properly distinguish between Nogami and Snark/Ethereum BN254 closes #19 2020-04-12 03:01:50 +02:00
test_fp2.nim Properly distinguish between Nogami and Snark/Ethereum BN254 closes #19 2020-04-12 03:01:50 +02:00
test_fp6.nim Properly distinguish between Nogami and Snark/Ethereum BN254 closes #19 2020-04-12 03:01:50 +02:00
test_fp12.nim Properly distinguish between Nogami and Snark/Ethereum BN254 closes #19 2020-04-12 03:01:50 +02:00
test_io_bigints.nim 30% faster constant-time inversion 2020-03-20 23:03:52 +01:00
test_io_fields.nim 30% faster constant-time inversion 2020-03-20 23:03:52 +01:00
test_io_fields.nim.cfg Expose the equality proc beyond the debugConstantine flag 2020-02-26 00:08:57 +01:00
test_primitives.nim Internals refactor + renewed focus on perf (#17) 2020-03-16 16:33:51 +01:00