|
5968263b
|
2019-04-10T14:49:59
|
|
Rename bn_error.c to bn_mp_error_to_string.c
|
|
d999fed6
|
2019-04-10T08:04:55
|
|
Merge pull request #191 from czurnieden/bn_ilogb
New function: ilogb, integer logarithm to integer base
|
|
35311aea
|
2019-04-03T23:50:57
|
|
added function mp_ilogb
|
|
96ece822
|
2019-04-09T21:47:13
|
|
Merge pull request #215 from fperrad/20190409_lint
some linting
|
|
42193f89
|
2019-04-09T20:26:08
|
|
explicit operator precedence
|
|
cb8c00d8
|
2019-04-08T05:35:48
|
|
remove useless initialization
|
|
fb3eec20
|
2019-04-04T19:11:35
|
|
final else after a chain of if/else if
|
|
382a561c
|
2019-04-04T19:07:24
|
|
literal suffix
|
|
2033fb91
|
2019-04-07T23:39:31
|
|
Merge pull request #206 from czurnieden/bn_mul_balance
Multiplication balancing for the Toom-Cook algorithms
|
|
27ca25cb
|
2019-04-06T18:55:43
|
|
added multiplcation balancing for the Toom-Cook algorithms
|
|
7f42ce09
|
2019-04-07T21:30:51
|
|
Merge pull request #211 from libtom/remove-footers
remove footers & headers
|
|
ff561404
|
2019-04-07T15:29:11
|
|
shorter headers
|
|
70a30ae7
|
2019-04-07T02:29:28
|
|
remove footers
|
|
4f8c3532
|
2019-04-07T14:48:43
|
|
Merge pull request #209 from libtom/reintroduce-realloc
Reintroduce calloc
|
|
d6c6f8c3
|
2019-04-04T12:38:36
|
|
use `calloc` so we don't have to zero the digits ourself
this also has the nice side-effect that potential multiplication
overflows in `mp_init_size` are now eliminiated
|
|
d01b5318
|
2019-04-04T12:25:34
|
|
Revert "Merge pull request #188 from libtom/unused_xcalloc"
This reverts commit 27417b85c72ee1417050e65507aab11ccf42e03a, reversing
changes made to d449bd44c02e1308af7b4ae30310799d26d38496.
|
|
a3651cbd
|
2019-04-04T12:43:08
|
|
apply modifications to XCALLOC according to #192
|
|
ec4149d0
|
2019-04-06T23:40:47
|
|
Merge pull request #189 from czurnieden/bugfix-n-root
changed seed to make nth-root usable
|
|
8312296b
|
2019-04-06T19:38:23
|
|
workaround for bug in helper.pl
|
|
984d3ff6
|
2019-04-01T03:41:26
|
|
changed seed to make nth-root usable
|
|
432f995f
|
2019-04-06T18:55:25
|
|
Merge pull request #205 from libtom/travis_check_sources
Add travis build-job that checks the source-code format
|
|
c4bb3c1b
|
2019-04-06T17:59:49
|
|
let's see if the xenial version of astyle is better
|
|
6dc923ef
|
2019-04-06T17:45:05
|
|
clean-up `make astyle` output
|
|
6f5df266
|
2019-04-06T17:40:46
|
|
fix file headers & footers
|
|
58e9084e
|
2019-04-06T17:38:41
|
|
run `make new_file`
|
|
cf807537
|
2019-04-06T17:37:48
|
|
run `make astyle`
|
|
179daef1
|
2019-04-06T17:37:33
|
|
add travis-build to check source-code format
|
|
9e8b71e3
|
2019-04-05T11:43:36
|
|
remove travis build of clang + x32
as clang has no x32 support at all there's no need to test it
[skip ci]
|
|
05137105
|
2019-04-05T11:43:22
|
|
Merge pull request #192 from libtom/alloc-sizes
allocation functions: pass size to XREALLOC and XFREE
|
|
db9a47d5
|
2019-04-04T11:01:08
|
|
allocation functions: pass size to XREALLOC and XFREE
This is similar to the signatures of the custom allocation functions provided by GMP.
The allocation sizes are useful if the allocator has no easy way to access the allocation size.
|
|
32b3351d
|
2019-04-05T10:54:06
|
|
Merge pull request #200 from libtom/cast-cleanup
remove unnecessary size_t casts, fix Wconversion/Wsign-conversion issues
|
|
5da4e0ac
|
2019-04-04T23:06:00
|
|
remove unnecessary size_t casts, fix Wconversion/Wsign-conversion issues
Wconversion and Wsign-conversion is still not activated by default,
since there are many issues in demo.c.
|
|
c1131186
|
2019-04-05T10:49:28
|
|
Merge pull request #199 from libtom/remove-set-long-specialization
remove mp_set_long specialization
|
|
77143c33
|
2019-04-04T12:57:22
|
|
remove mp_set_long specialization
|
|
d256648e
|
2019-04-04T13:32:14
|
|
Merge pull request #193 from czurnieden/develop
removed tracing
|
|
0ed98cf1
|
2019-04-04T12:55:39
|
|
removed tracing
|
|
e6902c4a
|
2019-04-04T11:46:02
|
|
Merge pull request #190 from czurnieden/bn_incr
additional functions mp_incr and mp_decr
|
|
62ca5158
|
2019-04-03T21:22:51
|
|
corrected C&P induced problem
|
|
1af68f47
|
2019-04-03T21:14:03
|
|
soothe compiler
|
|
769218cc
|
2019-04-03T18:59:09
|
|
additional functions mp_incr and mp_decr
|
|
cb1eb161
|
2019-04-04T07:58:07
|
|
run `make astyle`
[skip ci]
|
|
646ac880
|
2019-04-04T07:55:02
|
|
update callgraph and tommath_class
|
|
42b16092
|
2019-04-04T07:54:00
|
|
how to create a minimized callgraph
|
|
708a8bfd
|
2019-03-29T10:40:58
|
|
Merge pull request #178 from libtom/add-missing-const
add missing const to cast
|
|
fce2966e
|
2019-03-22T15:34:59
|
|
add missing const to cast
|
|
12f0abbe
|
2019-03-29T10:39:24
|
|
Merge pull request #177 from libtom/remove-opt-cast
remove OPT_CAST
|
|
28e61778
|
2019-03-22T15:26:59
|
|
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.
|
|
27417b85
|
2019-03-29T08:59:25
|
|
Merge pull request #188 from libtom/unused_xcalloc
XCALLOC is not used anywhere anymore, so it can be removed
|
|
54d673f1
|
2019-03-28T17:00:50
|
|
XCALLOC is not used anywhere anymore, so it can be removed
|
|
d449bd44
|
2019-03-29T08:58:28
|
|
Merge pull request #187 from libtom/unused_mp_min_u32
mp_min_u32 is not used anywhere anymore, so it can be removed
|
|
a3076677
|
2019-03-28T16:18:41
|
|
previous commit removed a little bit too much
|
|
ef07da5b
|
2019-03-28T16:13:37
|
|
mp_min_u32 is not used anywhere anymore, so it can be removed
|
|
05399033
|
2019-03-26T22:01:36
|
|
Merge pull request #186 from fperrad/20190326_lint
some linting
|
|
9d63882d
|
2019-03-26T18:42:18
|
|
explicit condition
|
|
6d633703
|
2019-03-26T18:51:35
|
|
explicit operator precedence
|
|
38410620
|
2019-03-26T17:47:34
|
|
Merge pull request #176 from libtom/do-not-include-stdio
do not include stdio.h if LTM_NO_FILE is defined
|
|
8eb3bb28
|
2019-03-22T15:02:29
|
|
do not include stdio.h if LTM_NO_FILE is defined
stdio.h might not be available on constraint environments
|
|
255271ed
|
2019-03-26T17:46:36
|
|
Merge pull request #179 from libtom/avoid-ctype
avoid ctype toupper
|
|
32099fde
|
2019-03-23T02:38:01
|
|
avoid ctype toupper
- libc toupper is locale dependent
- removes the dependency on ctype.h
|
|
f3ff7064
|
2019-03-26T17:44:05
|
|
Merge pull request #180 from czurnieden/isprimeerror
Fixed bug in mp_prime_isprime
|
|
6608eea9
|
2019-03-23T19:45:32
|
|
bugfix in final fips loop II: alternative version
|
|
7ecd1ad4
|
2019-03-23T18:50:14
|
|
bugfix in final fips loop II
|
|
9771308d
|
2019-03-23T18:36:47
|
|
bugfix in final fips loop
|
|
b587c954
|
2019-03-26T15:40:38
|
|
Merge pull request #183 from libtom/get_set_efficiency
efficiency improvement in get/set routines
|
|
6dc8ae5b
|
2019-03-26T11:30:21
|
|
efficiency improvement in get/set routines
|
|
0f1abbd1
|
2019-03-26T15:38:55
|
|
Merge pull request #175 from czurnieden/develop
Added valgrind tests to testme.sh and travis.yml
|
|
39ef9858
|
2019-03-26T14:38:54
|
|
partially port over valgrind test logic from ltc
also try if the test failure has to do with travis_wait
|
|
c1a335b7
|
2019-03-26T10:27:40
|
|
increase timeout of test vs. mtest to 30mins as proposed by @czurnieden
|
|
9ed679ea
|
2019-03-24T23:31:56
|
|
use appropriate bash exit code
|
|
dd0181b7
|
2019-03-24T23:19:17
|
|
fix invocation of `timeout` in test vs. mtest
|
|
a88edbdd
|
2019-03-24T18:37:03
|
|
use CC env var in testme.sh
|
|
db391b6e
|
2019-03-11T03:12:02
|
|
added valgrind tests to testme.sh and travis.yml
|
|
267763d3
|
2019-03-26T14:30:24
|
|
Merge pull request #182 from libtom/get_bit_overflow_handling
bug-fix in bn_mp_get_bit.c: handle overflow correctly
|
|
59e83249
|
2019-03-26T11:20:31
|
|
bug-fix in bn_mp_get_bit.c: handle overflow correctly
|
|
98a71310
|
2019-03-26T14:29:17
|
|
Merge pull request #184 from libtom/explicit_type_cast
explicit type-cast
|
|
8ccfabf6
|
2019-03-26T11:32:33
|
|
explicit type-cast
|
|
810826d7
|
2019-03-26T14:27:42
|
|
Merge pull request #185 from libtom/leftover_digit_macro
leftover DIGIT() usage
|
|
d093324d
|
2019-03-26T11:34:06
|
|
leftover DIGIT() usage
|
|
6b66e2ce
|
2019-03-06T15:47:28
|
|
Merge pull request #171 from fperrad/20190306_lint
test suite: some linting
|
|
03655127
|
2019-03-06T15:09:32
|
|
parameter with name in prototype
|
|
15a1adc2
|
2019-03-06T15:08:48
|
|
literal suffix
|
|
e1bfee62
|
2019-03-05T08:29:29
|
|
Merge pull request #166 from fperrad/20190228_coverity
explicit logical XOR
|
|
49105f8d
|
2019-02-28T11:43:41
|
|
explicit logical XOR
for coverity CID 332946, see #163
|
|
fe4bdf12
|
2019-03-04T23:27:44
|
|
Merge pull request #169 from minad/split-test-suite
Split test suite
|
|
00a1bcd6
|
2019-03-04T02:00:28
|
|
demo: better ndraw
|
|
1fc7d20d
|
2019-03-04T01:56:06
|
|
opponent/test.c: move ndraw to main.c
|
|
12b41bbe
|
2019-03-04T01:42:05
|
|
opponent.c: forgot missing printf("\n") from _cleanup. reason for test failures.
|
|
03b319ca
|
2019-03-03T23:19:52
|
|
opponent.c: get rid of global variables and remove cleanup
|
|
3f42b6a7
|
2019-03-03T23:24:15
|
|
test/opponent.c: add todo comments
|
|
674fdddb
|
2019-03-03T23:16:09
|
|
remove duplicate T(mp_tc_div_2d)
|
|
cd1570bb
|
2019-03-04T01:02:22
|
|
split test suite
|
|
19e225bf
|
2019-03-03T11:47:58
|
|
Merge pull request #165 from czurnieden/develop
offer alternative to arch
|
|
4e138a0e
|
2019-03-01T13:24:49
|
|
added building with ICC
|
|
ca78050c
|
2019-03-01T02:44:58
|
|
added building howto for NetBSD
|
|
5557301e
|
2019-03-01T02:40:54
|
|
added building howto for NetBSD
|
|
346e86ed
|
2019-02-28T21:43:37
|
|
added building howto for OpenBSD
|
|
13bc0b55
|
2019-02-28T11:28:07
|
|
removed 'arch' command completely
|
|
ec795623
|
2019-02-27T15:47:28
|
|
offer alternative to arch
|
|
9faf3055
|
2019-02-17T14:20:43
|
|
Merge pull request #162 from czurnieden/develop
corrected documentation of mp_complement
|
|
e88693f7
|
2019-02-17T13:12:07
|
|
fix index
|