Commit Graph

958 Commits

Author SHA1 Message Date
Steffen Jaeckel
42b1609222 how to create a minimized callgraph 2019-04-04 07:54:00 +02:00
Steffen Jaeckel
708a8bfd55
Merge pull request #178 from libtom/add-missing-const
add missing const to cast
2019-03-29 10:40:58 +01:00
Daniel Mendler
fce2966e25 add missing const to cast 2019-03-29 10:40:25 +01:00
Steffen Jaeckel
12f0abbe86
Merge pull request #177 from libtom/remove-opt-cast
remove OPT_CAST
2019-03-29 10:39:24 +01:00
Daniel Mendler
28e61778b9 remove OPT_CAST
The explicit cast does not hurt in C. Furthermore the explicit cast is needed
if tommath is compiled as C with strict warning settings.
2019-03-29 10:38:43 +01:00
Steffen Jaeckel
27417b85c7
Merge pull request #188 from libtom/unused_xcalloc
XCALLOC is not used anywhere anymore, so it can be removed
2019-03-29 08:59:25 +01:00
nijtmans
54d673f1a8 XCALLOC is not used anywhere anymore, so it can be removed 2019-03-29 08:58:53 +01:00
Steffen Jaeckel
d449bd44c0
Merge pull request #187 from libtom/unused_mp_min_u32
mp_min_u32 is not used anywhere anymore, so it can be removed
2019-03-29 08:58:28 +01:00
nijtmans
a3076677be previous commit removed a little bit too much 2019-03-28 16:18:41 +01:00
nijtmans
ef07da5b8c mp_min_u32 is not used anywhere anymore, so it can be removed 2019-03-28 16:13:37 +01:00
Steffen Jaeckel
05399033b8
Merge pull request #186 from fperrad/20190326_lint
some linting
2019-03-26 22:01:36 +01:00
Francois Perrad
9d63882d50 explicit condition 2019-03-26 18:58:44 +01:00
Francois Perrad
6d63370370 explicit operator precedence 2019-03-26 18:58:41 +01:00
Steffen Jaeckel
3841062016
Merge pull request #176 from libtom/do-not-include-stdio
do not include stdio.h if LTM_NO_FILE is defined
2019-03-26 17:47:34 +01:00
Daniel Mendler
8eb3bb282e do not include stdio.h if LTM_NO_FILE is defined
stdio.h might not be available on constraint environments
2019-03-26 17:47:16 +01:00
Steffen Jaeckel
255271ed98
Merge pull request #179 from libtom/avoid-ctype
avoid ctype toupper
2019-03-26 17:46:36 +01:00
Daniel Mendler
32099fdef1 avoid ctype toupper
- libc toupper is locale dependent
- removes the dependency on ctype.h
2019-03-26 17:45:13 +01:00
Steffen Jaeckel
f3ff7064f3
Merge pull request #180 from czurnieden/isprimeerror
Fixed bug in mp_prime_isprime
2019-03-26 17:44:05 +01:00
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
Steffen Jaeckel
b587c954a5
Merge pull request #183 from libtom/get_set_efficiency
efficiency improvement in get/set routines
2019-03-26 15:40:38 +01:00
nijtmans
6dc8ae5b64 efficiency improvement in get/set routines 2019-03-26 15:39:30 +01:00
Steffen Jaeckel
0f1abbd1b1
Merge pull request #175 from czurnieden/develop
Added valgrind tests to testme.sh and travis.yml
2019-03-26 15:38:55 +01:00
Steffen Jaeckel
39ef9858a3 partially port over valgrind test logic from ltc
also try if the test failure has to do with travis_wait
2019-03-26 14:38:54 +01:00
Steffen Jaeckel
c1a335b7e5 increase timeout of test vs. mtest to 30mins as proposed by @czurnieden 2019-03-26 14:35:52 +01:00
Steffen Jaeckel
9ed679ea51 use appropriate bash exit code 2019-03-26 14:34:42 +01:00
Steffen Jaeckel
dd0181b7dc fix invocation of timeout in test vs. mtest 2019-03-26 14:34:42 +01:00
Steffen Jaeckel
a88edbddd3 use CC env var in testme.sh 2019-03-26 14:34:42 +01:00
czurnieden
db391b6e33 added valgrind tests to testme.sh and travis.yml 2019-03-26 14:34:42 +01:00
Steffen Jaeckel
267763d32a
Merge pull request #182 from libtom/get_bit_overflow_handling
bug-fix in bn_mp_get_bit.c: handle overflow correctly
2019-03-26 14:30:24 +01:00
nijtmans
59e832499c bug-fix in bn_mp_get_bit.c: handle overflow correctly 2019-03-26 14:29:51 +01:00
Steffen Jaeckel
98a7131055
Merge pull request #184 from libtom/explicit_type_cast
explicit type-cast
2019-03-26 14:29:17 +01:00
nijtmans
8ccfabf63f explicit type-cast 2019-03-26 14:28:46 +01:00
Steffen Jaeckel
810826d78d
Merge pull request #185 from libtom/leftover_digit_macro
leftover DIGIT() usage
2019-03-26 14:27:42 +01:00
nijtmans
d093324d52 leftover DIGIT() usage 2019-03-26 11:34:06 +01:00
Steffen Jaeckel
6b66e2cea8
Merge pull request #171 from fperrad/20190306_lint
test suite: some linting
2019-03-06 15:47:28 +01:00
Francois Perrad
036551277e parameter with name in prototype 2019-03-06 15:13:20 +01:00
Francois Perrad
15a1adc290 literal suffix 2019-03-06 15:13:18 +01:00
Steffen Jaeckel
e1bfee62c6
Merge pull request #166 from fperrad/20190228_coverity
explicit logical XOR
2019-03-05 08:29:29 +01:00
Francois Perrad
49105f8d8d explicit logical XOR
for coverity CID 332946, see #163
2019-03-05 02:58:07 +01:00
Steffen Jaeckel
fe4bdf1236
Merge pull request #169 from minad/split-test-suite
Split test suite
2019-03-04 23:27:44 +01:00
Daniel Mendler
00a1bcd657
demo: better ndraw 2019-03-04 02:00:28 +01:00
Daniel Mendler
1fc7d20dab
opponent/test.c: move ndraw to main.c 2019-03-04 01:56:06 +01:00
Daniel Mendler
12b41bbeb5
opponent.c: forgot missing printf("\n") from _cleanup. reason for test failures. 2019-03-04 01:42:05 +01:00
Daniel Mendler
03b319ca3e
opponent.c: get rid of global variables and remove cleanup 2019-03-04 01:11:54 +01:00
Daniel Mendler
3f42b6a799
test/opponent.c: add todo comments 2019-03-04 01:11:12 +01:00
Daniel Mendler
674fdddbfc
remove duplicate T(mp_tc_div_2d) 2019-03-04 01:10:20 +01:00
Daniel Mendler
cd1570bb88
split test suite 2019-03-04 01:02:22 +01:00
Steffen Jaeckel
19e225bfba
Merge pull request #165 from czurnieden/develop
offer alternative to arch
2019-03-03 11:47:58 +01:00