Bladeren bron

Merge pull request #1111 from Kelimion/libtommath

Slim down LibTomMath compile.
Jeroen van Rijn 4 jaren geleden
bovenliggende
commit
27fd702692
1 gewijzigde bestanden met toevoegingen van 19 en 19 verwijderingen
  1. 19 19
      src/libtommath.cpp

+ 19 - 19
src/libtommath.cpp

@@ -25,8 +25,8 @@
 #include "libtommath/mp_error_to_string.c"
 #include "libtommath/mp_exch.c"
 #include "libtommath/mp_expt_n.c"
-#include "libtommath/mp_exptmod.c"
-#include "libtommath/mp_exteuclid.c"
+// #include "libtommath/mp_exptmod.c"
+// #include "libtommath/mp_exteuclid.c"
 #include "libtommath/mp_fread.c"
 #include "libtommath/mp_from_sbin.c"
 #include "libtommath/mp_from_ubin.c"
@@ -53,15 +53,15 @@
 #include "libtommath/mp_init_ul.c"
 #include "libtommath/mp_invmod.c"
 #include "libtommath/mp_is_square.c"
-#include "libtommath/mp_kronecker.c"
+// #include "libtommath/mp_kronecker.c"
 #include "libtommath/mp_lcm.c"
 #include "libtommath/mp_log_n.c"
 #include "libtommath/mp_lshd.c"
 #include "libtommath/mp_mod.c"
 #include "libtommath/mp_mod_2d.c"
-#include "libtommath/mp_montgomery_calc_normalization.c"
-#include "libtommath/mp_montgomery_reduce.c"
-#include "libtommath/mp_montgomery_setup.c"
+// #include "libtommath/mp_montgomery_calc_normalization.c"
+// #include "libtommath/mp_montgomery_reduce.c"
+// #include "libtommath/mp_montgomery_setup.c"
 #include "libtommath/mp_mul.c"
 #include "libtommath/mp_mul_2.c"
 #include "libtommath/mp_mul_2d.c"
@@ -84,14 +84,14 @@
 // #include "libtommath/mp_rand.c"
 // #include "libtommath/mp_rand_source.c"
 #include "libtommath/mp_read_radix.c"
-#include "libtommath/mp_reduce.c"
-#include "libtommath/mp_reduce_2k.c"
-#include "libtommath/mp_reduce_2k_l.c"
-#include "libtommath/mp_reduce_2k_setup.c"
-#include "libtommath/mp_reduce_2k_setup_l.c"
-#include "libtommath/mp_reduce_is_2k.c"
-#include "libtommath/mp_reduce_is_2k_l.c"
-#include "libtommath/mp_reduce_setup.c"
+// #include "libtommath/mp_reduce.c"
+// #include "libtommath/mp_reduce_2k.c"
+// #include "libtommath/mp_reduce_2k_l.c"
+// #include "libtommath/mp_reduce_2k_setup.c"
+// #include "libtommath/mp_reduce_2k_setup_l.c"
+// #include "libtommath/mp_reduce_is_2k.c"
+// #include "libtommath/mp_reduce_is_2k_l.c"
+// #include "libtommath/mp_reduce_setup.c"
 #include "libtommath/mp_root_n.c"
 #include "libtommath/mp_rshd.c"
 #include "libtommath/mp_sbin_size.c"
@@ -105,9 +105,9 @@
 #include "libtommath/mp_set_ul.c"
 #include "libtommath/mp_shrink.c"
 #include "libtommath/mp_signed_rsh.c"
-#include "libtommath/mp_sqrmod.c"
+// #include "libtommath/mp_sqrmod.c"
 #include "libtommath/mp_sqrt.c"
-#include "libtommath/mp_sqrtmod_prime.c"
+// #include "libtommath/mp_sqrtmod_prime.c"
 #include "libtommath/mp_sub.c"
 #include "libtommath/mp_sub_d.c"
 #include "libtommath/mp_submod.c"
@@ -124,15 +124,15 @@
 #include "libtommath/s_mp_div_recursive.c"
 #include "libtommath/s_mp_div_school.c"
 #include "libtommath/s_mp_div_small.c"
-#include "libtommath/s_mp_exptmod.c"
-#include "libtommath/s_mp_exptmod_fast.c"
+// #include "libtommath/s_mp_exptmod.c"
+// #include "libtommath/s_mp_exptmod_fast.c"
 #include "libtommath/s_mp_get_bit.c"
 #include "libtommath/s_mp_invmod.c"
 #include "libtommath/s_mp_invmod_odd.c"
 #include "libtommath/s_mp_log.c"
 #include "libtommath/s_mp_log_2expt.c"
 #include "libtommath/s_mp_log_d.c"
-#include "libtommath/s_mp_montgomery_reduce_comba.c"
+// #include "libtommath/s_mp_montgomery_reduce_comba.c"
 #include "libtommath/s_mp_mul.c"
 #include "libtommath/s_mp_mul_balance.c"
 #include "libtommath/s_mp_mul_comba.c"