constantine/tests
Mamy Ratsimbazafy d376f08d1b
G2 / Operations on the twisted curve E'(Fp2) (#51)
* Split elliptic curve tests to better use parallel testing

* Add support for printing points on G2

* Implement multiplication and division by optimal sextic non-residue (BLS12-381)

* Implement modular square root in 𝔽p2

* Support EC add and EC double on G2 (for BLS12-381)

* Support G2 divisive twists with non-unit sextic-non-residue like BN254 snarks

* Add EC G2 bench

* cleanup some unused warnings

* Reorg the tests for parallelization and to avoid instantiating huge files
2020-06-15 22:58:56 +02:00
..
support G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
test_bigints.nim G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
test_bigints_mod_vs_gmp.nim G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
test_bigints_mul_high_words_vs_gmp.nim G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
test_bigints_mul_vs_gmp.nim G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
test_bigints_multimod.nim G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
test_ec_sage_bls12_381.nim G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
test_ec_sage_bn254.nim G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
test_ec_template.nim G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
test_ec_weierstrass_projective_g1_add_double.nim G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
test_ec_weierstrass_projective_g1_mul_distributive.nim G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
test_ec_weierstrass_projective_g1_mul_sanity.nim G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
test_ec_weierstrass_projective_g1_mul_vs_ref.nim G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
test_ec_weierstrass_projective_g2_add_double_bls12_381.nim G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
test_ec_weierstrass_projective_g2_add_double_bn254_snarks.nim G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
test_ec_weierstrass_projective_g2_mul_distributive_bls12_381.nim G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
test_ec_weierstrass_projective_g2_mul_distributive_bn254_snarks.nim G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
test_ec_weierstrass_projective_g2_mul_sanity_bls12_381.nim G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
test_ec_weierstrass_projective_g2_mul_sanity_bn254_snarks.nim G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
test_ec_weierstrass_projective_g2_mul_vs_ref_bls12_381.nim G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
test_ec_weierstrass_projective_g2_mul_vs_ref_bn254_snarks.nim G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
test_finite_fields.nim G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02: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 G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +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 G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +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 G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +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 G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
test_fp2.nim Generalize the tower extensions tests 1000+ lines saved 2020-04-15 00:04:44 +02:00
test_fp2_sqrt.nim G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
test_fp6_bls12_377.nim G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
test_fp6_bls12_381.nim G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
test_fp6_bn254_snarks.nim G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
test_fp12_bls12_377.nim G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
test_fp12_bls12_381.nim G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
test_fp12_bn254_snarks.nim G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
test_fp_tower_template.nim G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
test_io_bigints.nim G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
test_io_fields.nim G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
test_io_fields.nim.cfg Expose the equality proc beyond the debugConstantine flag 2020-02-26 00:08:57 +01:00
test_precomputed.nim G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00
test_primitives.nim G2 / Operations on the twisted curve E'(Fp2) (#51) 2020-06-15 22:58:56 +02:00