constantine/tests
Mamy Ratsimbazafy ec76ac5ea6
Fuzzing campaign fixes (#58)
* Add test case for #30 - Euler's criterion doesn't return 1 for a square

* Detect #42 in the test suite

* Detect #43 in the test suite

* comment in sqrt tests

* Add #67 to the anti-regression suite

* Add #61 to the anti-regression suite

* Add #62 to anti-regression suite

* Add #60 to the anti-regression suite

* Add #64 to the test suite

* Add #65 - case 1

* Add #65 case 2

* Add #65 case 3

* Add debug check to isSquare/Euler's Criterion/Legendre Symbol

* Make sure our primitives are correct

* For now deactivate montySquare CIOS fix #61 #62

* Narrow down #42 and #43 to powinv on 32-bit

* Detect #42 #43 at the fast squaring level

* More #42, #43 tests, Use multiplication instead of squaring as a temporary workaround, see https://github.com/mratsim/constantine/issues/68

* Prevent regression of #67 now that squaring is "fixed"
2020-06-23 01:27:40 +02:00
..
support Github Action CI (without GMP) (#29) 2020-06-19 22:08:15 +02:00
t_bigints.nim Github Action CI (without GMP) (#29) 2020-06-19 22:08:15 +02:00
t_bigints_mod_vs_gmp.nim SHorter test names for github display 2020-06-15 23:15:01 +02:00
t_bigints_mul_high_words_vs_gmp.nim SHorter test names for github display 2020-06-15 23:15:01 +02:00
t_bigints_mul_vs_gmp.nim SHorter test names for github display 2020-06-15 23:15:01 +02:00
t_bigints_multimod.nim SHorter test names for github display 2020-06-15 23:15:01 +02:00
t_ec_sage_bls12_381 Add test generator for BLS12-381 G2 and pass the tests 2020-06-18 22:00:31 +02:00
t_ec_sage_bls12_381.nim Add test generator for BLS12-381 G2 and pass the tests 2020-06-18 22:00:31 +02:00
t_ec_sage_bn254.nim Add a test vector generator for BN254 on G2 and pass the tests 2020-06-18 01:40:13 +02:00
t_ec_template.nim [WIP] Skewed RNGs that trigger corner cases (#59) 2020-06-20 18:55:27 +02:00
t_ec_wstrass_prj_edge_cases.nim Fuzzing campaign fixes (#58) 2020-06-23 01:27:40 +02:00
t_ec_wstrass_prj_g1_add_double.nim SHorter test names for github display 2020-06-15 23:15:01 +02:00
t_ec_wstrass_prj_g1_mul_distri.nim SHorter test names for github display 2020-06-15 23:15:01 +02:00
t_ec_wstrass_prj_g1_mul_sanity.nim Fuzzing campaign fixes (#58) 2020-06-23 01:27:40 +02:00
t_ec_wstrass_prj_g1_mul_vs_ref.nim SHorter test names for github display 2020-06-15 23:15:01 +02:00
t_ec_wstrass_prj_g2_add_double_bls12_381.nim SHorter test names for github display 2020-06-15 23:15:01 +02:00
t_ec_wstrass_prj_g2_add_double_bn254_snarks.nim SHorter test names for github display 2020-06-15 23:15:01 +02:00
t_ec_wstrass_prj_g2_mul_distri_bls12_381.nim SHorter test names for github display 2020-06-15 23:15:01 +02:00
t_ec_wstrass_prj_g2_mul_distri_bn254_snarks.nim SHorter test names for github display 2020-06-15 23:15:01 +02:00
t_ec_wstrass_prj_g2_mul_sanity_bls12_381.nim SHorter test names for github display 2020-06-15 23:15:01 +02:00
t_ec_wstrass_prj_g2_mul_sanity_bn254_snarks.nim SHorter test names for github display 2020-06-15 23:15:01 +02:00
t_ec_wstrass_prj_g2_mul_vs_ref_bls12_381.nim SHorter test names for github display 2020-06-15 23:15:01 +02:00
t_ec_wstrass_prj_g2_mul_vs_ref_bn254_snarks.nim SHorter test names for github display 2020-06-15 23:15:01 +02:00
t_finite_fields.nim SHorter test names for github display 2020-06-15 23:15:01 +02:00
t_finite_fields.nim.cfg SHorter test names for github display 2020-06-15 23:15:01 +02:00
t_finite_fields_mulsquare.nim Fuzzing campaign fixes (#58) 2020-06-23 01:27:40 +02:00
t_finite_fields_mulsquare.nim.cfg SHorter test names for github display 2020-06-15 23:15:01 +02:00
t_finite_fields_powinv.nim Fuzzing campaign fixes (#58) 2020-06-23 01:27:40 +02:00
t_finite_fields_powinv.nim.cfg SHorter test names for github display 2020-06-15 23:15:01 +02:00
t_finite_fields_sqrt.nim Fuzzing campaign fixes (#58) 2020-06-23 01:27:40 +02:00
t_finite_fields_sqrt.nim.cfg SHorter test names for github display 2020-06-15 23:15:01 +02:00
t_finite_fields_vs_gmp.nim Fix #55 2020-06-19 00:24:50 +02:00
t_fp2.nim SHorter test names for github display 2020-06-15 23:15:01 +02:00
t_fp2_sqrt.nim Fuzzing campaign fixes (#58) 2020-06-23 01:27:40 +02:00
t_fp6_bls12_377.nim SHorter test names for github display 2020-06-15 23:15:01 +02:00
t_fp6_bls12_381.nim SHorter test names for github display 2020-06-15 23:15:01 +02:00
t_fp6_bn254_snarks.nim SHorter test names for github display 2020-06-15 23:15:01 +02:00
t_fp12_bls12_377.nim SHorter test names for github display 2020-06-15 23:15:01 +02:00
t_fp12_bls12_381.nim SHorter test names for github display 2020-06-15 23:15:01 +02:00
t_fp12_bn254_snarks.nim SHorter test names for github display 2020-06-15 23:15:01 +02:00
t_fp_tower_template.nim [WIP] Skewed RNGs that trigger corner cases (#59) 2020-06-20 18:55:27 +02:00
t_io_bigints.nim SHorter test names for github display 2020-06-15 23:15:01 +02:00
t_io_fields.nim SHorter test names for github display 2020-06-15 23:15:01 +02:00
t_io_fields.nim.cfg SHorter test names for github display 2020-06-15 23:15:01 +02:00
t_precomputed.nim SHorter test names for github display 2020-06-15 23:15:01 +02:00
t_primitives.nim SHorter test names for github display 2020-06-15 23:15:01 +02:00
t_primitives_extended_precision.nim Fuzzing campaign fixes (#58) 2020-06-23 01:27:40 +02:00