2019-05-28 12:26:41 +00:00
|
|
|
; libtommath
|
|
|
|
;
|
|
|
|
; Use this command to produce a 32-bit .lib file, for use in any MSVC version
|
|
|
|
; lib -machine:X86 -name:libtommath.dll -def:tommath.def -out:tommath.lib
|
|
|
|
; Use this command to produce a 64-bit .lib file, for use in any MSVC version
|
|
|
|
; lib -machine:X64 -name:libtommath.dll -def:tommath.def -out:tommath.lib
|
|
|
|
;
|
|
|
|
EXPORTS
|
|
|
|
mp_2expt
|
|
|
|
mp_abs
|
|
|
|
mp_add
|
|
|
|
mp_add_d
|
|
|
|
mp_addmod
|
|
|
|
mp_and
|
|
|
|
mp_clamp
|
|
|
|
mp_clear
|
|
|
|
mp_clear_multi
|
|
|
|
mp_cmp
|
|
|
|
mp_cmp_d
|
|
|
|
mp_cmp_mag
|
|
|
|
mp_cnt_lsb
|
|
|
|
mp_complement
|
|
|
|
mp_copy
|
|
|
|
mp_count_bits
|
2019-06-06 16:15:19 +00:00
|
|
|
mp_div
|
2019-05-28 12:26:41 +00:00
|
|
|
mp_div_2
|
|
|
|
mp_div_2d
|
|
|
|
mp_div_d
|
|
|
|
mp_dr_is_modulus
|
|
|
|
mp_dr_reduce
|
|
|
|
mp_dr_setup
|
|
|
|
mp_error_to_string
|
|
|
|
mp_exch
|
2019-11-05 23:13:39 +00:00
|
|
|
mp_expt_n
|
2019-05-28 12:26:41 +00:00
|
|
|
mp_exptmod
|
|
|
|
mp_exteuclid
|
|
|
|
mp_fread
|
2019-09-24 22:29:19 +00:00
|
|
|
mp_from_sbin
|
|
|
|
mp_from_ubin
|
2019-05-28 12:26:41 +00:00
|
|
|
mp_fwrite
|
|
|
|
mp_gcd
|
|
|
|
mp_get_double
|
|
|
|
mp_get_i32
|
|
|
|
mp_get_i64
|
2019-06-12 11:11:58 +00:00
|
|
|
mp_get_l
|
|
|
|
mp_get_ll
|
2019-07-03 12:45:14 +00:00
|
|
|
mp_get_mag_u32
|
|
|
|
mp_get_mag_u64
|
|
|
|
mp_get_mag_ul
|
|
|
|
mp_get_mag_ull
|
2019-05-28 12:26:41 +00:00
|
|
|
mp_grow
|
|
|
|
mp_init
|
|
|
|
mp_init_copy
|
|
|
|
mp_init_i32
|
|
|
|
mp_init_i64
|
2019-06-13 14:58:06 +00:00
|
|
|
mp_init_l
|
|
|
|
mp_init_ll
|
2019-05-28 12:26:41 +00:00
|
|
|
mp_init_multi
|
|
|
|
mp_init_set
|
|
|
|
mp_init_size
|
|
|
|
mp_init_u32
|
|
|
|
mp_init_u64
|
2019-06-13 14:58:06 +00:00
|
|
|
mp_init_ul
|
|
|
|
mp_init_ull
|
2019-05-28 12:26:41 +00:00
|
|
|
mp_invmod
|
2019-06-06 16:15:19 +00:00
|
|
|
mp_is_square
|
2019-05-28 12:26:41 +00:00
|
|
|
mp_kronecker
|
|
|
|
mp_lcm
|
2019-11-05 23:13:39 +00:00
|
|
|
mp_log_n
|
2019-05-28 12:26:41 +00:00
|
|
|
mp_lshd
|
2019-06-06 08:36:33 +00:00
|
|
|
mp_mod
|
2019-06-06 16:15:19 +00:00
|
|
|
mp_mod_2d
|
2019-05-28 12:26:41 +00:00
|
|
|
mp_montgomery_calc_normalization
|
|
|
|
mp_montgomery_reduce
|
|
|
|
mp_montgomery_setup
|
2019-06-06 16:15:19 +00:00
|
|
|
mp_mul
|
2019-05-28 12:26:41 +00:00
|
|
|
mp_mul_2
|
|
|
|
mp_mul_2d
|
|
|
|
mp_mul_d
|
|
|
|
mp_mulmod
|
2019-06-06 16:15:19 +00:00
|
|
|
mp_neg
|
2019-05-28 12:26:41 +00:00
|
|
|
mp_or
|
2019-09-27 01:40:08 +00:00
|
|
|
mp_pack
|
|
|
|
mp_pack_count
|
2019-05-28 12:26:41 +00:00
|
|
|
mp_prime_fermat
|
|
|
|
mp_prime_frobenius_underwood
|
|
|
|
mp_prime_is_prime
|
|
|
|
mp_prime_miller_rabin
|
|
|
|
mp_prime_next_prime
|
|
|
|
mp_prime_rabin_miller_trials
|
|
|
|
mp_prime_rand
|
|
|
|
mp_prime_strong_lucas_selfridge
|
|
|
|
mp_radix_size
|
|
|
|
mp_rand
|
|
|
|
mp_read_radix
|
2019-06-06 16:15:19 +00:00
|
|
|
mp_reduce
|
2019-05-28 12:26:41 +00:00
|
|
|
mp_reduce_2k
|
|
|
|
mp_reduce_2k_l
|
|
|
|
mp_reduce_2k_setup
|
|
|
|
mp_reduce_2k_setup_l
|
|
|
|
mp_reduce_is_2k
|
|
|
|
mp_reduce_is_2k_l
|
|
|
|
mp_reduce_setup
|
2019-11-05 23:13:39 +00:00
|
|
|
mp_root_n
|
2019-05-28 12:26:41 +00:00
|
|
|
mp_rshd
|
2019-09-24 22:29:19 +00:00
|
|
|
mp_sbin_size
|
2019-05-28 12:26:41 +00:00
|
|
|
mp_set
|
|
|
|
mp_set_double
|
|
|
|
mp_set_i32
|
|
|
|
mp_set_i64
|
2019-06-12 11:11:58 +00:00
|
|
|
mp_set_l
|
|
|
|
mp_set_ll
|
2019-05-28 12:26:41 +00:00
|
|
|
mp_set_u32
|
|
|
|
mp_set_u64
|
2019-06-12 11:11:58 +00:00
|
|
|
mp_set_ul
|
|
|
|
mp_set_ull
|
2019-05-28 12:26:41 +00:00
|
|
|
mp_shrink
|
|
|
|
mp_signed_rsh
|
|
|
|
mp_sqrmod
|
|
|
|
mp_sqrt
|
|
|
|
mp_sqrtmod_prime
|
|
|
|
mp_sub
|
|
|
|
mp_sub_d
|
|
|
|
mp_submod
|
2019-09-02 12:36:06 +00:00
|
|
|
mp_to_radix
|
2019-09-24 22:29:19 +00:00
|
|
|
mp_to_sbin
|
|
|
|
mp_to_ubin
|
|
|
|
mp_ubin_size
|
2019-09-27 01:40:08 +00:00
|
|
|
mp_unpack
|
2019-05-28 12:26:41 +00:00
|
|
|
mp_xor
|
|
|
|
mp_zero
|