├── .github └── workflows │ ├── deploy.yml │ └── main.yml ├── CMakeLists.txt ├── LICENSE ├── README.md ├── SPONSORS ├── TODO ├── changes.txt ├── demo ├── CMakeLists.txt ├── rsa.c ├── stest.c ├── test.c └── timing.c ├── doc ├── makefile └── tfm.tex ├── helper.pl ├── makefile ├── makefile.shared ├── makefile_include.mk ├── mtest ├── makefile └── mtest.c ├── random_txt_files ├── amd64.txt ├── exptmod_timings.txt ├── ltm_times.txt ├── newsqr.txt └── old_sqr_times.txt ├── sources.cmake ├── src ├── addsub │ ├── fp_add.c │ ├── fp_add_d.c │ ├── fp_addmod.c │ ├── fp_cmp.c │ ├── fp_cmp_d.c │ ├── fp_cmp_mag.c │ ├── fp_sub.c │ ├── fp_sub_d.c │ ├── fp_submod.c │ ├── s_fp_add.c │ └── s_fp_sub.c ├── bin │ ├── fp_radix_size.c │ ├── fp_read_radix.c │ ├── fp_read_signed_bin.c │ ├── fp_read_unsigned_bin.c │ ├── fp_reverse.c │ ├── fp_s_rmap.c │ ├── fp_signed_bin_size.c │ ├── fp_to_signed_bin.c │ ├── fp_to_unsigned_bin.c │ ├── fp_toradix.c │ ├── fp_toradix_n.c │ └── fp_unsigned_bin_size.c ├── bit │ ├── fp_cnt_lsb.c │ ├── fp_count_bits.c │ ├── fp_div_2.c │ ├── fp_div_2d.c │ ├── fp_lshd.c │ ├── fp_mod_2d.c │ └── fp_rshd.c ├── divide │ ├── fp_div.c │ ├── fp_div_d.c │ ├── fp_mod.c │ └── fp_mod_d.c ├── exptmod │ ├── fp_2expt.c │ └── fp_exptmod.c ├── generators │ ├── .gitignore │ ├── comba_mont_gen.c │ ├── comba_mult_gen.c │ ├── comba_mult_smallgen.c │ ├── comba_sqr_gen.c │ ├── comba_sqr_smallgen.c │ └── makefile ├── headers │ ├── tfm.h │ └── tfm_private.h ├── misc │ ├── fp_ident.c │ ├── fp_rand.c │ └── fp_set.c ├── mont │ ├── fp_mont_small.i │ ├── fp_montgomery_calc_normalization.c │ ├── fp_montgomery_reduce.c │ └── fp_montgomery_setup.c ├── mul │ ├── fp_mul.c │ ├── fp_mul_2.c │ ├── fp_mul_2d.c │ ├── fp_mul_comba.c │ ├── fp_mul_comba_12.c │ ├── fp_mul_comba_17.c │ ├── fp_mul_comba_20.c │ ├── fp_mul_comba_24.c │ ├── fp_mul_comba_28.c │ ├── fp_mul_comba_3.c │ ├── fp_mul_comba_32.c │ ├── fp_mul_comba_4.c │ ├── fp_mul_comba_48.c │ ├── fp_mul_comba_6.c │ ├── fp_mul_comba_64.c │ ├── fp_mul_comba_7.c │ ├── fp_mul_comba_8.c │ ├── fp_mul_comba_9.c │ ├── fp_mul_comba_small_set.c │ ├── fp_mul_d.c │ └── fp_mulmod.c ├── numtheory │ ├── fp_gcd.c │ ├── fp_invmod.c │ ├── fp_isprime.c │ ├── fp_isprime_ex.c │ ├── fp_lcm.c │ ├── fp_prime_miller_rabin.c │ └── fp_prime_random_ex.c └── sqr │ ├── fp_sqr.c │ ├── fp_sqr_comba.c │ ├── fp_sqr_comba_12.c │ ├── fp_sqr_comba_17.c │ ├── fp_sqr_comba_20.c │ ├── fp_sqr_comba_24.c │ ├── fp_sqr_comba_28.c │ ├── fp_sqr_comba_3.c │ ├── fp_sqr_comba_32.c │ ├── fp_sqr_comba_4.c │ ├── fp_sqr_comba_48.c │ ├── fp_sqr_comba_6.c │ ├── fp_sqr_comba_64.c │ ├── fp_sqr_comba_7.c │ ├── fp_sqr_comba_8.c │ ├── fp_sqr_comba_9.c │ ├── fp_sqr_comba_generic.c │ ├── fp_sqr_comba_small_set.c │ └── fp_sqrmod.c ├── testme.sh └── tomsfastmath.pc.in /.github/workflows/deploy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/.github/workflows/deploy.yml -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/README.md -------------------------------------------------------------------------------- /SPONSORS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/SPONSORS -------------------------------------------------------------------------------- /TODO: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /changes.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/changes.txt -------------------------------------------------------------------------------- /demo/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/demo/CMakeLists.txt -------------------------------------------------------------------------------- /demo/rsa.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/demo/rsa.c -------------------------------------------------------------------------------- /demo/stest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/demo/stest.c -------------------------------------------------------------------------------- /demo/test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/demo/test.c -------------------------------------------------------------------------------- /demo/timing.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/demo/timing.c -------------------------------------------------------------------------------- /doc/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/doc/makefile -------------------------------------------------------------------------------- /doc/tfm.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/doc/tfm.tex -------------------------------------------------------------------------------- /helper.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/helper.pl -------------------------------------------------------------------------------- /makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/makefile -------------------------------------------------------------------------------- /makefile.shared: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/makefile.shared -------------------------------------------------------------------------------- /makefile_include.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/makefile_include.mk -------------------------------------------------------------------------------- /mtest/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/mtest/makefile -------------------------------------------------------------------------------- /mtest/mtest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/mtest/mtest.c -------------------------------------------------------------------------------- /random_txt_files/amd64.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/random_txt_files/amd64.txt -------------------------------------------------------------------------------- /random_txt_files/exptmod_timings.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/random_txt_files/exptmod_timings.txt -------------------------------------------------------------------------------- /random_txt_files/ltm_times.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/random_txt_files/ltm_times.txt -------------------------------------------------------------------------------- /random_txt_files/newsqr.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/random_txt_files/newsqr.txt -------------------------------------------------------------------------------- /random_txt_files/old_sqr_times.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/random_txt_files/old_sqr_times.txt -------------------------------------------------------------------------------- /sources.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/sources.cmake -------------------------------------------------------------------------------- /src/addsub/fp_add.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/addsub/fp_add.c -------------------------------------------------------------------------------- /src/addsub/fp_add_d.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/addsub/fp_add_d.c -------------------------------------------------------------------------------- /src/addsub/fp_addmod.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/addsub/fp_addmod.c -------------------------------------------------------------------------------- /src/addsub/fp_cmp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/addsub/fp_cmp.c -------------------------------------------------------------------------------- /src/addsub/fp_cmp_d.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/addsub/fp_cmp_d.c -------------------------------------------------------------------------------- /src/addsub/fp_cmp_mag.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/addsub/fp_cmp_mag.c -------------------------------------------------------------------------------- /src/addsub/fp_sub.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/addsub/fp_sub.c -------------------------------------------------------------------------------- /src/addsub/fp_sub_d.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/addsub/fp_sub_d.c -------------------------------------------------------------------------------- /src/addsub/fp_submod.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/addsub/fp_submod.c -------------------------------------------------------------------------------- /src/addsub/s_fp_add.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/addsub/s_fp_add.c -------------------------------------------------------------------------------- /src/addsub/s_fp_sub.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/addsub/s_fp_sub.c -------------------------------------------------------------------------------- /src/bin/fp_radix_size.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/bin/fp_radix_size.c -------------------------------------------------------------------------------- /src/bin/fp_read_radix.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/bin/fp_read_radix.c -------------------------------------------------------------------------------- /src/bin/fp_read_signed_bin.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/bin/fp_read_signed_bin.c -------------------------------------------------------------------------------- /src/bin/fp_read_unsigned_bin.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/bin/fp_read_unsigned_bin.c -------------------------------------------------------------------------------- /src/bin/fp_reverse.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/bin/fp_reverse.c -------------------------------------------------------------------------------- /src/bin/fp_s_rmap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/bin/fp_s_rmap.c -------------------------------------------------------------------------------- /src/bin/fp_signed_bin_size.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/bin/fp_signed_bin_size.c -------------------------------------------------------------------------------- /src/bin/fp_to_signed_bin.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/bin/fp_to_signed_bin.c -------------------------------------------------------------------------------- /src/bin/fp_to_unsigned_bin.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/bin/fp_to_unsigned_bin.c -------------------------------------------------------------------------------- /src/bin/fp_toradix.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/bin/fp_toradix.c -------------------------------------------------------------------------------- /src/bin/fp_toradix_n.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/bin/fp_toradix_n.c -------------------------------------------------------------------------------- /src/bin/fp_unsigned_bin_size.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/bin/fp_unsigned_bin_size.c -------------------------------------------------------------------------------- /src/bit/fp_cnt_lsb.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/bit/fp_cnt_lsb.c -------------------------------------------------------------------------------- /src/bit/fp_count_bits.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/bit/fp_count_bits.c -------------------------------------------------------------------------------- /src/bit/fp_div_2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/bit/fp_div_2.c -------------------------------------------------------------------------------- /src/bit/fp_div_2d.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/bit/fp_div_2d.c -------------------------------------------------------------------------------- /src/bit/fp_lshd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/bit/fp_lshd.c -------------------------------------------------------------------------------- /src/bit/fp_mod_2d.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/bit/fp_mod_2d.c -------------------------------------------------------------------------------- /src/bit/fp_rshd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/bit/fp_rshd.c -------------------------------------------------------------------------------- /src/divide/fp_div.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/divide/fp_div.c -------------------------------------------------------------------------------- /src/divide/fp_div_d.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/divide/fp_div_d.c -------------------------------------------------------------------------------- /src/divide/fp_mod.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/divide/fp_mod.c -------------------------------------------------------------------------------- /src/divide/fp_mod_d.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/divide/fp_mod_d.c -------------------------------------------------------------------------------- /src/exptmod/fp_2expt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/exptmod/fp_2expt.c -------------------------------------------------------------------------------- /src/exptmod/fp_exptmod.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/exptmod/fp_exptmod.c -------------------------------------------------------------------------------- /src/generators/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/generators/.gitignore -------------------------------------------------------------------------------- /src/generators/comba_mont_gen.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/generators/comba_mont_gen.c -------------------------------------------------------------------------------- /src/generators/comba_mult_gen.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/generators/comba_mult_gen.c -------------------------------------------------------------------------------- /src/generators/comba_mult_smallgen.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/generators/comba_mult_smallgen.c -------------------------------------------------------------------------------- /src/generators/comba_sqr_gen.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/generators/comba_sqr_gen.c -------------------------------------------------------------------------------- /src/generators/comba_sqr_smallgen.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/generators/comba_sqr_smallgen.c -------------------------------------------------------------------------------- /src/generators/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/generators/makefile -------------------------------------------------------------------------------- /src/headers/tfm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/headers/tfm.h -------------------------------------------------------------------------------- /src/headers/tfm_private.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/headers/tfm_private.h -------------------------------------------------------------------------------- /src/misc/fp_ident.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/misc/fp_ident.c -------------------------------------------------------------------------------- /src/misc/fp_rand.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/misc/fp_rand.c -------------------------------------------------------------------------------- /src/misc/fp_set.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/misc/fp_set.c -------------------------------------------------------------------------------- /src/mont/fp_mont_small.i: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/mont/fp_mont_small.i -------------------------------------------------------------------------------- /src/mont/fp_montgomery_calc_normalization.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/mont/fp_montgomery_calc_normalization.c -------------------------------------------------------------------------------- /src/mont/fp_montgomery_reduce.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/mont/fp_montgomery_reduce.c -------------------------------------------------------------------------------- /src/mont/fp_montgomery_setup.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/mont/fp_montgomery_setup.c -------------------------------------------------------------------------------- /src/mul/fp_mul.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/mul/fp_mul.c -------------------------------------------------------------------------------- /src/mul/fp_mul_2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/mul/fp_mul_2.c -------------------------------------------------------------------------------- /src/mul/fp_mul_2d.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/mul/fp_mul_2d.c -------------------------------------------------------------------------------- /src/mul/fp_mul_comba.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/mul/fp_mul_comba.c -------------------------------------------------------------------------------- /src/mul/fp_mul_comba_12.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/mul/fp_mul_comba_12.c -------------------------------------------------------------------------------- /src/mul/fp_mul_comba_17.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/mul/fp_mul_comba_17.c -------------------------------------------------------------------------------- /src/mul/fp_mul_comba_20.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/mul/fp_mul_comba_20.c -------------------------------------------------------------------------------- /src/mul/fp_mul_comba_24.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/mul/fp_mul_comba_24.c -------------------------------------------------------------------------------- /src/mul/fp_mul_comba_28.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/mul/fp_mul_comba_28.c -------------------------------------------------------------------------------- /src/mul/fp_mul_comba_3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/mul/fp_mul_comba_3.c -------------------------------------------------------------------------------- /src/mul/fp_mul_comba_32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/mul/fp_mul_comba_32.c -------------------------------------------------------------------------------- /src/mul/fp_mul_comba_4.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/mul/fp_mul_comba_4.c -------------------------------------------------------------------------------- /src/mul/fp_mul_comba_48.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/mul/fp_mul_comba_48.c -------------------------------------------------------------------------------- /src/mul/fp_mul_comba_6.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/mul/fp_mul_comba_6.c -------------------------------------------------------------------------------- /src/mul/fp_mul_comba_64.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/mul/fp_mul_comba_64.c -------------------------------------------------------------------------------- /src/mul/fp_mul_comba_7.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/mul/fp_mul_comba_7.c -------------------------------------------------------------------------------- /src/mul/fp_mul_comba_8.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/mul/fp_mul_comba_8.c -------------------------------------------------------------------------------- /src/mul/fp_mul_comba_9.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/mul/fp_mul_comba_9.c -------------------------------------------------------------------------------- /src/mul/fp_mul_comba_small_set.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/mul/fp_mul_comba_small_set.c -------------------------------------------------------------------------------- /src/mul/fp_mul_d.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/mul/fp_mul_d.c -------------------------------------------------------------------------------- /src/mul/fp_mulmod.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/mul/fp_mulmod.c -------------------------------------------------------------------------------- /src/numtheory/fp_gcd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/numtheory/fp_gcd.c -------------------------------------------------------------------------------- /src/numtheory/fp_invmod.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/numtheory/fp_invmod.c -------------------------------------------------------------------------------- /src/numtheory/fp_isprime.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/numtheory/fp_isprime.c -------------------------------------------------------------------------------- /src/numtheory/fp_isprime_ex.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/numtheory/fp_isprime_ex.c -------------------------------------------------------------------------------- /src/numtheory/fp_lcm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/numtheory/fp_lcm.c -------------------------------------------------------------------------------- /src/numtheory/fp_prime_miller_rabin.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/numtheory/fp_prime_miller_rabin.c -------------------------------------------------------------------------------- /src/numtheory/fp_prime_random_ex.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/numtheory/fp_prime_random_ex.c -------------------------------------------------------------------------------- /src/sqr/fp_sqr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/sqr/fp_sqr.c -------------------------------------------------------------------------------- /src/sqr/fp_sqr_comba.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/sqr/fp_sqr_comba.c -------------------------------------------------------------------------------- /src/sqr/fp_sqr_comba_12.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/sqr/fp_sqr_comba_12.c -------------------------------------------------------------------------------- /src/sqr/fp_sqr_comba_17.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/sqr/fp_sqr_comba_17.c -------------------------------------------------------------------------------- /src/sqr/fp_sqr_comba_20.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/sqr/fp_sqr_comba_20.c -------------------------------------------------------------------------------- /src/sqr/fp_sqr_comba_24.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/sqr/fp_sqr_comba_24.c -------------------------------------------------------------------------------- /src/sqr/fp_sqr_comba_28.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/sqr/fp_sqr_comba_28.c -------------------------------------------------------------------------------- /src/sqr/fp_sqr_comba_3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/sqr/fp_sqr_comba_3.c -------------------------------------------------------------------------------- /src/sqr/fp_sqr_comba_32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/sqr/fp_sqr_comba_32.c -------------------------------------------------------------------------------- /src/sqr/fp_sqr_comba_4.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/sqr/fp_sqr_comba_4.c -------------------------------------------------------------------------------- /src/sqr/fp_sqr_comba_48.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/sqr/fp_sqr_comba_48.c -------------------------------------------------------------------------------- /src/sqr/fp_sqr_comba_6.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/sqr/fp_sqr_comba_6.c -------------------------------------------------------------------------------- /src/sqr/fp_sqr_comba_64.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/sqr/fp_sqr_comba_64.c -------------------------------------------------------------------------------- /src/sqr/fp_sqr_comba_7.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/sqr/fp_sqr_comba_7.c -------------------------------------------------------------------------------- /src/sqr/fp_sqr_comba_8.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/sqr/fp_sqr_comba_8.c -------------------------------------------------------------------------------- /src/sqr/fp_sqr_comba_9.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/sqr/fp_sqr_comba_9.c -------------------------------------------------------------------------------- /src/sqr/fp_sqr_comba_generic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/sqr/fp_sqr_comba_generic.c -------------------------------------------------------------------------------- /src/sqr/fp_sqr_comba_small_set.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/sqr/fp_sqr_comba_small_set.c -------------------------------------------------------------------------------- /src/sqr/fp_sqrmod.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/src/sqr/fp_sqrmod.c -------------------------------------------------------------------------------- /testme.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/testme.sh -------------------------------------------------------------------------------- /tomsfastmath.pc.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libtom/tomsfastmath/HEAD/tomsfastmath.pc.in --------------------------------------------------------------------------------