aboutsummaryrefslogtreecommitdiff
path: root/src/libtommath.cpp
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2021-08-29 15:54:56 +0200
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2021-08-29 15:54:56 +0200
commit5c7cb393dc567986d7968258426e41c53fb45a0c (patch)
tree7c3107c64463e77860163aa5a25c55eba3d3afd8 /src/libtommath.cpp
parentd6bd56da2ca26d65a80422e269c39fe1a05e533c (diff)
Slim down LibTomMath compile.
Diffstat (limited to 'src/libtommath.cpp')
-rw-r--r--src/libtommath.cpp38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/libtommath.cpp b/src/libtommath.cpp
index ee3587fb3..c1e1cfe34 100644
--- a/src/libtommath.cpp
+++ b/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"