SSH Daemon Project

publicRead
Owner: themasterBranch: mainCommits: 2Updated: 2026-04-19 00:20
Git CLI clone URL
git clone https://www.xt-emporium.com/git/ssh-daemon-project.git
Fullscreen desktop URL

Files

NameType
..Parent directory
📄 astylercFile
📄 bn_cutoffs.cFile
📄 bn_deprecated.cFile
📄 bn_mp_2expt.cFile
📄 bn_mp_abs.cFile
📄 bn_mp_add.cFile
📄 bn_mp_add_d.cFile
📄 bn_mp_addmod.cFile
📄 bn_mp_and.cFile
📄 bn_mp_clamp.cFile
📄 bn_mp_clear.cFile
📄 bn_mp_clear_multi.cFile
📄 bn_mp_cmp.cFile
📄 bn_mp_cmp_d.cFile
📄 bn_mp_cmp_mag.cFile
📄 bn_mp_cnt_lsb.cFile
📄 bn_mp_complement.cFile
📄 bn_mp_copy.cFile
📄 bn_mp_count_bits.cFile
📄 bn_mp_decr.cFile
📄 bn_mp_div.cFile
📄 bn_mp_div_2.cFile
📄 bn_mp_div_2d.cFile
📄 bn_mp_div_3.cFile
📄 bn_mp_div_d.cFile
📄 bn_mp_dr_is_modulus.cFile
📄 bn_mp_dr_reduce.cFile
📄 bn_mp_dr_setup.cFile
📄 bn_mp_error_to_string.cFile
📄 bn_mp_exch.cFile
📄 bn_mp_expt_u32.cFile
📄 bn_mp_exptmod.cFile
📄 bn_mp_exteuclid.cFile
📄 bn_mp_fread.cFile
📄 bn_mp_from_sbin.cFile
📄 bn_mp_from_ubin.cFile
📄 bn_mp_fwrite.cFile
📄 bn_mp_gcd.cFile
📄 bn_mp_get_i32.cFile
📄 bn_mp_get_i64.cFile
📄 bn_mp_get_l.cFile
📄 bn_mp_get_ll.cFile
📄 bn_mp_get_mag_u32.cFile
📄 bn_mp_get_mag_u64.cFile
📄 bn_mp_get_mag_ul.cFile
📄 bn_mp_get_mag_ull.cFile
📄 bn_mp_grow.cFile
📄 bn_mp_incr.cFile
📄 bn_mp_init.cFile
📄 bn_mp_init_copy.cFile
📄 bn_mp_init_i32.cFile
📄 bn_mp_init_i64.cFile
📄 bn_mp_init_l.cFile
📄 bn_mp_init_ll.cFile
📄 bn_mp_init_multi.cFile
📄 bn_mp_init_set.cFile
📄 bn_mp_init_size.cFile
📄 bn_mp_init_u32.cFile
📄 bn_mp_init_u64.cFile
📄 bn_mp_init_ul.cFile
📄 bn_mp_init_ull.cFile
📄 bn_mp_invmod.cFile
📄 bn_mp_is_square.cFile
📄 bn_mp_iseven.cFile
📄 bn_mp_isodd.cFile
📄 bn_mp_kronecker.cFile
📄 bn_mp_lcm.cFile
📄 bn_mp_log_u32.cFile
📄 bn_mp_lshd.cFile
📄 bn_mp_mod.cFile
📄 bn_mp_mod_2d.cFile
📄 bn_mp_mod_d.cFile
📄 bn_mp_montgomery_calc_normalization.cFile
📄 bn_mp_montgomery_reduce.cFile
📄 bn_mp_montgomery_setup.cFile
📄 bn_mp_mul.cFile
📄 bn_mp_mul_2.cFile
📄 bn_mp_mul_2d.cFile
📄 bn_mp_mul_d.cFile
📄 bn_mp_mulmod.cFile
📄 bn_mp_neg.cFile
📄 bn_mp_or.cFile
📄 bn_mp_pack.cFile
📄 bn_mp_pack_count.cFile
📄 bn_mp_prime_fermat.cFile
📄 bn_mp_prime_frobenius_underwood.cFile
📄 bn_mp_prime_is_prime.cFile
📄 bn_mp_prime_miller_rabin.cFile
📄 bn_mp_prime_next_prime.cFile
📄 bn_mp_prime_rabin_miller_trials.cFile
📄 bn_mp_prime_rand.cFile
📄 bn_mp_prime_strong_lucas_selfridge.cFile
📄 bn_mp_radix_size.cFile
📄 bn_mp_radix_smap.cFile
📄 bn_mp_rand.cFile
📄 bn_mp_read_radix.cFile
📄 bn_mp_reduce.cFile
📄 bn_mp_reduce_2k.cFile
📄 bn_mp_reduce_2k_l.cFile
📄 bn_mp_reduce_2k_setup.cFile
📄 bn_mp_reduce_2k_setup_l.cFile
📄 bn_mp_reduce_is_2k.cFile
📄 bn_mp_reduce_is_2k_l.cFile
📄 bn_mp_reduce_setup.cFile
📄 bn_mp_root_u32.cFile
📄 bn_mp_rshd.cFile
📄 bn_mp_sbin_size.cFile
📄 bn_mp_set.cFile
📄 bn_mp_set_i32.cFile
📄 bn_mp_set_i64.cFile
📄 bn_mp_set_l.cFile
📄 bn_mp_set_ll.cFile
📄 bn_mp_set_u32.cFile
📄 bn_mp_set_u64.cFile
📄 bn_mp_set_ul.cFile
📄 bn_mp_set_ull.cFile
📄 bn_mp_shrink.cFile
📄 bn_mp_signed_rsh.cFile
📄 bn_mp_sqr.cFile
📄 bn_mp_sqrmod.cFile
📄 bn_mp_sqrt.cFile
📄 bn_mp_sqrtmod_prime.cFile
📄 bn_mp_sub.cFile
📄 bn_mp_sub_d.cFile
📄 bn_mp_submod.cFile
📄 bn_mp_to_radix.cFile
📄 bn_mp_to_sbin.cFile
📄 bn_mp_to_ubin.cFile
📄 bn_mp_ubin_size.cFile
📄 bn_mp_unpack.cFile
📄 bn_mp_xor.cFile
📄 bn_mp_zero.cFile
📄 bn_prime_tab.cFile
📄 bn_s_mp_add.cFile
📄 bn_s_mp_balance_mul.cFile
📄 bn_s_mp_exptmod.cFile
📄 bn_s_mp_exptmod_fast.cFile
📄 bn_s_mp_get_bit.cFile
📄 bn_s_mp_invmod_fast.cFile
📄 bn_s_mp_invmod_slow.cFile
📄 bn_s_mp_karatsuba_mul.cFile
📄 bn_s_mp_karatsuba_sqr.cFile
📄 bn_s_mp_montgomery_reduce_fast.cFile
📄 bn_s_mp_mul_digs.cFile
📄 bn_s_mp_mul_digs_fast.cFile
📄 bn_s_mp_mul_high_digs.cFile
📄 bn_s_mp_mul_high_digs_fast.cFile
📄 bn_s_mp_prime_is_divisible.cFile
📄 bn_s_mp_rand_jenkins.cFile
📄 bn_s_mp_rand_platform.cFile
📄 bn_s_mp_reverse.cFile
📄 bn_s_mp_sqr.cFile
📄 bn_s_mp_sqr_fast.cFile
📄 bn_s_mp_sub.cFile
📄 bn_s_mp_toom_mul.cFile
📄 bn_s_mp_toom_sqr.cFile
📄 changes.txtFile
📄 gen.plFile
📄 helper.plFile
📄 LICENSEFile
📄 MakefileFile
📄 Makefile.inFile
📄 makefile_include.mkFile
📄 README.mdFile
📄 testme.shFile
📄 tommath.hFile
📄 tommath_class.hFile
📄 tommath_cutoffs.hFile
📄 tommath_private.hFile
📄 tommath_superclass.hFile

README.md

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

Repository snapshot

  • Current branch
    main
  • Visibility
    public
  • Your access
    Read
  • Remote
    None