constantine/tests
Mamy Ratsimbazafy 82ceca6e3b
Scalar mul tests (#28)
* Add sage script for BN254

* Implement (failing) scalar multiplication tests

* Add a first test against sagemath

* Finish the tests against SAGE for BN254

* Add significant test coverage of scalar multiplication with reference checks for BN254_Snarks and BLS12_381
2020-06-04 20:37:29 +02:00
..
support Scalar mul tests (#28) 2020-06-04 20:37:29 +02:00
test_bigints.nim Highlight that bools and words are "Secret" in the codebase 2020-04-15 00:04:44 +02: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_bls12_381.nim Scalar mul tests (#28) 2020-06-04 20:37:29 +02:00
test_ec_bn254.nim Scalar mul tests (#28) 2020-06-04 20:37:29 +02:00
test_ec_weierstrass_projective_g1.nim Scalar mul tests (#28) 2020-06-04 20:37:29 +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 Rename the test PRNG to unsafe and prepare random number generation for integer ranges to not depend on the stdlib and have a single unified seed. 2020-04-15 00:04:44 +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 Implement constant-time `div2` on finite and extension fields 2020-04-15 02:12:45 +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 Rename the test PRNG to unsafe and prepare random number generation for integer ranges to not depend on the stdlib and have a single unified seed. 2020-04-15 00:04:44 +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 Scalar mul tests (#28) 2020-06-04 20:37:29 +02:00
test_fp2.nim Generalize the tower extensions tests 1000+ lines saved 2020-04-15 00:04:44 +02:00
test_fp6.nim Generalize the tower extensions tests 1000+ lines saved 2020-04-15 00:04:44 +02:00
test_fp12.nim Generalize the tower extensions tests 1000+ lines saved 2020-04-15 00:04:44 +02:00
test_fp_tower_template.nim Implement constant-time `div2` on finite and extension fields 2020-04-15 02:12:45 +02:00
test_io_bigints.nim Use our prng through most of the test suite 2020-04-15 00:04:44 +02:00
test_io_fields.nim Use our prng through most of the test suite 2020-04-15 00:04:44 +02: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 Use our prng through most of the test suite 2020-04-15 00:04:44 +02:00