From f51249b6aab8c2d4397c5f56ba57d72c1ce64601 Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Fri, 2 Feb 2018 12:07:21 +0100 Subject: [PATCH] clean-up file headers --- bn_error.c | 2 -- bn_fast_mp_invmod.c | 2 -- bn_fast_mp_montgomery_reduce.c | 2 -- bn_fast_s_mp_mul_digs.c | 2 -- bn_fast_s_mp_mul_high_digs.c | 2 -- bn_fast_s_mp_sqr.c | 2 -- bn_mp_2expt.c | 2 -- bn_mp_abs.c | 2 -- bn_mp_add.c | 2 -- bn_mp_add_d.c | 2 -- bn_mp_addmod.c | 2 -- bn_mp_and.c | 2 -- bn_mp_clamp.c | 2 -- bn_mp_clear.c | 2 -- bn_mp_clear_multi.c | 2 -- bn_mp_cmp.c | 2 -- bn_mp_cmp_d.c | 2 -- bn_mp_cmp_mag.c | 2 -- bn_mp_cnt_lsb.c | 2 -- bn_mp_copy.c | 2 -- bn_mp_count_bits.c | 2 -- bn_mp_div.c | 2 -- bn_mp_div_2.c | 2 -- bn_mp_div_2d.c | 2 -- bn_mp_div_3.c | 2 -- bn_mp_div_d.c | 2 -- bn_mp_dr_is_modulus.c | 2 -- bn_mp_dr_reduce.c | 2 -- bn_mp_dr_setup.c | 2 -- bn_mp_exch.c | 2 -- bn_mp_export.c | 2 -- bn_mp_expt_d.c | 2 -- bn_mp_expt_d_ex.c | 2 -- bn_mp_exptmod.c | 2 -- bn_mp_exptmod_fast.c | 2 -- bn_mp_exteuclid.c | 2 -- bn_mp_fread.c | 2 -- bn_mp_fwrite.c | 2 -- bn_mp_gcd.c | 2 -- bn_mp_get_int.c | 2 -- bn_mp_get_long.c | 2 -- bn_mp_get_long_long.c | 2 -- bn_mp_grow.c | 2 -- bn_mp_import.c | 2 -- bn_mp_init.c | 2 -- bn_mp_init_copy.c | 2 -- bn_mp_init_multi.c | 2 -- bn_mp_init_set.c | 2 -- bn_mp_init_set_int.c | 2 -- bn_mp_init_size.c | 2 -- bn_mp_invmod.c | 2 -- bn_mp_invmod_slow.c | 2 -- bn_mp_is_square.c | 2 -- bn_mp_jacobi.c | 2 -- bn_mp_karatsuba_mul.c | 2 -- bn_mp_karatsuba_sqr.c | 2 -- bn_mp_lcm.c | 2 -- bn_mp_lshd.c | 2 -- bn_mp_mod.c | 2 -- bn_mp_mod_2d.c | 2 -- bn_mp_mod_d.c | 2 -- bn_mp_montgomery_calc_normalization.c | 2 -- bn_mp_montgomery_reduce.c | 2 -- bn_mp_montgomery_setup.c | 2 -- bn_mp_mul.c | 2 -- bn_mp_mul_2.c | 2 -- bn_mp_mul_2d.c | 2 -- bn_mp_mul_d.c | 2 -- bn_mp_mulmod.c | 2 -- bn_mp_n_root.c | 2 -- bn_mp_n_root_ex.c | 2 -- bn_mp_neg.c | 2 -- bn_mp_or.c | 2 -- bn_mp_prime_fermat.c | 2 -- bn_mp_prime_is_divisible.c | 2 -- bn_mp_prime_is_prime.c | 2 -- bn_mp_prime_miller_rabin.c | 2 -- bn_mp_prime_next_prime.c | 2 -- bn_mp_prime_rabin_miller_trials.c | 2 -- bn_mp_prime_random_ex.c | 2 -- bn_mp_radix_size.c | 2 -- bn_mp_radix_smap.c | 2 -- bn_mp_rand.c | 2 -- bn_mp_read_radix.c | 2 -- bn_mp_read_signed_bin.c | 2 -- bn_mp_read_unsigned_bin.c | 2 -- bn_mp_reduce.c | 2 -- bn_mp_reduce_2k.c | 2 -- bn_mp_reduce_2k_l.c | 2 -- bn_mp_reduce_2k_setup.c | 2 -- bn_mp_reduce_2k_setup_l.c | 2 -- bn_mp_reduce_is_2k.c | 2 -- bn_mp_reduce_is_2k_l.c | 2 -- bn_mp_reduce_setup.c | 2 -- bn_mp_rshd.c | 2 -- bn_mp_set.c | 2 -- bn_mp_set_int.c | 2 -- bn_mp_set_long.c | 2 -- bn_mp_set_long_long.c | 2 -- bn_mp_shrink.c | 2 -- bn_mp_signed_bin_size.c | 2 -- bn_mp_sqr.c | 2 -- bn_mp_sqrmod.c | 2 -- bn_mp_sqrt.c | 2 -- bn_mp_sub.c | 2 -- bn_mp_sub_d.c | 2 -- bn_mp_submod.c | 2 -- bn_mp_to_signed_bin.c | 2 -- bn_mp_to_signed_bin_n.c | 2 -- bn_mp_to_unsigned_bin.c | 2 -- bn_mp_to_unsigned_bin_n.c | 2 -- bn_mp_toom_mul.c | 2 -- bn_mp_toom_sqr.c | 2 -- bn_mp_toradix.c | 2 -- bn_mp_toradix_n.c | 2 -- bn_mp_unsigned_bin_size.c | 2 -- bn_mp_xor.c | 2 -- bn_mp_zero.c | 2 -- bn_prime_tab.c | 2 -- bn_reverse.c | 2 -- bn_s_mp_add.c | 2 -- bn_s_mp_exptmod.c | 2 -- bn_s_mp_mul_digs.c | 2 -- bn_s_mp_mul_high_digs.c | 2 -- bn_s_mp_sqr.c | 2 -- bn_s_mp_sub.c | 2 -- bncore.c | 2 -- doc/bn.tex | 5 ++++- tommath.h | 2 -- tommath_private.h | 2 -- 130 files changed, 4 insertions(+), 259 deletions(-) diff --git a/bn_error.c b/bn_error.c index 7e816bf..24ce476 100644 --- a/bn_error.c +++ b/bn_error.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ static const struct { diff --git a/bn_fast_mp_invmod.c b/bn_fast_mp_invmod.c index 6be44f8..b44684a 100644 --- a/bn_fast_mp_invmod.c +++ b/bn_fast_mp_invmod.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* computes the modular inverse via binary extended euclidean algorithm, diff --git a/bn_fast_mp_montgomery_reduce.c b/bn_fast_mp_montgomery_reduce.c index 8f91196..2f94161 100644 --- a/bn_fast_mp_montgomery_reduce.c +++ b/bn_fast_mp_montgomery_reduce.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* computes xR**-1 == x (mod N) via Montgomery Reduction diff --git a/bn_fast_s_mp_mul_digs.c b/bn_fast_s_mp_mul_digs.c index e542c2e..99a8aa1 100644 --- a/bn_fast_s_mp_mul_digs.c +++ b/bn_fast_s_mp_mul_digs.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* Fast (comba) multiplier diff --git a/bn_fast_s_mp_mul_high_digs.c b/bn_fast_s_mp_mul_high_digs.c index 6ea8a6c..cb0acb9 100644 --- a/bn_fast_s_mp_mul_high_digs.c +++ b/bn_fast_s_mp_mul_high_digs.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* this is a modified version of fast_s_mul_digs that only produces diff --git a/bn_fast_s_mp_sqr.c b/bn_fast_s_mp_sqr.c index 1050121..f7081de 100644 --- a/bn_fast_s_mp_sqr.c +++ b/bn_fast_s_mp_sqr.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* the jist of squaring... diff --git a/bn_mp_2expt.c b/bn_mp_2expt.c index 5333d48..6f6ee97 100644 --- a/bn_mp_2expt.c +++ b/bn_mp_2expt.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* computes a = 2**b diff --git a/bn_mp_abs.c b/bn_mp_abs.c index 9b6bcec..89eedb8 100644 --- a/bn_mp_abs.c +++ b/bn_mp_abs.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* b = |a| diff --git a/bn_mp_add.c b/bn_mp_add.c index d31d5a0..974cd34 100644 --- a/bn_mp_add.c +++ b/bn_mp_add.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* high level addition (handles signs) */ diff --git a/bn_mp_add_d.c b/bn_mp_add_d.c index e5ede1f..1132f0e 100644 --- a/bn_mp_add_d.c +++ b/bn_mp_add_d.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* single digit addition */ diff --git a/bn_mp_addmod.c b/bn_mp_addmod.c index 0d612c3..63d30ae 100644 --- a/bn_mp_addmod.c +++ b/bn_mp_addmod.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* d = a + b (mod c) */ diff --git a/bn_mp_and.c b/bn_mp_and.c index 09ff772..8776e2f 100644 --- a/bn_mp_and.c +++ b/bn_mp_and.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* AND two ints together */ diff --git a/bn_mp_clamp.c b/bn_mp_clamp.c index 79a5b20..36081be 100644 --- a/bn_mp_clamp.c +++ b/bn_mp_clamp.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* trim unused digits diff --git a/bn_mp_clear.c b/bn_mp_clear.c index fcf4d61..348872e 100644 --- a/bn_mp_clear.c +++ b/bn_mp_clear.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* clear one (frees) */ diff --git a/bn_mp_clear_multi.c b/bn_mp_clear_multi.c index ac3949a..aa9927f 100644 --- a/bn_mp_clear_multi.c +++ b/bn_mp_clear_multi.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ #include diff --git a/bn_mp_cmp.c b/bn_mp_cmp.c index a33d483..a19ae86 100644 --- a/bn_mp_cmp.c +++ b/bn_mp_cmp.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* compare two ints (signed)*/ diff --git a/bn_mp_cmp_d.c b/bn_mp_cmp_d.c index 576a073..3bf0da3 100644 --- a/bn_mp_cmp_d.c +++ b/bn_mp_cmp_d.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* compare a digit */ diff --git a/bn_mp_cmp_mag.c b/bn_mp_cmp_mag.c index e2c723f..0aadac8 100644 --- a/bn_mp_cmp_mag.c +++ b/bn_mp_cmp_mag.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* compare maginitude of two ints (unsigned) */ diff --git a/bn_mp_cnt_lsb.c b/bn_mp_cnt_lsb.c index 219c369..d897a2f 100644 --- a/bn_mp_cnt_lsb.c +++ b/bn_mp_cnt_lsb.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ static const int lnz[16] = { diff --git a/bn_mp_copy.c b/bn_mp_copy.c index 17816e8..93474d5 100644 --- a/bn_mp_copy.c +++ b/bn_mp_copy.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* copy, b = a */ diff --git a/bn_mp_count_bits.c b/bn_mp_count_bits.c index 4530c92..8d1cafb 100644 --- a/bn_mp_count_bits.c +++ b/bn_mp_count_bits.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* returns the number of bits in an int */ diff --git a/bn_mp_div.c b/bn_mp_div.c index f64f485..3f75114 100644 --- a/bn_mp_div.c +++ b/bn_mp_div.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ #ifdef BN_MP_DIV_SMALL diff --git a/bn_mp_div_2.c b/bn_mp_div_2.c index 2907a1b..683efec 100644 --- a/bn_mp_div_2.c +++ b/bn_mp_div_2.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* b = a/2 */ diff --git a/bn_mp_div_2d.c b/bn_mp_div_2d.c index aeaa8f2..2b0269e 100644 --- a/bn_mp_div_2d.c +++ b/bn_mp_div_2d.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* shift right by a certain bit count (store quotient in c, optional remainder in d) */ diff --git a/bn_mp_div_3.c b/bn_mp_div_3.c index 9d41793..640288e 100644 --- a/bn_mp_div_3.c +++ b/bn_mp_div_3.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* divide by three (based on routine from MPI and the GMP manual) */ diff --git a/bn_mp_div_d.c b/bn_mp_div_d.c index 2124bcc..a0b85a5 100644 --- a/bn_mp_div_d.c +++ b/bn_mp_div_d.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ static int s_is_power_of_two(mp_digit b, int *p) diff --git a/bn_mp_dr_is_modulus.c b/bn_mp_dr_is_modulus.c index bf4ed8b..2efda5e 100644 --- a/bn_mp_dr_is_modulus.c +++ b/bn_mp_dr_is_modulus.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* determines if a number is a valid DR modulus */ diff --git a/bn_mp_dr_reduce.c b/bn_mp_dr_reduce.c index d677b03..096f23d 100644 --- a/bn_mp_dr_reduce.c +++ b/bn_mp_dr_reduce.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* reduce "x" in place modulo "n" using the Diminished Radix algorithm. diff --git a/bn_mp_dr_setup.c b/bn_mp_dr_setup.c index 32aa582..ecc6ee6 100644 --- a/bn_mp_dr_setup.c +++ b/bn_mp_dr_setup.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* determines the setup value */ diff --git a/bn_mp_exch.c b/bn_mp_exch.c index 2bc635f..141c3ae 100644 --- a/bn_mp_exch.c +++ b/bn_mp_exch.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* swap the elements of two integers, for cases where you can't simply swap the diff --git a/bn_mp_export.c b/bn_mp_export.c index 92a85d5..13818f4 100644 --- a/bn_mp_export.c +++ b/bn_mp_export.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* based on gmp's mpz_export. diff --git a/bn_mp_expt_d.c b/bn_mp_expt_d.c index f5ce3c1..7831aa5 100644 --- a/bn_mp_expt_d.c +++ b/bn_mp_expt_d.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* wrapper function for mp_expt_d_ex() */ diff --git a/bn_mp_expt_d_ex.c b/bn_mp_expt_d_ex.c index d363d59..7a6f161 100644 --- a/bn_mp_expt_d_ex.c +++ b/bn_mp_expt_d_ex.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* calculate c = a**b using a square-multiply algorithm */ diff --git a/bn_mp_exptmod.c b/bn_mp_exptmod.c index 934fd25..36fb20d 100644 --- a/bn_mp_exptmod.c +++ b/bn_mp_exptmod.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ diff --git a/bn_mp_exptmod_fast.c b/bn_mp_exptmod_fast.c index 52d4a55..091da31 100644 --- a/bn_mp_exptmod_fast.c +++ b/bn_mp_exptmod_fast.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* computes Y == G**X mod P, HAC pp.616, Algorithm 14.85 diff --git a/bn_mp_exteuclid.c b/bn_mp_exteuclid.c index 29bad83..84e5202 100644 --- a/bn_mp_exteuclid.c +++ b/bn_mp_exteuclid.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* Extended euclidean algorithm of (a, b) produces diff --git a/bn_mp_fread.c b/bn_mp_fread.c index 6922183..95011fc 100644 --- a/bn_mp_fread.c +++ b/bn_mp_fread.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ #ifndef LTM_NO_FILE diff --git a/bn_mp_fwrite.c b/bn_mp_fwrite.c index 8541bc7..d7153e5 100644 --- a/bn_mp_fwrite.c +++ b/bn_mp_fwrite.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ #ifndef LTM_NO_FILE diff --git a/bn_mp_gcd.c b/bn_mp_gcd.c index f5aa78b..5815016 100644 --- a/bn_mp_gcd.c +++ b/bn_mp_gcd.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* Greatest Common Divisor using the binary method */ diff --git a/bn_mp_get_int.c b/bn_mp_get_int.c index d99a0a0..90f1bac 100644 --- a/bn_mp_get_int.c +++ b/bn_mp_get_int.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* get the lower 32-bits of an mp_int */ diff --git a/bn_mp_get_long.c b/bn_mp_get_long.c index 9ec2664..de9933f 100644 --- a/bn_mp_get_long.c +++ b/bn_mp_get_long.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* get the lower unsigned long of an mp_int, platform dependent */ diff --git a/bn_mp_get_long_long.c b/bn_mp_get_long_long.c index ffde373..0a3b5c0 100644 --- a/bn_mp_get_long_long.c +++ b/bn_mp_get_long_long.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* get the lower unsigned long long of an mp_int, platform dependent */ diff --git a/bn_mp_grow.c b/bn_mp_grow.c index 60f8f32..e62c192 100644 --- a/bn_mp_grow.c +++ b/bn_mp_grow.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* grow as required */ diff --git a/bn_mp_import.c b/bn_mp_import.c index 9bbd215..8f8b839 100644 --- a/bn_mp_import.c +++ b/bn_mp_import.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* based on gmp's mpz_import. diff --git a/bn_mp_init.c b/bn_mp_init.c index ad630e3..37d50a1 100644 --- a/bn_mp_init.c +++ b/bn_mp_init.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* init a new mp_int */ diff --git a/bn_mp_init_copy.c b/bn_mp_init_copy.c index 5681015..7f4c043 100644 --- a/bn_mp_init_copy.c +++ b/bn_mp_init_copy.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* creates "a" then copies b into it */ diff --git a/bn_mp_init_multi.c b/bn_mp_init_multi.c index 9ed777c..5dd0fb4 100644 --- a/bn_mp_init_multi.c +++ b/bn_mp_init_multi.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ #include diff --git a/bn_mp_init_set.c b/bn_mp_init_set.c index e9c1b12..c91901b 100644 --- a/bn_mp_init_set.c +++ b/bn_mp_init_set.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* initialize and set a digit */ diff --git a/bn_mp_init_set_int.c b/bn_mp_init_set_int.c index 8e7441a..afeed8a 100644 --- a/bn_mp_init_set_int.c +++ b/bn_mp_init_set_int.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* initialize and set a digit */ diff --git a/bn_mp_init_size.c b/bn_mp_init_size.c index 35713ac..d3a32ea 100644 --- a/bn_mp_init_size.c +++ b/bn_mp_init_size.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* init an mp_init for a given size */ diff --git a/bn_mp_invmod.c b/bn_mp_invmod.c index 96717ea..879511c 100644 --- a/bn_mp_invmod.c +++ b/bn_mp_invmod.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* hac 14.61, pp608 */ diff --git a/bn_mp_invmod_slow.c b/bn_mp_invmod_slow.c index 360f161..bc12b3b 100644 --- a/bn_mp_invmod_slow.c +++ b/bn_mp_invmod_slow.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* hac 14.61, pp608 */ diff --git a/bn_mp_is_square.c b/bn_mp_is_square.c index 329d727..18d74b8 100644 --- a/bn_mp_is_square.c +++ b/bn_mp_is_square.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* Check if remainders are possible squares - fast exclude non-squares */ diff --git a/bn_mp_jacobi.c b/bn_mp_jacobi.c index ef2e72f..d9739b0 100644 --- a/bn_mp_jacobi.c +++ b/bn_mp_jacobi.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* computes the jacobi c = (a | n) (or Legendre if n is prime) diff --git a/bn_mp_karatsuba_mul.c b/bn_mp_karatsuba_mul.c index 1a84211..a69f9d1 100644 --- a/bn_mp_karatsuba_mul.c +++ b/bn_mp_karatsuba_mul.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* c = |a| * |b| using Karatsuba Multiplication using diff --git a/bn_mp_karatsuba_sqr.c b/bn_mp_karatsuba_sqr.c index c566b06..4c4276b 100644 --- a/bn_mp_karatsuba_sqr.c +++ b/bn_mp_karatsuba_sqr.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* Karatsuba squaring, computes b = a*a using three diff --git a/bn_mp_lcm.c b/bn_mp_lcm.c index 24b621c..82e1790 100644 --- a/bn_mp_lcm.c +++ b/bn_mp_lcm.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* computes least common multiple as |a*b|/(a, b) */ diff --git a/bn_mp_lshd.c b/bn_mp_lshd.c index b49b545..e2edce0 100644 --- a/bn_mp_lshd.c +++ b/bn_mp_lshd.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* shift left a certain amount of digits */ diff --git a/bn_mp_mod.c b/bn_mp_mod.c index 64e73ea..4da21c4 100644 --- a/bn_mp_mod.c +++ b/bn_mp_mod.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* c = a mod b, 0 <= c < b if b > 0, b < c <= 0 if b < 0 */ diff --git a/bn_mp_mod_2d.c b/bn_mp_mod_2d.c index 7a74746..e8a15a0 100644 --- a/bn_mp_mod_2d.c +++ b/bn_mp_mod_2d.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* calc a value mod 2**b */ diff --git a/bn_mp_mod_d.c b/bn_mp_mod_d.c index 9a24e78..adb4e2a 100644 --- a/bn_mp_mod_d.c +++ b/bn_mp_mod_d.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ int mp_mod_d(const mp_int *a, mp_digit b, mp_digit *c) diff --git a/bn_mp_montgomery_calc_normalization.c b/bn_mp_montgomery_calc_normalization.c index 360e3e5..048dbc7 100644 --- a/bn_mp_montgomery_calc_normalization.c +++ b/bn_mp_montgomery_calc_normalization.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* diff --git a/bn_mp_montgomery_reduce.c b/bn_mp_montgomery_reduce.c index e3a0eaa..ecaa046 100644 --- a/bn_mp_montgomery_reduce.c +++ b/bn_mp_montgomery_reduce.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* computes xR**-1 == x (mod N) via Montgomery Reduction */ diff --git a/bn_mp_montgomery_setup.c b/bn_mp_montgomery_setup.c index 75da42b..ddbee95 100644 --- a/bn_mp_montgomery_setup.c +++ b/bn_mp_montgomery_setup.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* setups the montgomery reduction stuff */ diff --git a/bn_mp_mul.c b/bn_mp_mul.c index babb12b..1db0e91 100644 --- a/bn_mp_mul.c +++ b/bn_mp_mul.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* high level multiplication (handles sign) */ diff --git a/bn_mp_mul_2.c b/bn_mp_mul_2.c index 7611536..55c1d5f 100644 --- a/bn_mp_mul_2.c +++ b/bn_mp_mul_2.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* b = a*2 */ diff --git a/bn_mp_mul_2d.c b/bn_mp_mul_2d.c index 96aef85..88bec99 100644 --- a/bn_mp_mul_2d.c +++ b/bn_mp_mul_2d.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* shift left by a certain bit count */ diff --git a/bn_mp_mul_d.c b/bn_mp_mul_d.c index 13f94a2..4081c9b 100644 --- a/bn_mp_mul_d.c +++ b/bn_mp_mul_d.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* multiply by a digit */ diff --git a/bn_mp_mulmod.c b/bn_mp_mulmod.c index aeee4ee..14dc55f 100644 --- a/bn_mp_mulmod.c +++ b/bn_mp_mulmod.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* d = a * b (mod c) */ diff --git a/bn_mp_n_root.c b/bn_mp_n_root.c index a09804f..69569b6 100644 --- a/bn_mp_n_root.c +++ b/bn_mp_n_root.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* wrapper function for mp_n_root_ex() diff --git a/bn_mp_n_root_ex.c b/bn_mp_n_root_ex.c index 60c9929..e4ea8e5 100644 --- a/bn_mp_n_root_ex.c +++ b/bn_mp_n_root_ex.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* find the n'th root of an integer diff --git a/bn_mp_neg.c b/bn_mp_neg.c index 75f8bbd..bd28df8 100644 --- a/bn_mp_neg.c +++ b/bn_mp_neg.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* b = -a */ diff --git a/bn_mp_or.c b/bn_mp_or.c index f411509..1769117 100644 --- a/bn_mp_or.c +++ b/bn_mp_or.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* OR two ints together */ diff --git a/bn_mp_prime_fermat.c b/bn_mp_prime_fermat.c index e71e0ae..59b0082 100644 --- a/bn_mp_prime_fermat.c +++ b/bn_mp_prime_fermat.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* performs one Fermat test. diff --git a/bn_mp_prime_is_divisible.c b/bn_mp_prime_is_divisible.c index c49fdd2..b69a394 100644 --- a/bn_mp_prime_is_divisible.c +++ b/bn_mp_prime_is_divisible.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* determines if an integers is divisible by one diff --git a/bn_mp_prime_is_prime.c b/bn_mp_prime_is_prime.c index e97712d..aacd7a7 100644 --- a/bn_mp_prime_is_prime.c +++ b/bn_mp_prime_is_prime.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* performs a variable number of rounds of Miller-Rabin diff --git a/bn_mp_prime_miller_rabin.c b/bn_mp_prime_miller_rabin.c index 34c4d1c..77d2ee0 100644 --- a/bn_mp_prime_miller_rabin.c +++ b/bn_mp_prime_miller_rabin.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* Miller-Rabin test of "a" to the base of "b" as described in diff --git a/bn_mp_prime_next_prime.c b/bn_mp_prime_next_prime.c index b106a74..f83e48d 100644 --- a/bn_mp_prime_next_prime.c +++ b/bn_mp_prime_next_prime.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* finds the next prime after the number "a" using "t" trials diff --git a/bn_mp_prime_rabin_miller_trials.c b/bn_mp_prime_rabin_miller_trials.c index cde309a..45fbb97 100644 --- a/bn_mp_prime_rabin_miller_trials.c +++ b/bn_mp_prime_rabin_miller_trials.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ diff --git a/bn_mp_prime_random_ex.c b/bn_mp_prime_random_ex.c index 1ae2934..ec926da 100644 --- a/bn_mp_prime_random_ex.c +++ b/bn_mp_prime_random_ex.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* makes a truly random prime of a given size (bits), diff --git a/bn_mp_radix_size.c b/bn_mp_radix_size.c index 29355cb..5f8af60 100644 --- a/bn_mp_radix_size.c +++ b/bn_mp_radix_size.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* returns size of ASCII reprensentation */ diff --git a/bn_mp_radix_smap.c b/bn_mp_radix_smap.c index 262775c..e1c7fbc 100644 --- a/bn_mp_radix_smap.c +++ b/bn_mp_radix_smap.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* chars used in radix conversions */ diff --git a/bn_mp_rand.c b/bn_mp_rand.c index 2ed665e..5e0c1b3 100644 --- a/bn_mp_rand.c +++ b/bn_mp_rand.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ #if defined(MP_8BIT) || defined(MP_16BIT) diff --git a/bn_mp_read_radix.c b/bn_mp_read_radix.c index 55c5ee1..77dfe08 100644 --- a/bn_mp_read_radix.c +++ b/bn_mp_read_radix.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* read a string [ASCII] in a given radix */ diff --git a/bn_mp_read_signed_bin.c b/bn_mp_read_signed_bin.c index 17bc6ce..1b3f96d 100644 --- a/bn_mp_read_signed_bin.c +++ b/bn_mp_read_signed_bin.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* read signed bin, big endian, first byte is 0==positive or 1==negative */ diff --git a/bn_mp_read_unsigned_bin.c b/bn_mp_read_unsigned_bin.c index 6398c43..b42a356 100644 --- a/bn_mp_read_unsigned_bin.c +++ b/bn_mp_read_unsigned_bin.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* reads a unsigned char array, assumes the msb is stored first [big endian] */ diff --git a/bn_mp_reduce.c b/bn_mp_reduce.c index 5b1d405..ff7bfc5 100644 --- a/bn_mp_reduce.c +++ b/bn_mp_reduce.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* reduces x mod m, assumes 0 < x < m**2, mu is diff --git a/bn_mp_reduce_2k.c b/bn_mp_reduce_2k.c index e1e2bc8..e26ac9f 100644 --- a/bn_mp_reduce_2k.c +++ b/bn_mp_reduce_2k.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* reduces a modulo n where n is of the form 2**p - d */ diff --git a/bn_mp_reduce_2k_l.c b/bn_mp_reduce_2k_l.c index 23381bf..59d095e 100644 --- a/bn_mp_reduce_2k_l.c +++ b/bn_mp_reduce_2k_l.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* reduces a modulo n where n is of the form 2**p - d diff --git a/bn_mp_reduce_2k_setup.c b/bn_mp_reduce_2k_setup.c index e6ae839..8e158d4 100644 --- a/bn_mp_reduce_2k_setup.c +++ b/bn_mp_reduce_2k_setup.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* determines the setup value */ diff --git a/bn_mp_reduce_2k_setup_l.c b/bn_mp_reduce_2k_setup_l.c index af81b5b..a2debdd 100644 --- a/bn_mp_reduce_2k_setup_l.c +++ b/bn_mp_reduce_2k_setup_l.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* determines the setup value */ diff --git a/bn_mp_reduce_is_2k.c b/bn_mp_reduce_is_2k.c index f59d535..3b42138 100644 --- a/bn_mp_reduce_is_2k.c +++ b/bn_mp_reduce_is_2k.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* determines if mp_reduce_2k can be used */ diff --git a/bn_mp_reduce_is_2k_l.c b/bn_mp_reduce_is_2k_l.c index 22c7582..77fe1f9 100644 --- a/bn_mp_reduce_is_2k_l.c +++ b/bn_mp_reduce_is_2k_l.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* determines if reduce_2k_l can be used */ diff --git a/bn_mp_reduce_setup.c b/bn_mp_reduce_setup.c index 70e193a..d02ad6d 100644 --- a/bn_mp_reduce_setup.c +++ b/bn_mp_reduce_setup.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* pre-calculate the value required for Barrett reduction diff --git a/bn_mp_rshd.c b/bn_mp_rshd.c index fd06735..fef76d2 100644 --- a/bn_mp_rshd.c +++ b/bn_mp_rshd.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* shift right a certain amount of digits */ diff --git a/bn_mp_set.c b/bn_mp_set.c index 952d080..d065b3b 100644 --- a/bn_mp_set.c +++ b/bn_mp_set.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* set to a digit */ diff --git a/bn_mp_set_int.c b/bn_mp_set_int.c index 006f263..25ed219 100644 --- a/bn_mp_set_int.c +++ b/bn_mp_set_int.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* set a 32-bit const */ diff --git a/bn_mp_set_long.c b/bn_mp_set_long.c index 8cbb811..ea529d4 100644 --- a/bn_mp_set_long.c +++ b/bn_mp_set_long.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* set a platform dependent unsigned long int */ diff --git a/bn_mp_set_long_long.c b/bn_mp_set_long_long.c index 3566b45..9c7b0e0 100644 --- a/bn_mp_set_long_long.c +++ b/bn_mp_set_long_long.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* set a platform dependent unsigned long long int */ diff --git a/bn_mp_shrink.c b/bn_mp_shrink.c index 3e4dde0..b5898e8 100644 --- a/bn_mp_shrink.c +++ b/bn_mp_shrink.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* shrink a bignum */ diff --git a/bn_mp_signed_bin_size.c b/bn_mp_signed_bin_size.c index 1fdfd85..137d585 100644 --- a/bn_mp_signed_bin_size.c +++ b/bn_mp_signed_bin_size.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* get the size for an signed equivalent */ diff --git a/bn_mp_sqr.c b/bn_mp_sqr.c index a98f16c..668e4a1 100644 --- a/bn_mp_sqr.c +++ b/bn_mp_sqr.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* computes b = a*a */ diff --git a/bn_mp_sqrmod.c b/bn_mp_sqrmod.c index c3c7ec9..be4fcc2 100644 --- a/bn_mp_sqrmod.c +++ b/bn_mp_sqrmod.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* c = a * a (mod b) */ diff --git a/bn_mp_sqrt.c b/bn_mp_sqrt.c index d70c523..f25cd05 100644 --- a/bn_mp_sqrt.c +++ b/bn_mp_sqrt.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* this function is less generic than mp_n_root, simpler and faster */ diff --git a/bn_mp_sub.c b/bn_mp_sub.c index 19cb65e..c04e3a4 100644 --- a/bn_mp_sub.c +++ b/bn_mp_sub.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* high level subtraction (handles signs) */ diff --git a/bn_mp_sub_d.c b/bn_mp_sub_d.c index e5fbfff..92a1b0c 100644 --- a/bn_mp_sub_d.c +++ b/bn_mp_sub_d.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* single digit subtraction */ diff --git a/bn_mp_submod.c b/bn_mp_submod.c index c4db397..c27ad50 100644 --- a/bn_mp_submod.c +++ b/bn_mp_submod.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* d = a - b (mod c) */ diff --git a/bn_mp_to_signed_bin.c b/bn_mp_to_signed_bin.c index 4d4be88..78b3e19 100644 --- a/bn_mp_to_signed_bin.c +++ b/bn_mp_to_signed_bin.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* store in signed [big endian] format */ diff --git a/bn_mp_to_signed_bin_n.c b/bn_mp_to_signed_bin_n.c index f1d7c8b..0fa5c7a 100644 --- a/bn_mp_to_signed_bin_n.c +++ b/bn_mp_to_signed_bin_n.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* store in signed [big endian] format */ diff --git a/bn_mp_to_unsigned_bin.c b/bn_mp_to_unsigned_bin.c index a53f711..fe9ba91 100644 --- a/bn_mp_to_unsigned_bin.c +++ b/bn_mp_to_unsigned_bin.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* store in unsigned [big endian] format */ diff --git a/bn_mp_to_unsigned_bin_n.c b/bn_mp_to_unsigned_bin_n.c index e7d303c..ea9f874 100644 --- a/bn_mp_to_unsigned_bin_n.c +++ b/bn_mp_to_unsigned_bin_n.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* store in unsigned [big endian] format */ diff --git a/bn_mp_toom_mul.c b/bn_mp_toom_mul.c index 00b6bfb..474ab41 100644 --- a/bn_mp_toom_mul.c +++ b/bn_mp_toom_mul.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* multiplication using the Toom-Cook 3-way algorithm diff --git a/bn_mp_toom_sqr.c b/bn_mp_toom_sqr.c index 183de20..4dc929a 100644 --- a/bn_mp_toom_sqr.c +++ b/bn_mp_toom_sqr.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* squaring using Toom-Cook 3-way algorithm */ diff --git a/bn_mp_toradix.c b/bn_mp_toradix.c index 7dd6e4f..d4c5a0a 100644 --- a/bn_mp_toradix.c +++ b/bn_mp_toradix.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* stores a bignum as a ASCII string in a given radix (2..64) */ diff --git a/bn_mp_toradix_n.c b/bn_mp_toradix_n.c index ef885fc..491fdca 100644 --- a/bn_mp_toradix_n.c +++ b/bn_mp_toradix_n.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* stores a bignum as a ASCII string in a given radix (2..64) diff --git a/bn_mp_unsigned_bin_size.c b/bn_mp_unsigned_bin_size.c index 2b9ce8a..313544b 100644 --- a/bn_mp_unsigned_bin_size.c +++ b/bn_mp_unsigned_bin_size.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* get the size for an unsigned equivalent */ diff --git a/bn_mp_xor.c b/bn_mp_xor.c index 9ebc53a..734f533 100644 --- a/bn_mp_xor.c +++ b/bn_mp_xor.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* XOR two ints together */ diff --git a/bn_mp_zero.c b/bn_mp_zero.c index 08aac2a..9e43f11 100644 --- a/bn_mp_zero.c +++ b/bn_mp_zero.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* set to zero */ diff --git a/bn_prime_tab.c b/bn_prime_tab.c index bcd23ed..97d44bc 100644 --- a/bn_prime_tab.c +++ b/bn_prime_tab.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ const mp_digit ltm_prime_tab[] = { diff --git a/bn_reverse.c b/bn_reverse.c index 71e3d03..729d32b 100644 --- a/bn_reverse.c +++ b/bn_reverse.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* reverse an array, used for radix code */ diff --git a/bn_s_mp_add.c b/bn_s_mp_add.c index 3f908ef..9810cb0 100644 --- a/bn_s_mp_add.c +++ b/bn_s_mp_add.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* low level addition, based on HAC pp.594, Algorithm 14.7 */ diff --git a/bn_s_mp_exptmod.c b/bn_s_mp_exptmod.c index a954757..ff67369 100644 --- a/bn_s_mp_exptmod.c +++ b/bn_s_mp_exptmod.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ #ifdef MP_LOW_MEM diff --git a/bn_s_mp_mul_digs.c b/bn_s_mp_mul_digs.c index 214ae31..f1bdbe3 100644 --- a/bn_s_mp_mul_digs.c +++ b/bn_s_mp_mul_digs.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* multiplies |a| * |b| and only computes upto digs digits of result diff --git a/bn_s_mp_mul_high_digs.c b/bn_s_mp_mul_high_digs.c index 3c0418a..485f962 100644 --- a/bn_s_mp_mul_high_digs.c +++ b/bn_s_mp_mul_high_digs.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* multiplies |a| * |b| and does not compute the lower digs digits diff --git a/bn_s_mp_sqr.c b/bn_s_mp_sqr.c index 71bbccd..d670907 100644 --- a/bn_s_mp_sqr.c +++ b/bn_s_mp_sqr.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* low level squaring, b = a*a, HAC pp.596-597, Algorithm 14.16 */ diff --git a/bn_s_mp_sub.c b/bn_s_mp_sub.c index c8472af..2cd2807 100644 --- a/bn_s_mp_sub.c +++ b/bn_s_mp_sub.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* low level subtraction (assumes |a| > |b|), HAC pp.595 Algorithm 14.9 */ diff --git a/bncore.c b/bncore.c index cfd19f0..3596313 100644 --- a/bncore.c +++ b/bncore.c @@ -11,8 +11,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://libtom.org */ /* Known optimal configurations diff --git a/doc/bn.tex b/doc/bn.tex index 4f1724d..b3618e3 100644 --- a/doc/bn.tex +++ b/doc/bn.tex @@ -50,7 +50,7 @@ \frontmatter \pagestyle{empty} \title{LibTomMath User Manual \\ v1.0.1} -\author{Tom St Denis \\ tstdenis82@gmail.com} +\author{LibTom Projects \\ www.libtom.net} \maketitle This text, the library and the accompanying textbook are all hereby placed in the public domain. This book has been formatted for B5 [176x250] paper using the \LaTeX{} {\em book} macro package. @@ -60,6 +60,9 @@ formatted for B5 [176x250] paper using the \LaTeX{} {\em book} macro package. \begin{flushright}Open Source. Open Academia. Open Minds. \mbox{ } +LibTom Projects + +\& originally Tom St Denis, diff --git a/tommath.h b/tommath.h index e229bc6..9a85b65 100644 --- a/tommath.h +++ b/tommath.h @@ -9,8 +9,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://math.libtomcrypt.com */ #ifndef BN_H_ #define BN_H_ diff --git a/tommath_private.h b/tommath_private.h index 678edc4..2c0557b 100644 --- a/tommath_private.h +++ b/tommath_private.h @@ -9,8 +9,6 @@ * * The library is free for all purposes without any express * guarantee it works. - * - * Tom St Denis, tstdenis82@gmail.com, http://math.libtomcrypt.com */ #ifndef TOMMATH_PRIV_H_ #define TOMMATH_PRIV_H_