Browse Source

Add libtommath.c

gingerBill 4 years ago
parent
commit
e308098f18
1 changed files with 154 additions and 0 deletions
  1. 154 0
      src/libtommath.c

+ 154 - 0
src/libtommath.c

@@ -0,0 +1,154 @@
+#include "libtommath/mp_2expt.c"
+#include "libtommath/mp_abs.c"
+#include "libtommath/mp_add.c"
+#include "libtommath/mp_add_d.c"
+#include "libtommath/mp_addmod.c"
+#include "libtommath/mp_and.c"
+#include "libtommath/mp_clamp.c"
+#include "libtommath/mp_clear.c"
+#include "libtommath/mp_clear_multi.c"
+#include "libtommath/mp_cmp.c"
+#include "libtommath/mp_cmp_d.c"
+#include "libtommath/mp_cmp_mag.c"
+#include "libtommath/mp_cnt_lsb.c"
+#include "libtommath/mp_complement.c"
+#include "libtommath/mp_copy.c"
+#include "libtommath/mp_count_bits.c"
+#include "libtommath/mp_cutoffs.c"
+#include "libtommath/mp_div.c"
+#include "libtommath/mp_div_2.c"
+#include "libtommath/mp_div_2d.c"
+#include "libtommath/mp_div_d.c"
+#include "libtommath/mp_dr_is_modulus.c"
+#include "libtommath/mp_dr_reduce.c"
+#include "libtommath/mp_dr_setup.c"
+#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_fread.c"
+#include "libtommath/mp_from_sbin.c"
+#include "libtommath/mp_from_ubin.c"
+#include "libtommath/mp_fwrite.c"
+#include "libtommath/mp_gcd.c"
+#include "libtommath/mp_get_double.c"
+#include "libtommath/mp_get_i32.c"
+#include "libtommath/mp_get_i64.c"
+#include "libtommath/mp_get_l.c"
+#include "libtommath/mp_get_mag_u32.c"
+#include "libtommath/mp_get_mag_u64.c"
+#include "libtommath/mp_get_mag_ul.c"
+#include "libtommath/mp_grow.c"
+#include "libtommath/mp_init.c"
+#include "libtommath/mp_init_copy.c"
+#include "libtommath/mp_init_i32.c"
+#include "libtommath/mp_init_i64.c"
+#include "libtommath/mp_init_l.c"
+#include "libtommath/mp_init_multi.c"
+#include "libtommath/mp_init_set.c"
+#include "libtommath/mp_init_size.c"
+#include "libtommath/mp_init_u32.c"
+#include "libtommath/mp_init_u64.c"
+#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_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_mul.c"
+#include "libtommath/mp_mul_2.c"
+#include "libtommath/mp_mul_2d.c"
+#include "libtommath/mp_mul_d.c"
+#include "libtommath/mp_mulmod.c"
+#include "libtommath/mp_neg.c"
+#include "libtommath/mp_or.c"
+#include "libtommath/mp_pack.c"
+#include "libtommath/mp_pack_count.c"
+// #include "libtommath/mp_prime_fermat.c"
+// #include "libtommath/mp_prime_frobenius_underwood.c"
+// #include "libtommath/mp_prime_is_prime.c"
+// #include "libtommath/mp_prime_miller_rabin.c"
+// #include "libtommath/mp_prime_next_prime.c"
+// #include "libtommath/mp_prime_rabin_miller_trials.c"
+// #include "libtommath/mp_prime_rand.c"
+// #include "libtommath/mp_prime_strong_lucas_selfridge.c"
+#include "libtommath/mp_radix_size.c"
+#include "libtommath/mp_radix_size_overestimate.c"
+// #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_root_n.c"
+#include "libtommath/mp_rshd.c"
+#include "libtommath/mp_sbin_size.c"
+#include "libtommath/mp_set.c"
+#include "libtommath/mp_set_double.c"
+#include "libtommath/mp_set_i32.c"
+#include "libtommath/mp_set_i64.c"
+#include "libtommath/mp_set_l.c"
+#include "libtommath/mp_set_u32.c"
+#include "libtommath/mp_set_u64.c"
+#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_sqrt.c"
+#include "libtommath/mp_sqrtmod_prime.c"
+#include "libtommath/mp_sub.c"
+#include "libtommath/mp_sub_d.c"
+#include "libtommath/mp_submod.c"
+#include "libtommath/mp_to_radix.c"
+#include "libtommath/mp_to_sbin.c"
+#include "libtommath/mp_to_ubin.c"
+#include "libtommath/mp_ubin_size.c"
+#include "libtommath/mp_unpack.c"
+#include "libtommath/mp_xor.c"
+#include "libtommath/mp_zero.c"
+#include "libtommath/s_mp_add.c"
+#include "libtommath/s_mp_copy_digs.c"
+#include "libtommath/s_mp_div_3.c"
+#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_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_mul.c"
+#include "libtommath/s_mp_mul_balance.c"
+#include "libtommath/s_mp_mul_comba.c"
+#include "libtommath/s_mp_mul_high.c"
+#include "libtommath/s_mp_mul_high_comba.c"
+#include "libtommath/s_mp_mul_karatsuba.c"
+#include "libtommath/s_mp_mul_toom.c"
+#include "libtommath/s_mp_prime_is_divisible.c"
+#include "libtommath/s_mp_prime_tab.c"
+#include "libtommath/s_mp_radix_map.c"
+#include "libtommath/s_mp_radix_size_overestimate.c"
+// #include "libtommath/s_mp_rand_platform.c"
+#include "libtommath/s_mp_sqr.c"
+#include "libtommath/s_mp_sqr_comba.c"
+#include "libtommath/s_mp_sqr_karatsuba.c"
+#include "libtommath/s_mp_sqr_toom.c"
+#include "libtommath/s_mp_sub.c"
+#include "libtommath/s_mp_zero_buf.c"
+#include "libtommath/s_mp_zero_digs.c"