Index of /ftp/unpacked/standalone_projects/third_party/heimdal/lib/hcrypto/libtommath

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory  -  
[TXT]tommath_superclass.h2024-07-17 00:20 3.2K 
[TXT]tommath_private.h2024-07-17 00:20 14K 
[TXT]tommath_cutoffs.h2024-07-17 00:20 517  
[TXT]tommath_class.h2024-07-17 00:20 28K 
[TXT]tommath.h2024-07-17 00:20 29K 
[   ]tommath.def2024-07-17 00:20 2.5K 
[TXT]testme.sh2024-07-17 00:20 11K 
[DIR]pre_gen/2024-07-17 00:20 -  
[DIR]mtest/2024-07-17 00:20 -  
[   ]makefile_include.mk2024-07-17 00:20 4.0K 
[   ]makefile.unix2024-07-17 00:20 4.9K 
[   ]makefile.shared2024-07-17 00:20 4.6K 
[   ]makefile.msvc2024-07-17 00:20 5.0K 
[   ]makefile.mingw2024-07-17 00:20 4.9K 
[   ]makefile2024-07-17 00:20 6.4K 
[DIR]logs/2024-07-17 00:20 -  
[   ]libtommath_VS2008.vcproj2024-07-17 00:20 17K 
[   ]libtommath_VS2008.sln2024-07-17 00:20 1.3K 
[   ]libtommath.pc.in2024-07-17 00:20 271  
[TXT]helper.pl2024-07-17 00:20 16K 
[TXT]gen.pl2024-07-17 00:20 671  
[DIR]etc/2024-07-17 00:20 -  
[DIR]doc/2024-07-17 00:20 -  
[DIR]demo/2024-07-17 00:20 -  
[TXT]changes.txt2024-07-17 00:20 29K 
[TXT]bn_s_mp_toom_sqr.c2024-07-17 00:20 4.4K 
[TXT]bn_s_mp_toom_mul.c2024-07-17 00:20 6.8K 
[TXT]bn_s_mp_sub.c2024-07-17 00:20 1.7K 
[TXT]bn_s_mp_sqr_fast.c2024-07-17 00:20 2.4K 
[TXT]bn_s_mp_sqr.c2024-07-17 00:20 1.9K 
[TXT]bn_s_mp_reverse.c2024-07-17 00:20 448  
[TXT]bn_s_mp_rand_platform.c2024-07-17 00:20 4.1K 
[TXT]bn_s_mp_rand_jenkins.c2024-07-17 00:20 1.2K 
[TXT]bn_s_mp_prime_is_divisible.c2024-07-17 00:20 823  
[TXT]bn_s_mp_mul_high_digs_fast.c2024-07-17 00:20 2.1K 
[TXT]bn_s_mp_mul_high_digs.c2024-07-17 00:20 1.7K 
[TXT]bn_s_mp_mul_digs_fast.c2024-07-17 00:20 2.3K 
[TXT]bn_s_mp_mul_digs.c2024-07-17 00:20 2.0K 
[TXT]bn_s_mp_montgomery_reduce_fast.c2024-07-17 00:20 4.3K 
[TXT]bn_s_mp_karatsuba_sqr.c2024-07-17 00:20 2.6K 
[TXT]bn_s_mp_karatsuba_mul.c2024-07-17 00:20 4.5K 
[TXT]bn_s_mp_invmod_slow.c2024-07-17 00:20 3.7K 
[TXT]bn_s_mp_invmod_fast.c2024-07-17 00:20 3.3K 
[TXT]bn_s_mp_get_bit.c2024-07-17 00:20 521  
[TXT]bn_s_mp_exptmod_fast.c2024-07-17 00:20 7.7K 
[TXT]bn_s_mp_exptmod.c2024-07-17 00:20 5.8K 
[TXT]bn_s_mp_balance_mul.c2024-07-17 00:20 2.0K 
[TXT]bn_s_mp_add.c2024-07-17 00:20 2.0K 
[TXT]bn_prime_tab.c2024-07-17 00:20 2.7K 
[TXT]bn_mp_zero.c2024-07-17 00:20 287  
[TXT]bn_mp_xor.c2024-07-17 00:20 1.4K 
[TXT]bn_mp_unpack.c2024-07-17 00:20 1.4K 
[TXT]bn_mp_ubin_size.c2024-07-17 00:20 359  
[TXT]bn_mp_to_ubin.c2024-07-17 00:20 877  
[TXT]bn_mp_to_sbin.c2024-07-17 00:20 606  
[TXT]bn_mp_to_radix.c2024-07-17 00:20 1.9K 
[TXT]bn_mp_submod.c2024-07-17 00:20 510  
[TXT]bn_mp_sub_d.c2024-07-17 00:20 1.6K 
[TXT]bn_mp_sub.c2024-07-17 00:20 1.2K 
[TXT]bn_mp_sqrtmod_prime.c2024-07-17 00:20 4.4K 
[TXT]bn_mp_sqrt.c2024-07-17 00:20 1.4K 
[TXT]bn_mp_sqrmod.c2024-07-17 00:20 492  
[TXT]bn_mp_sqr.c2024-07-17 00:20 881  
[TXT]bn_mp_signed_rsh.c2024-07-17 00:20 553  
[TXT]bn_mp_shrink.c2024-07-17 00:20 629  
[TXT]bn_mp_set_ull.c2024-07-17 00:20 218  
[TXT]bn_mp_set_ul.c2024-07-17 00:20 211  
[TXT]bn_mp_set_u64.c2024-07-17 00:20 208  
[TXT]bn_mp_set_u32.c2024-07-17 00:20 208  
[TXT]bn_mp_set_ll.c2024-07-17 00:20 237  
[TXT]bn_mp_set_l.c2024-07-17 00:20 224  
[TXT]bn_mp_set_i64.c2024-07-17 00:20 227  
[TXT]bn_mp_set_i32.c2024-07-17 00:20 227  
[TXT]bn_mp_set_double.c2024-07-17 00:20 1.3K 
[TXT]bn_mp_set.c2024-07-17 00:20 372  
[TXT]bn_mp_sbin_size.c2024-07-17 00:20 289  
[TXT]bn_mp_rshd.c2024-07-17 00:20 1.1K 
[TXT]bn_mp_root_u32.c2024-07-17 00:20 3.8K 
[TXT]bn_mp_reduce_setup.c2024-07-17 00:20 498  
[TXT]bn_mp_reduce_is_2k_l.c2024-07-17 00:20 683  
[TXT]bn_mp_reduce_is_2k.c2024-07-17 00:20 838  
[TXT]bn_mp_reduce_2k_setup_l.c2024-07-17 00:20 578  
[TXT]bn_mp_reduce_2k_setup.c2024-07-17 00:20 656  
[TXT]bn_mp_reduce_2k_l.c2024-07-17 00:20 1.0K 
[TXT]bn_mp_reduce_2k.c2024-07-17 00:20 947  
[TXT]bn_mp_reduce.c2024-07-17 00:20 1.9K 
[TXT]bn_mp_read_radix.c2024-07-17 00:20 1.9K 
[TXT]bn_mp_rand.c2024-07-17 00:20 1.0K 
[TXT]bn_mp_radix_smap.c2024-07-17 00:20 1.1K 
[TXT]bn_mp_radix_size.c2024-07-17 00:20 1.3K 
[TXT]bn_mp_prime_strong_lucas_selfridge.c2024-07-17 00:20 12K 
[TXT]bn_mp_prime_rand.c2024-07-17 00:20 3.7K 
[TXT]bn_mp_prime_rabin_miller_trials.c2024-07-17 00:20 1.5K 
[TXT]bn_mp_prime_next_prime.c2024-07-17 00:20 3.5K 
[TXT]bn_mp_prime_miller_rabin.c2024-07-17 00:20 2.0K 
[TXT]bn_mp_prime_is_prime.c2024-07-17 00:20 9.2K 
[TXT]bn_mp_prime_frobenius_underwood.c2024-07-17 00:20 4.4K 
[TXT]bn_mp_prime_fermat.c2024-07-17 00:20 1.0K 
[TXT]bn_mp_pack_count.c2024-07-17 00:20 383  
[TXT]bn_mp_pack.c2024-07-17 00:20 1.7K 
[TXT]bn_mp_or.c2024-07-17 00:20 1.4K 
[TXT]bn_mp_neg.c2024-07-17 00:20 482  
[TXT]bn_mp_mulmod.c2024-07-17 00:20 524  
[TXT]bn_mp_mul_d.c2024-07-17 00:20 1.4K 
[TXT]bn_mp_mul_2d.c2024-07-17 00:20 1.6K 
[TXT]bn_mp_mul_2.c2024-07-17 00:20 1.4K 
[TXT]bn_mp_mul.c2024-07-17 00:20 2.0K 
[TXT]bn_mp_montgomery_setup.c2024-07-17 00:20 1.1K 
[TXT]bn_mp_montgomery_reduce.c2024-07-17 00:20 2.7K 
[TXT]bn_mp_montgomery_calc_normalization.c2024-07-17 00:20 1.1K 
[TXT]bn_mp_mod_d.c2024-07-17 00:20 265  
[TXT]bn_mp_mod_2d.c2024-07-17 00:20 971  
[TXT]bn_mp_mod.c2024-07-17 00:20 657  
[TXT]bn_mp_lshd.c2024-07-17 00:20 1.1K 
[TXT]bn_mp_log_u32.c2024-07-17 00:20 4.4K 
[TXT]bn_mp_lcm.c2024-07-17 00:20 1.1K 
[TXT]bn_mp_kronecker.c2024-07-17 00:20 2.7K 
[TXT]bn_mp_isodd.c2024-07-17 00:20 247  
[TXT]bn_mp_iseven.c2024-07-17 00:20 250  
[TXT]bn_mp_is_square.c2024-07-17 00:20 2.8K 
[TXT]bn_mp_invmod.c2024-07-17 00:20 650  
[TXT]bn_mp_init_ull.c2024-07-17 00:20 228  
[TXT]bn_mp_init_ul.c2024-07-17 00:20 220  
[TXT]bn_mp_init_u64.c2024-07-17 00:20 218  
[TXT]bn_mp_init_u32.c2024-07-17 00:20 218  
[TXT]bn_mp_init_size.c2024-07-17 00:20 536  
[TXT]bn_mp_init_set.c2024-07-17 00:20 360  
[TXT]bn_mp_init_multi.c2024-07-17 00:20 1.1K 
[TXT]bn_mp_init_ll.c2024-07-17 00:20 216  
[TXT]bn_mp_init_l.c2024-07-17 00:20 208  
[TXT]bn_mp_init_i64.c2024-07-17 00:20 217  
[TXT]bn_mp_init_i32.c2024-07-17 00:20 217  
[TXT]bn_mp_init_copy.c2024-07-17 00:20 445  
[TXT]bn_mp_init.c2024-07-17 00:20 572  
[TXT]bn_mp_incr.c2024-07-17 00:20 718  
[TXT]bn_mp_grow.c2024-07-17 00:20 1.1K 
[TXT]bn_mp_get_mag_ull.c2024-07-17 00:20 221  
[TXT]bn_mp_get_mag_ul.c2024-07-17 00:20 214  
[TXT]bn_mp_get_mag_u64.c2024-07-17 00:20 211  
[TXT]bn_mp_get_mag_u32.c2024-07-17 00:20 211  
[TXT]bn_mp_get_ll.c2024-07-17 00:20 241  
[TXT]bn_mp_get_l.c2024-07-17 00:20 228  
[TXT]bn_mp_get_i64.c2024-07-17 00:20 231  
[TXT]bn_mp_get_i32.c2024-07-17 00:20 231  
[TXT]bn_mp_get_double.c2024-07-17 00:20 436  
[TXT]bn_mp_gcd.c2024-07-17 00:20 2.1K 
[TXT]bn_mp_fwrite.c2024-07-17 00:20 1.0K 
[TXT]bn_mp_from_ubin.c2024-07-17 00:20 876  
[TXT]bn_mp_from_sbin.c2024-07-17 00:20 635  
[TXT]bn_mp_fread.c2024-07-17 00:20 1.2K 
[TXT]bn_mp_exteuclid.c2024-07-17 00:20 2.6K 
[TXT]bn_mp_exptmod.c2024-07-17 00:20 2.2K 
[TXT]bn_mp_expt_u32.c2024-07-17 00:20 878  
[TXT]bn_mp_exch.c2024-07-17 00:20 366  
[TXT]bn_mp_error_to_string.c2024-07-17 00:20 634  
[TXT]bn_mp_dr_setup.c2024-07-17 00:20 467  
[TXT]bn_mp_dr_reduce.c2024-07-17 00:20 2.0K 
[TXT]bn_mp_dr_is_modulus.c2024-07-17 00:20 610  
[TXT]bn_mp_div_d.c2024-07-17 00:20 1.6K 
[TXT]bn_mp_div_3.c2024-07-17 00:20 1.4K 
[TXT]bn_mp_div_2d.c2024-07-17 00:20 1.7K 
[TXT]bn_mp_div_2.c2024-07-17 00:20 1.0K 
[TXT]bn_mp_div.c2024-07-17 00:20 6.9K 
[TXT]bn_mp_decr.c2024-07-17 00:20 790  
[TXT]bn_mp_count_bits.c2024-07-17 00:20 576  
[TXT]bn_mp_copy.c2024-07-17 00:20 900  
[TXT]bn_mp_complement.c2024-07-17 00:20 325  
[TXT]bn_mp_cnt_lsb.c2024-07-17 00:20 791  
[TXT]bn_mp_cmp_mag.c2024-07-17 00:20 810  
[TXT]bn_mp_cmp_d.c2024-07-17 00:20 580  
[TXT]bn_mp_cmp.c2024-07-17 00:20 597  
[TXT]bn_mp_clear_multi.c2024-07-17 00:20 417  
[TXT]bn_mp_clear.c2024-07-17 00:20 502  
[TXT]bn_mp_clamp.c2024-07-17 00:20 673  
[TXT]bn_mp_and.c2024-07-17 00:20 1.4K 
[TXT]bn_mp_addmod.c2024-07-17 00:20 512  
[TXT]bn_mp_add_d.c2024-07-17 00:20 1.8K 
[TXT]bn_mp_add.c2024-07-17 00:20 1.0K 
[TXT]bn_mp_abs.c2024-07-17 00:20 519  
[TXT]bn_mp_2expt.c2024-07-17 00:20 749  
[TXT]bn_deprecated.c2024-07-17 00:20 7.3K 
[TXT]bn_cutoffs.c2024-07-17 00:20 449  
[   ]astylerc2024-07-17 00:20 529  
[   ]appveyor.yml2024-07-17 00:20 887  
[TXT]README.md2024-07-17 00:20 2.1K 
[   ]NTMakefile2024-07-17 00:20 6.2K 
[   ]LICENSE2024-07-17 00:20 1.2K 

# libtommath

This is the git repository for [LibTomMath](http://www.libtom.net/LibTomMath/), a free open source portable number theoretic multiple-precision integer (MPI) library written entirely in C.

## Build Status

### Travis CI

master: [![Build Status](https://api.travis-ci.org/libtom/libtommath.png?branch=master)](https://travis-ci.org/libtom/libtommath)

develop: [![Build Status](https://api.travis-ci.org/libtom/libtommath.png?branch=develop)](https://travis-ci.org/libtom/libtommath)

### AppVeyor

master: [![Build status](https://ci.appveyor.com/api/projects/status/b80lpolw3i8m6hsh/branch/master?svg=true)](https://ci.appveyor.com/project/libtom/libtommath/branch/master)

develop: [![Build status](https://ci.appveyor.com/api/projects/status/b80lpolw3i8m6hsh/branch/develop?svg=true)](https://ci.appveyor.com/project/libtom/libtommath/branch/develop)

### ABI Laboratory

API/ABI changes: [check here](https://abi-laboratory.pro/tracker/timeline/libtommath/)

## 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.