Steffen Jaeckel
|
b722832b32
|
Merge pull request #140 from libtom/fix/missing_check
fix missing check of return value
|
2018-12-26 16:22:58 +01:00 |
|
Steffen Jaeckel
|
d29916b4c5
|
fix missing check of return value
|
2018-12-26 13:16:15 +01:00 |
|
Steffen Jaeckel
|
bd14983023
|
Merge pull request #139 from fperrad/20181226_lint
some linting
|
2018-12-26 13:14:55 +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
|
8e76691203
|
explicit condition
|
2018-12-26 09:08:05 +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 |
|
Francois Perrad
|
79d47278bb
|
static const variable
|
2018-12-26 09:07:56 +01:00 |
|
Francois Perrad
|
8dceba2e68
|
remove useless initialization
|
2018-12-26 09:07:48 +01:00 |
|
Steffen Jaeckel
|
f9eec4350e
|
Merge pull request #113 from czurnieden/develop
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 16:52:45 +01:00 |
|
Steffen Jaeckel
|
bb14a70d74
|
return immediately
|
2018-12-25 16:38:51 +01:00 |
|
Steffen Jaeckel
|
3ed524048f
|
make astyle + some manual adjustments
|
2018-12-25 15:17:12 +01:00 |
|
Steffen Jaeckel
|
a79a7eda65
|
reverse order of arguments to mp_clear_multi()
|
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 |
|
Steffen Jaeckel
|
e6f353b48d
|
add mp_prime_is_prime to timing demo...
... it's disabled per default for now...
|
2018-12-25 15:17:12 +01:00 |
|
Steffen Jaeckel
|
4f245b0476
|
Update makefiles etc.
|
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
|
8cb2b5e216
|
Updated documentation to reflect the sudden disappearance of mp_mul_si()
|
2018-12-25 15:17:12 +01:00 |
|
czurnieden
|
08cee4325d
|
Moved mp_mul_si() into bn_mp_prime_strong_lucas_selfridge.c as a local function
|
2018-12-25 15:17:03 +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
|
ba786e6b39
|
Call mp_kronecker from mp_jacobi to save some bytes while keeping the API
|
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
|
06c8f3ec4e
|
replaced mp_set_int with mp_set_long, just in case
|
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
|
01dde64e05
|
In case of a timeout echo last line in logfile of last test before that logfile gets removed
|
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
|
44ccca75be
|
the lost files from the last commit
|
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 |
|
Steffen Jaeckel
|
f17d90b96d
|
Merge pull request #136 from czurnieden/docsupdate
Docsupdate
|
2018-12-25 13:50:59 +01:00 |
|
czurnieden
|
48c95f2afd
|
repaired bn.tex
|
2018-12-12 00:51:10 +01:00 |
|
czurnieden
|
9505280693
|
added most of the missing doumentation to doc/bn.tex
|
2018-12-10 10:47:25 +01:00 |
|
karel-m
|
9ff526fa22
|
Merge pull request #133 from libtom/pr/msvc-fixes
Fixes for #131 + #132 (MSVC related)
|
2018-12-08 17:42:27 +01:00 |
|
Karel Miko
|
b28608fc93
|
make libtommath_VS2008 better upgradable to the newer visual studio
|
2018-12-08 11:56:08 +01:00 |
|
Karel Miko
|
9bac5dd954
|
another msvc warnings: 32-bit shift implicitly converted to 64 bits
|
2018-12-08 10:43:52 +01:00 |
|
Karel Miko
|
6d56e11b1b
|
more visual studio related items in .gitignore
|
2018-12-08 10:43:52 +01:00 |
|
Karel Miko
|
1221b5e12a
|
fix #131 - msvc warning: result of 32-bit shift implicitly converted to 64 bits
|
2018-12-08 10:43:52 +01:00 |
|
Steffen Jaeckel
|
7b9082554f
|
Merge pull request #134 from libtom/fixup/123_124
Fixup PR for #123 #124
|
2018-12-08 10:29:49 +01:00 |
|
czurnieden
|
7ce3d15995
|
commented additional preprocessor branch in bn_mp_set_double.c
|
2018-12-08 10:13:21 +01:00 |
|
czurnieden
|
44e4986bfe
|
made preprocessor warning in bn_mp_set_double.c portable
|
2018-12-08 10:13:11 +01:00 |
|
czurnieden
|
dc150614d9
|
renamed variables in demo/demo.c shadowning another one
|
2018-12-08 10:13:01 +01:00 |
|
Steffen Jaeckel
|
4de6ea9616
|
fixup updatemakes.sh
[skip ci]
|
2018-12-02 21:18:10 +01:00 |
|
Steffen Jaeckel
|
dd051f69fa
|
Merge pull request #130 from libtom/pr/helper-pl
helper.pl + makefiles cleanup
|
2018-12-02 21:13:09 +01:00 |
|
Karel Miko
|
aa12f353c7
|
properly use test_standalone
|
2018-12-02 18:46:35 +01:00 |
|