constantine/tests/math
Mamy Ratsimbazafy 928f515582
Batch additions (#207)
* Batch elliptic curve addition

* accelerate chained muls

* jac mixed add handle doubling. jac additions handle aliasing when adding infinity

* properly skip sanitizer on BLS signature test

* properly skip sanitizer² on BLS signature test
2022-10-29 22:43:40 +02:00
..
support Constant time (#185) 2022-02-28 09:23:26 +01:00
vectors Pasta curves (#191) 2022-04-27 00:58:48 +02:00
t_bigints.nim Constant time (#185) 2022-02-28 09:23:26 +01:00
t_bigints_mod_vs_gmp.nim CI: enable GMP tests on Windows and Linux 32-bit and fix caching (#204) 2022-09-15 09:33:34 +02:00
t_bigints_mul_high_words_vs_gmp.nim CI: enable GMP tests on Windows and Linux 32-bit and fix caching (#204) 2022-09-15 09:33:34 +02:00
t_bigints_mul_vs_gmp.nim CI: enable GMP tests on Windows and Linux 32-bit and fix caching (#204) 2022-09-15 09:33:34 +02:00
t_bigints_multimod.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_conversion.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_frobenius.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_sage_bls12_377.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_sage_bls12_381.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_sage_bn254_nogami.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_sage_bn254_snarks.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_sage_bw6_761_g1.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_sage_bw6_761_g2.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_sage_pallas.nim Pasta curves (#191) 2022-04-27 00:58:48 +02:00
t_ec_sage_template.nim Self-contained bindings generation (#196) 2022-08-06 19:05:54 +02:00
t_ec_sage_vesta.nim Pasta curves (#191) 2022-04-27 00:58:48 +02:00
t_ec_shortw_jac_g1_add_double.nim Pasta curves (#191) 2022-04-27 00:58:48 +02:00
t_ec_shortw_jac_g1_batch_add.nim Batch additions (#207) 2022-10-29 22:43:40 +02:00
t_ec_shortw_jac_g1_mixed_add.nim Pasta curves (#191) 2022-04-27 00:58:48 +02:00
t_ec_shortw_jac_g1_mul_distri.nim Pasta curves (#191) 2022-04-27 00:58:48 +02:00
t_ec_shortw_jac_g1_mul_sanity.nim Pasta curves (#191) 2022-04-27 00:58:48 +02:00
t_ec_shortw_jac_g1_mul_vs_ref.nim Pasta curves (#191) 2022-04-27 00:58:48 +02:00
t_ec_shortw_jac_g2_add_double_bls12_377.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_jac_g2_add_double_bls12_381.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_jac_g2_add_double_bn254_snarks.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_jac_g2_add_double_bw6_761.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_jac_g2_mixed_add_bls12_377.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_jac_g2_mixed_add_bls12_381.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_jac_g2_mixed_add_bn254_snarks.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_jac_g2_mixed_add_bw6_761.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_jac_g2_mul_distri_bls12_377.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_jac_g2_mul_distri_bls12_381.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_jac_g2_mul_distri_bn254_snarks.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_jac_g2_mul_distri_bw6_761.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_jac_g2_mul_sanity_bls12_377.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_jac_g2_mul_sanity_bls12_381.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_jac_g2_mul_sanity_bn254_snarks.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_jac_g2_mul_sanity_bw6_761.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_jac_g2_mul_vs_ref_bls12_377.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_jac_g2_mul_vs_ref_bls12_381.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_jac_g2_mul_vs_ref_bn254_snarks.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_jac_g2_mul_vs_ref_bw6_761.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_prj_edge_cases.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_prj_g1_add_double.nim Pasta curves (#191) 2022-04-27 00:58:48 +02:00
t_ec_shortw_prj_g1_batch_add.nim Batch additions (#207) 2022-10-29 22:43:40 +02:00
t_ec_shortw_prj_g1_mixed_add.nim Pasta curves (#191) 2022-04-27 00:58:48 +02:00
t_ec_shortw_prj_g1_mul_distri.nim Pasta curves (#191) 2022-04-27 00:58:48 +02:00
t_ec_shortw_prj_g1_mul_sanity.nim Pasta curves (#191) 2022-04-27 00:58:48 +02:00
t_ec_shortw_prj_g1_mul_vs_ref.nim Pasta curves (#191) 2022-04-27 00:58:48 +02:00
t_ec_shortw_prj_g2_add_double_bls12_377.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_prj_g2_add_double_bls12_381.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_prj_g2_add_double_bn254_snarks.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_prj_g2_add_double_bw6_761.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_prj_g2_mixed_add_bls12_377.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_prj_g2_mixed_add_bls12_381.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_prj_g2_mixed_add_bn254_snarks.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_prj_g2_mixed_add_bw6_761.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_prj_g2_mul_distri_bls12_377.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_prj_g2_mul_distri_bls12_381.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_prj_g2_mul_distri_bn254_snarks.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_prj_g2_mul_distri_bw6_761.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_prj_g2_mul_sanity_bls12_377.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_prj_g2_mul_sanity_bls12_381.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_prj_g2_mul_sanity_bn254_snarks.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_prj_g2_mul_sanity_bw6_761.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_prj_g2_mul_vs_ref_bls12_377.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_prj_g2_mul_vs_ref_bls12_381.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_prj_g2_mul_vs_ref_bn254_snarks.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_shortw_prj_g2_mul_vs_ref_bw6_761.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_subgroups_bls12_377.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_subgroups_bls12_381.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_subgroups_bn254_nogami.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_subgroups_bn254_snarks.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_template.nim Batch additions (#207) 2022-10-29 22:43:40 +02:00
t_ec_twedwards_prj_add_double.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_twedwards_prj_mul_distri.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_twedwards_prj_mul_sanity.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_ec_twedwards_prj_mul_vs_ref.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_finite_fields.nim Constant time (#185) 2022-02-28 09:23:26 +01:00
t_finite_fields.nim.cfg Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_finite_fields_conditional_arithmetic.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_finite_fields_double_precision.nim Pasta curves (#191) 2022-04-27 00:58:48 +02:00
t_finite_fields_double_precision.nim.cfg Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_finite_fields_mulsquare.nim Fp12 over fp6 (#201) 2022-08-14 09:48:10 +02:00
t_finite_fields_mulsquare.nim.cfg Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_finite_fields_powinv.nim Pasta curves (#191) 2022-04-27 00:58:48 +02:00
t_finite_fields_powinv.nim.cfg Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_finite_fields_sqrt.nim Pasta curves (#191) 2022-04-27 00:58:48 +02:00
t_finite_fields_sqrt.nim.cfg Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_finite_fields_vs_gmp.nim CI: enable GMP tests on Windows and Linux 32-bit and fix caching (#204) 2022-09-15 09:33:34 +02:00
t_fp2.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_fp2_frobenius.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_fp2_sqrt.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_fp4.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_fp4_frobenius.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_fp6_bls12_377.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_fp6_bls12_381.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_fp6_bn254_nogami.nim Fp12 over fp6 (#201) 2022-08-14 09:48:10 +02:00
t_fp6_bn254_snarks.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_fp6_bw6_761.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_fp6_frobenius.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_fp12_anti_regression.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_fp12_bls12_377.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_fp12_bls12_381.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_fp12_bn254_nogami.nim Fp12 over fp6 (#201) 2022-08-14 09:48:10 +02:00
t_fp12_bn254_snarks.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_fp12_exponentiation.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_fp12_frobenius.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_fp_cubic_root.nim Fp12 over fp6 (#201) 2022-08-14 09:48:10 +02:00
t_fp_tower_frobenius_template.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_fp_tower_template.nim Fp12 over fp6 (#201) 2022-08-14 09:48:10 +02:00
t_fr.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_io_bigints.nim Constant time (#185) 2022-02-28 09:23:26 +01:00
t_io_fields.nim Constant time (#185) 2022-02-28 09:23:26 +01:00
t_io_fields.nim.cfg Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_io_unsaturated.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_pairing_bls12_377_gt_subgroup.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_pairing_bls12_377_line_functions.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_pairing_bls12_377_optate.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_pairing_bls12_381_gt_subgroup.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_pairing_bls12_381_line_functions.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_pairing_bls12_381_multi.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_pairing_bls12_381_optate.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_pairing_bn254_nogami_gt_subgroup.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_pairing_bn254_nogami_multi.nim Add multipairing for BN curves (#194) 2022-05-08 19:01:23 +02:00
t_pairing_bn254_nogami_optate.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_pairing_bn254_snarks_gt_subgroup.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_pairing_bn254_snarks_multi.nim Add multipairing for BN curves (#194) 2022-05-08 19:01:23 +02:00
t_pairing_bn254_snarks_optate.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_pairing_bw6_761_gt_subgroup.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_pairing_bw6_761_optate.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_pairing_cyclotomic_subgroup.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_pairing_mul_fp12_by_lines.nim Fp12 over fp6 (#201) 2022-08-14 09:48:10 +02:00
t_pairing_template.nim Fp12 over fp6 (#201) 2022-08-14 09:48:10 +02:00
t_primitives.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00
t_primitives_extended_precision.nim Don't dump all in "backend" (#184) 2022-02-27 01:49:08 +01:00