Commit Graph

506 Commits

Author SHA1 Message Date
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
Karel Miko
0dd096ebec drop mess.sh (obsolete, from cvs-times) 2018-12-02 18:39:21 +01:00
Karel Miko
4dc178ba72 drop obsolete libtommath.dsp 2018-12-02 18:38:34 +01:00
Karel Miko
862234b968 genlist.sh and parsenames.pl are not needed anymore (replaced by helper.pl) 2018-12-02 18:35:01 +01:00
Karel Miko
0329e828ae drop broken (not working) makefile.cygwin_dll 2018-12-02 18:28:59 +01:00
Karel Miko
8e4edf76d5 drop makefile.bcc+makefile.icc in favour of makefile.unix 2018-12-02 18:27:05 +01:00
Karel Miko
4b85095405 fix cygwin build 2018-12-02 17:56:10 +01:00
Karel Miko
fc4b7f8008 update makefile.msvc 2018-12-02 15:11:10 +01:00
Karel Miko
2c07579f7d add makefile.mingw 2018-12-02 14:59:05 +01:00
Karel Miko
3c69b8851d update .gitignore to the new MSVC build style 2018-12-02 14:47:16 +01:00
Karel Miko
159e5b3c6b update MSVC .sln file 2018-12-02 14:42:41 +01:00
Karel Miko
be93943e52 drop visual studio 2005 support 2018-12-02 14:32:48 +01:00
Karel Miko
934ee69bc0 update MSVC project file libtommath_VS2008.vcproj 2018-12-02 14:32:08 +01:00
Karel Miko
c852d5abe6 replace updatemakes.sh+filter.pl with updatemakes.sh+helper.pl 2018-12-02 14:27:53 +01:00
Karel Miko
a16f34f97e re-sort OBJECTS in makefile* 2018-12-02 13:58:50 +01:00
Karel Miko
a9cc9d119b add makefile.unix 2018-12-02 13:54:55 +01:00
Karel Miko
f4ed78dce7 replaces TABs with spaces 2018-12-02 13:16:44 +01:00
Karel Miko
c9f1a0023f remove trailing spaces 2018-12-02 13:13:48 +01:00