czurnieden
6608eea9e1
bugfix in final fips loop II: alternative version
2019-03-26 15:42:36 +01:00
czurnieden
7ecd1ad4f6
bugfix in final fips loop II
2019-03-26 15:42:36 +01:00
czurnieden
9771308d11
bugfix in final fips loop
2019-03-26 15:42:36 +01:00
Francois Perrad
b879bd495a
refactor with new macros IS_*
2019-02-02 07:39:23 +01:00
Francois Perrad
998b126fee
explicit operator precedence
2019-01-22 18:34:08 +01:00
Francois Perrad
c7f4e81deb
fix cast
2019-01-22 18:34:04 +01:00
Steffen Jaeckel
32622afe2f
run make format
2019-01-22 09:03:27 +01:00
Steffen Jaeckel
fcea5e3c35
Merge pull request #149 from czurnieden/develop
...
Added overflow check in mp_prime_is_prime and some verbosity in demo.c
(cherry picked from commit 55a7af3d62
)
2019-01-22 09:00:03 +01:00
Steffen Jaeckel
18355de625
Update file headers
...
[skip ci]
2018-12-29 17:56:20 +01:00
Steffen Jaeckel
d29916b4c5
fix missing check of return value
2018-12-26 13:16:15 +01:00
Francois Perrad
0f53ceb4cb
improve indentation
2018-12-26 09:08:12 +01:00
Francois Perrad
5d090112af
explicit operator precedence
2018-12-26 09:08:08 +01:00
Francois Perrad
7a9cb1d1e5
literal suffix
2018-12-26 09:08:02 +01:00
Francois Perrad
29987bca9a
fix cast
2018-12-26 09:07:59 +01:00
Steffen Jaeckel
3ed524048f
make astyle
+ some manual adjustments
2018-12-25 15:17:12 +01:00
czurnieden
09133c9349
additional bugfixes
2018-12-25 15:17:12 +01:00
czurnieden
3ec93dab9e
bugfix in bn_mp_kronecker.c, cleanup and formatting in div. files
2018-12-25 15:17:12 +01:00
czurnieden
b19f529c77
Corrected 128 bit entry in bn_mp_prime_miller_rabin_rials.c and extended it slightly
2018-12-25 15:17:12 +01:00
czurnieden
f4449362c0
fixes for MP_8BIT and mx32, prefinal design
2018-12-25 15:17:12 +01:00
czurnieden
934dd31738
changes and bigfixes, see pull-request #113 at https://github.com/libtom/libtommath/pull/113 for details
2018-12-25 15:17:03 +01:00
czurnieden
38e8f93bdb
Handle edge cases with MP_8BIT and use correct upper limit for the random witnesses
2018-12-25 15:17:03 +01:00
czurnieden
9b448bdc08
exchanged direct call to Miller-Rabin in mp_prime_next_prime with mp_prime_is_prime
2018-12-25 15:17:03 +01:00
czurnieden
6ee0829d62
bugfix in bn_mp_mul_si. Ouch! strong Lucas_selfridge test switched back on
2018-12-25 15:17:03 +01:00
czurnieden
63dc065dc8
Adjusted API compliacnce for MP_8BIT in mp_prime_is_prime
2018-12-25 15:17:03 +01:00
czurnieden
a2e15e2d10
Added tests to demo.c, switched off Lucas-Selfridge because it failed a test, and changed MP_8BIT handling in mp_prime_is_prime
2018-12-25 15:17:03 +01:00
czurnieden
fd876e4a7f
bugfix in mp_prime_is_prime for small input
2018-12-25 15:17:03 +01:00
czurnieden
fdaad99b1b
make it compile with MP_8BIT
2018-12-25 15:17:03 +01:00
czurnieden
a218ddce9b
Added Fips 186.4 compliance, an additional strong Lucas-Selfridge (for BPSW) and a Frobenius (Paul UNderwood) test, both optional. With documentation.
2018-12-25 15:17:03 +01:00
czurnieden
9034e712b8
Do not use installed headers for building
2018-05-02 21:43:17 +02:00
Steffen Jaeckel
f51249b6aa
clean-up file headers
2018-02-27 23:30:43 +01:00
nijtmans
f674018a41
constify remaining functions
2017-09-20 16:59:43 +02:00
Francois Perrad
a20d9b102c
format with astyle (step 4)
2017-08-30 20:23:22 +02:00
Francois Perrad
45771cc91c
format with astyle (step 1)
2017-08-30 20:09:49 +02:00
Francois Perrad
aab1b3d99f
split label & statement
2017-08-30 20:09:13 +02:00
Francois Perrad
d6a9a58f64
remove space after function name and cast
2017-08-30 20:08:58 +02:00
Steffen Jaeckel
6f21294212
replace SVN tags
2017-08-28 17:00:58 +02:00
Francois Perrad
99c84acc4c
add parentheses for explicit operator precedence
2015-12-02 22:47:51 +01:00
Steffen Jaeckel
4e3f1344a5
provide tommath_private.h
...
tommath.h contains declarations for the public part of the library.
tommath_private.h contains the functions which are private to ltm and
should not be exposed to the public.
2015-11-12 01:49:07 +01:00
Tom St Denis
079b0f65a9
Getting ready for v0.43.0 release
...
Also updated my email address...
Signed-off-by: Tom St Denis <tstdenis82@gmail.com>
2015-10-30 17:55:29 -04:00
Tom St Denis
333aebc894
added libtommath-0.41
2010-07-15 17:26:06 +02:00
Tom St Denis
f0b91a572e
added libtommath-0.39
2010-07-15 17:26:01 +02:00
Tom St Denis
9294e79150
added libtommath-0.36
2010-07-15 17:25:56 +02:00
Tom St Denis
4b7111d96e
added libtommath-0.33
2010-07-15 17:25:49 +02:00
Tom St Denis
e549ccfec5
added libtommath-0.32
2010-07-15 17:25:47 +02:00
Tom St Denis
455bb4db20
added libtommath-0.28
2010-07-15 17:25:39 +02:00
Tom St Denis
c1da6aa2de
added libtommath-0.25
2010-07-15 17:25:33 +02:00
Tom St Denis
eed6765fe9
added libtommath-0.23
2010-07-15 17:25:30 +02:00
Tom St Denis
fd181cc841
added libtommath-0.17
2010-07-15 17:25:21 +02:00
Tom St Denis
b1756f2f98
added libtommath-0.15
2010-07-15 17:25:18 +02:00