Commit Graph

1095 Commits

Author SHA1 Message Date
Steffen Jaeckel
d0c6a8d5db put parameters into struct 2019-10-01 09:03:27 +02:00
Steffen Jaeckel
0da3c65b3e
Merge pull request #352 from libtom/dedup-test-binary
Deduplicate the test binary
2019-10-01 09:01:23 +02:00
Steffen Jaeckel
f8d64c645a create mtest_opponent instead of alt version of test 2019-09-30 23:44:49 +02:00
Steffen Jaeckel
6e160216b0
Merge pull request #347 from fperrad/20190907_refactor
some refactoring
2019-09-10 09:36:31 +02:00
Francois Perrad
ffdd008dda use MP_DIGIT_MAX instead of MP_MASK 2019-09-09 18:53:34 +02:00
Steffen Jaeckel
d6a8de54f6
Merge pull request #351 from czurnieden/deprecating_eight_bit_warning
Add message that MP-8BIT is deprecated
2019-09-09 17:37:48 +02:00
czurnieden
1cb8a22933 removed tests for MP_8BIT from travis 2019-09-09 16:13:46 +02:00
czurnieden
6b0caef471 add message that MP-8BIT is deprecated 2019-09-09 15:55:45 +02:00
Steffen Jaeckel
c884b64ffb
Merge pull request #350 from czurnieden/travis_valgrind_logname
added printing of valgrind log to travis.yml in case of error
2019-09-09 11:51:27 +02:00
czurnieden
33f4280e45 added printing of valgrind log to travis.yml in case of error 2019-09-09 04:26:59 +02:00
Steffen Jaeckel
287cdf54c2
Merge pull request #346 from fperrad/20190907_fix
fix mp_to_radix
2019-09-08 13:45:24 +02:00
Francois Perrad
642ef5b08f fix mp_to_radix
remove an assignment which could overwrite the one with MP_VAL

caused by a conflict between 2 recent commits
 - refactor with goto
 - return error if output-buffer is too small
2019-09-07 19:07:17 +02:00
Steffen Jaeckel
c63799c392
Merge pull request #341 from libtom/improve-tests
Improve tests
2019-09-07 17:41:09 +02:00
Steffen Jaeckel
234d474fe6 only run tests if the module is available 2019-09-07 17:28:16 +02:00
Steffen Jaeckel
1687b15249 allow the user to override {C,L,LD}FLAGS 2019-09-07 17:28:16 +02:00
Steffen Jaeckel
7482b3a95a fix missing symbols when building SC_RSA_1 2019-09-07 17:28:16 +02:00
Steffen Jaeckel
702e5391d0 add function pointers to tommath_class.h 2019-09-07 17:28:16 +02:00
Steffen Jaeckel
8721ca1239 order defines alphabetically 2019-09-07 17:28:16 +02:00
Steffen Jaeckel
c4e205183a add testbuild for RSA superclass 2019-09-07 17:28:16 +02:00
Steffen Jaeckel
75c52a893b be nice and tell when it's hex output
did you know that 0x35 is equal to 53? ... ;-)
2019-09-07 17:28:16 +02:00
Steffen Jaeckel
54661db6a4 allow RSA superclass to be built with tests 2019-09-07 17:28:16 +02:00
Steffen Jaeckel
1cd8ab1652 fix define 2019-09-07 17:28:16 +02:00
Steffen Jaeckel
f38a65e637 simplify some of the build rules 2019-09-07 17:28:16 +02:00
Steffen Jaeckel
9eecab7b49 print jenkins seed on startup
I just had a case around where the `mp_prime_rand()` testcase failed
but I couldn't reproduce.
I'm pretty sure that was caused by all my changes and partial rebuilds
but anyways it'll give us in the future the possibility to debug such
a case.
2019-09-07 17:28:16 +02:00
Steffen Jaeckel
e5f00d4127
Merge pull request #339 from fperrad/20190527_goto
some refactoring
2019-09-07 17:26:40 +02:00
Francois Perrad
06ff695b95 goto without block 2019-09-07 15:21:55 +02:00
Steffen Jaeckel
b264fb2b16
Merge pull request #345 from fperrad/20190907_lint
some linting
2019-09-07 15:14:29 +02:00
Francois Perrad
8cf0d3db85 literal suffix 2019-09-07 12:29:28 +02:00
Steffen Jaeckel
84fc6abeb5
Merge pull request #344 from czurnieden/correct_ilogb
Bugfix: removed check against MP_MASK
2019-09-07 10:42:17 +02:00
czurnieden
629b88cf9a removed check against MP_MASK 2019-09-06 20:22:57 +02:00
Steffen Jaeckel
c6e9e99efb
Merge pull request #335 from fperrad/20190902_lint
some linting
2019-09-04 07:42:05 +02:00
Francois Perrad
b14c8e377c explicit operator precedence 2019-09-03 18:05:45 +02:00
Steffen Jaeckel
7b79264206
Merge pull request #338 from czurnieden/re_issue_332_bis
Refactoring of prime-table part of `mp_prime_next_prime`
2019-09-03 16:46:04 +02:00
czurnieden
f05165ecc5 simplified code 2019-09-03 16:12:05 +02:00
Steffen Jaeckel
9074c7792e
Merge pull request #337 from libtom/fixup-332
Fixup 332
2019-09-03 15:07:53 +02:00
Steffen Jaeckel
0664a557df improve doc
[skip ci]
2019-09-03 14:53:47 +02:00
Steffen Jaeckel
3c9046da0f fix mp_to_radix macro 2019-09-03 11:08:56 +02:00
Steffen Jaeckel
72f9251939 fix last occurrences of mp_toradix() 2019-09-03 11:08:56 +02:00
Steffen Jaeckel
33ba5f0b4b
Merge pull request #336 from libtom/deprecated-fixes
Fix deprecation messages and unnecessary includes
2019-09-03 11:08:28 +02:00
nijtmans
bbe268ebd2 Fix deprecation messages and unnecessary includes 2019-09-03 10:53:40 +02:00
Steffen Jaeckel
1ed76442de
Merge pull request #302 from fperrad/20190525_refactor
some refactoring
2019-09-03 08:34:33 +02:00
Francois Perrad
6144ed6fb6 rename label LBL 2019-09-03 05:51:56 +02:00
Francois Perrad
a402b462e9 refactor with goto 2019-09-03 05:45:33 +02:00
Francois Perrad
49abba0937 refactor with mp_init_multi 2019-09-03 05:30:01 +02:00
Francois Perrad
8a1656c01c refactor with for 2019-09-03 05:24:12 +02:00
Francois Perrad
29ef033a0b refactor without inner scope 2019-09-03 05:24:12 +02:00
Steffen Jaeckel
857b112ef2
Merge pull request #334 from czurnieden/re_issue_332
repair of #333
2019-09-03 01:04:00 +02:00
Steffen Jaeckel
ad402d4351 no need for that if-else 2019-09-03 00:28:02 +02:00
czurnieden
8bb11ded99 included tests for mp_prime_next_prime 2019-09-02 21:25:22 +02:00
czurnieden
eebe1d26d0 repair of #333 2019-09-02 21:25:22 +02:00