1
0
mirror of http://galexander.org/git/simplesshd.git synced 2024-11-30 11:18:12 +00:00
simplesshd/dropbear/libtommath
Greg Alexander 883d40f758 Whoops, the previous commit failed to take into account files that were
(should have been) deleted as part of the dropbear 2020.81 update.
Delete them now.
2020-12-28 21:27:18 -05:00
..
astylerc stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_cutoffs.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_deprecated.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_2expt.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_abs.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_add_d.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_add.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_addmod.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_and.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_clamp.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_clear_multi.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_clear.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_cmp_d.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_cmp_mag.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_cmp.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_cnt_lsb.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_complement.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_copy.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_count_bits.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_decr.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_div_2.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_div_2d.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_div_3.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_div_d.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_div.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_dr_is_modulus.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_dr_reduce.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_dr_setup.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_error_to_string.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_exch.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_expt_u32.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_exptmod.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_exteuclid.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_fread.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_from_sbin.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_from_ubin.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_fwrite.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_gcd.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_get_i32.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_get_i64.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_get_l.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_get_ll.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_get_mag_u32.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_get_mag_u64.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_get_mag_ul.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_get_mag_ull.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_grow.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_incr.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_init_copy.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_init_i32.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_init_i64.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_init_l.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_init_ll.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_init_multi.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_init_set.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_init_size.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_init_u32.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_init_u64.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_init_ul.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_init_ull.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_init.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_invmod.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_is_square.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_iseven.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_isodd.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_kronecker.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_lcm.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_log_u32.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_lshd.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_mod_2d.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_mod_d.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_mod.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_montgomery_calc_normalization.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_montgomery_reduce.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_montgomery_setup.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_mul_2.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_mul_2d.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_mul_d.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_mul.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_mulmod.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_neg.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_or.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_pack_count.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_pack.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_prime_fermat.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_prime_frobenius_underwood.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_prime_is_prime.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_prime_miller_rabin.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_prime_next_prime.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_prime_rabin_miller_trials.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_prime_rand.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_prime_strong_lucas_selfridge.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_radix_size.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_radix_smap.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_rand.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_read_radix.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_reduce_2k_l.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_reduce_2k_setup_l.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_reduce_2k_setup.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_reduce_2k.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_reduce_is_2k_l.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_reduce_is_2k.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_reduce_setup.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_reduce.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_root_u32.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_rshd.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_sbin_size.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_set_i32.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_set_i64.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_set_l.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_set_ll.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_set_u32.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_set_u64.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_set_ul.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_set_ull.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_set.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_shrink.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_signed_rsh.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_sqr.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_sqrmod.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_sqrt.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_sqrtmod_prime.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_sub_d.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_sub.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_submod.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_to_radix.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_to_sbin.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_to_ubin.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_ubin_size.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_unpack.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_xor.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_mp_zero.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_prime_tab.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_s_mp_add.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_s_mp_balance_mul.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_s_mp_exptmod_fast.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_s_mp_exptmod.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_s_mp_get_bit.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_s_mp_invmod_fast.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_s_mp_invmod_slow.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_s_mp_karatsuba_mul.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_s_mp_karatsuba_sqr.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_s_mp_montgomery_reduce_fast.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_s_mp_mul_digs_fast.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_s_mp_mul_digs.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_s_mp_mul_high_digs_fast.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_s_mp_mul_high_digs.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_s_mp_prime_is_divisible.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_s_mp_rand_jenkins.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_s_mp_rand_platform.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_s_mp_reverse.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_s_mp_sqr_fast.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_s_mp_sqr.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_s_mp_sub.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_s_mp_toom_mul.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
bn_s_mp_toom_sqr.c stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
changes.txt stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
gen.pl stock dropbear-2019.78 source tree 2019-06-09 16:44:26 -04:00
helper.pl stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
LICENSE stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
makefile_include.mk stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
Makefile.in stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
README.md stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
testme.sh stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
tommath_class.h stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
tommath_cutoffs.h stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
tommath_private.h stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
tommath_superclass.h stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00
tommath.h stock dropbear-2020.81 source tree 2020-12-28 16:40:37 -05:00

libtommath

This is the git repository for LibTomMath, a free open source portable number theoretic multiple-precision integer (MPI) library written entirely in C.

Build Status

Travis CI

master: Build Status

develop: Build Status

AppVeyor

master: Build status

develop: Build status

ABI Laboratory

API/ABI changes: check here

Summary

The develop branch contains the in-development version. Stable releases are tagged.

Documentation is built from the LaTeX file bn.tex. There is also limited documentation in tommath.h. There is also a document, tommath.pdf, which describes the goals of the project and many of the algorithms used.

The project can be build by using make. Along with the usual make, make clean and make install, there are several other build targets, see the makefile for details. There are also makefiles for certain specific platforms.

Testing

Tests are located in demo/ and can be built in two flavors.

  • make test creates a stand-alone test binary that executes several test routines.
  • make mtest_opponent creates a test binary that is intended to be run against mtest. mtest can be built with make mtest and test execution is done like ./mtest/mtest | ./mtest_opponent. mtest is creating test vectors using an alternative MPI library and test is consuming these vectors to verify correct behavior of ltm

Building and Installing

Building is straightforward for GNU Linux only, the section "Building LibTomMath" in the documentation in doc/bn.pdf has the details.