constantine/tests
Mamy Ratsimbazafy d41c653c8a
Double-width tower extension part 1 (#72)
* Implement double-width field multiplication for double-width towering

* Fp2 mul acceleration via double-width lazy reduction (pure Nim)

* Inline assembly for basic add and sub

* Use 2 registers instead of 12+ for ASM conditional copy

* Prepare assembly for extended multiprecision multiplication support

* Add assembly for mul

* initial implementation of assembly reduction

* stash current progress of assembly reduction

* Fix clobbering issue, only P256 comparison remain buggy

* Fix asm montgomery reduction for NIST P256 as well

* MULX/ADCX/ADOX multi-precision multiplication

* MULX/ADCX/ADOX reduction v1

* Add (deactivated) assembly for double-width substraction + rework benches

* Add bench to nimble and deactivate double-width for now. slower than classic

* Fix x86-32 running out of registers for mul

* Clang needs to be at v9 to support flag output constraints (Xcode 11.4.2 / OSX Catalina)

* 32-bit doesn't have enough registers for ASM mul

* Fix again Travis Clang 9 issues

* LLVM 9 is not whitelisted in travis

* deactivated assembler with travis clang

* syntax error

* another

* ...

* missing space, yeah ...
2020-08-20 10:21:39 +02:00
..
support Github Action CI (without GMP) (#29) 2020-06-19 22:08:15 +02:00
t_bigints.nim Double-width tower extension part 1 (#72) 2020-08-20 10:21:39 +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.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_double_width.nim Double-width tower extension part 1 (#72) 2020-08-20 10:21:39 +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 Assembly backend (#69) 2020-07-24 22:02:30 +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 Assembly backend (#69) 2020-07-24 22:02:30 +02:00
t_io_fields.nim.cfg SHorter test names for github display 2020-06-15 23:15:01 +02:00
t_precomputed.nim Double-width tower extension part 1 (#72) 2020-08-20 10:21:39 +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