2023-12-06 17:43:39 -05: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
|
|
|
|
mp_div
|
|
|
|
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
|
|
|
|
mp_expt_n
|
|
|
|
mp_exptmod
|
|
|
|
mp_exteuclid
|
|
|
|
mp_fread
|
|
|
|
mp_from_sbin
|
|
|
|
mp_from_ubin
|
|
|
|
mp_fwrite
|
|
|
|
mp_gcd
|
|
|
|
mp_get_double
|
|
|
|
mp_get_i32
|
|
|
|
mp_get_i64
|
|
|
|
mp_get_l
|
|
|
|
mp_get_mag_u32
|
|
|
|
mp_get_mag_u64
|
|
|
|
mp_get_mag_ul
|
|
|
|
mp_grow
|
|
|
|
mp_hash
|
|
|
|
mp_init
|
|
|
|
mp_init_copy
|
|
|
|
mp_init_i32
|
|
|
|
mp_init_i64
|
|
|
|
mp_init_l
|
|
|
|
mp_init_multi
|
|
|
|
mp_init_set
|
|
|
|
mp_init_size
|
|
|
|
mp_init_u32
|
|
|
|
mp_init_u64
|
|
|
|
mp_init_ul
|
|
|
|
mp_invmod
|
|
|
|
mp_is_square
|
|
|
|
mp_kronecker
|
|
|
|
mp_lcm
|
|
|
|
mp_log
|
|
|
|
mp_log_n
|
|
|
|
mp_lshd
|
|
|
|
mp_mod
|
|
|
|
mp_mod_2d
|
|
|
|
mp_montgomery_calc_normalization
|
|
|
|
mp_montgomery_reduce
|
|
|
|
mp_montgomery_setup
|
|
|
|
mp_mul
|
|
|
|
mp_mul_2
|
|
|
|
mp_mul_2d
|
|
|
|
mp_mul_d
|
|
|
|
mp_mulmod
|
|
|
|
mp_neg
|
|
|
|
mp_or
|
|
|
|
mp_pack
|
|
|
|
mp_pack_count
|
|
|
|
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_radix_size_overestimate
|
|
|
|
mp_rand
|
|
|
|
mp_rand_source
|
|
|
|
mp_read_radix
|
|
|
|
mp_reduce
|
|
|
|
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
|
|
|
|
mp_root_n
|
|
|
|
mp_rshd
|
|
|
|
mp_sbin_size
|
|
|
|
mp_set
|
|
|
|
mp_set_double
|
|
|
|
mp_set_i32
|
|
|
|
mp_set_i64
|
|
|
|
mp_set_l
|
|
|
|
mp_set_u32
|
|
|
|
mp_set_u64
|
|
|
|
mp_set_ul
|
|
|
|
mp_shrink
|
|
|
|
mp_signed_rsh
|
|
|
|
mp_sqrmod
|
|
|
|
mp_sqrt
|
|
|
|
mp_sqrtmod_prime
|
|
|
|
mp_sub
|
|
|
|
mp_sub_d
|
|
|
|
mp_submod
|
|
|
|
mp_to_radix
|
|
|
|
mp_to_sbin
|
|
|
|
mp_to_ubin
|
|
|
|
mp_ubin_size
|
|
|
|
mp_unpack
|
2024-06-17 19:04:36 -04:00
|
|
|
mp_warray_free
|
2023-12-06 17:43:39 -05:00
|
|
|
mp_xor
|
|
|
|
mp_zero
|
|
|
|
MP_MUL_KARATSUBA_CUTOFF
|
|
|
|
MP_SQR_KARATSUBA_CUTOFF
|
|
|
|
MP_MUL_TOOM_CUTOFF
|
|
|
|
MP_SQR_TOOM_CUTOFF
|