|
56e7a401
|
2019-05-13T02:46:11
|
|
deprecate mp_jacobi
|
|
75e85a73
|
2019-05-13T11:18:34
|
|
move mp_prime_random_ex to bn_deprecated.c
|
|
885e5e19
|
2019-05-13T11:14:57
|
|
move mp_rand_digit to bn_deprecated.c
|
|
b96d82df
|
2019-05-18T10:00:26
|
|
Merge pull request #264 from libtom/rand-test-bugfix
bugfix: don't revert to platform rand source, but to jenkins source!
|
|
198418ba
|
2019-05-14T20:39:33
|
|
bugfix: don't revert to platform rand source, but to jenkins source!
|
|
07b479a6
|
2019-05-18T09:59:27
|
|
Merge pull request #263 from fperrad/20190514_lint
more linting
|
|
91474f6e
|
2019-05-14T18:55:16
|
|
remove useless initialization
|
|
7395cc69
|
2019-05-14T18:49:27
|
|
final else after a chain of if/else if
|
|
62602414
|
2019-05-14T18:44:01
|
|
use anonymous struct
|
|
ea3afecc
|
2019-05-14T18:40:10
|
|
avoid shift
note: redmode becomes a good candidate for a new enum
|
|
4b334b4e
|
2019-05-14T09:27:10
|
|
Merge pull request #258 from libtom/more-explicit-types
Use enums/More explicit types
|
|
668cda01
|
2019-05-13T19:18:09
|
|
remove unnecessary duplication of multiplication
|
|
334c32e0
|
2019-05-13T18:08:03
|
|
fix signature
|
|
4534056c
|
2019-05-13T00:22:18
|
|
use enums mp_err, mp_ord, mp_bool, mp_sign
* MP_USE_ENUMS enables enums
* Wc++-compat catches some implicit conversions if MP_USE_ENUMS is defined
* 100% backwards compatible API/ABI if MP_USE_ENUMS is not defined
|
|
89bac3a7
|
2019-05-13T15:06:54
|
|
deprecate MP_RANGE
|
|
0b73dab6
|
2019-05-13T15:04:30
|
|
MP_FREE_DIGITS: add missing cast
|
|
38116079
|
2019-05-13T17:51:07
|
|
literal suffix
|
|
04cff089
|
2019-05-13T17:44:41
|
|
explicit operator precedence
|
|
2d508723
|
2019-05-13T17:36:12
|
|
const parameter
|
|
3c5afa91
|
2019-05-13T17:34:12
|
|
add missing parameter name in prototype
|
|
fa2d86af
|
2019-05-13T03:27:02
|
|
explicit operator precedence
|
|
07aaa4c3
|
2019-05-13T03:48:20
|
|
explicit condition
|
|
783e3cdf
|
2019-05-13T03:47:24
|
|
format block macros
|
|
6327a693
|
2019-05-13T10:22:08
|
|
Merge pull request #256 from libtom/rand-cleanup
Use Jenkins rand in test suite
|
|
f85bd31e
|
2019-05-12T17:06:40
|
|
fix undefined behavior in labs
|
|
16ff016e
|
2019-05-12T11:18:17
|
|
win32 rand - just leak the crypt handle
* it will be closed so or so atexit
* the user could request more random data in another atexit routine
leading to another atexit routine being registered
|
|
2a2e2716
|
2019-05-12T11:33:17
|
|
move jenkins prng to bn_s_mp_rand_jenkins.c
|
|
c8cc3657
|
2019-05-11T09:09:12
|
|
mov s_mp_rand_source_platform to separate file
|
|
8d71a9e3
|
2019-05-11T00:19:28
|
|
travis: add -fsanitize=undefined
|
|
625c2460
|
2019-05-12T23:45:23
|
|
Merge pull request #257 from libtom/use-fwrite
use fwrite instead of fputc
|
|
dd4863ab
|
2019-05-12T16:05:53
|
|
use fwrite instead of fputc
|
|
1c948193
|
2019-05-12T23:42:44
|
|
Merge pull request #253 from libtom/no_grow_in_set_int2
No grow in mp_set_int (2)
|
|
6fc673d6
|
2019-05-12T15:52:32
|
|
statically check MP_PREC >= MP_MIN_PREC
|
|
7365442a
|
2019-05-10T23:59:46
|
|
No grow necessary in mp_set_int* functions
* mp_set_int* always return MP_OKAY
* remove return checks for mp_set_int*
* introduce MP_MIN_PREC
|
|
235e831d
|
2019-05-12T11:52:48
|
|
Merge pull request #255 from libtom/hardening
hardening: add MP_ZERO_BUFFER, MP_ZERO_DIGITS
|
|
61d9e528
|
2019-05-11T10:22:20
|
|
hardening: add MP_ZERO_BUFFER, MP_ZERO_DIGITS
* (!) Always zero buffer before freeing if MP_NO_ZERO_ON_FREE is not defined
* Add MP_NO_ZERO_ON_FREE to disable hardening
* Add MP_ZERO_BUFFER, MP_ZERO_DIGITS, MP_FREE_BUFFFER, MP_FREE_DIGITS
* Never use MP_FREE directly, use MP_FREE_DIGITS or MP_FREE_BUFFER
* Add MP_USE_MEMSET to use memset instead of loop
* Disable astyle backups which are annonying in the times of git
|
|
55e312b1
|
2019-05-11T20:09:18
|
|
Merge pull request #244 from libtom/warn-unused-result
add warn_unused_result, found one missing check!
|
|
adf9605d
|
2019-05-09T03:28:49
|
|
add warn_unused_result, found one missing check!
|
|
5d8f04a9
|
2019-05-11T19:26:36
|
|
Merge pull request #241 from fperrad/20190508_lint
more linting
|
|
5e66cfc6
|
2019-05-08T09:02:52
|
|
remove useless cast
|
|
67756d7b
|
2019-05-08T18:20:35
|
|
explicit operator precedence
|
|
493c3c23
|
2019-05-08T18:19:44
|
|
use same paramater name as in prototype
|
|
cc703a84
|
2019-05-11T12:09:59
|
|
add missing parameter name in prototype
|
|
be7ee4d0
|
2019-05-11T16:11:26
|
|
Merge pull request #238 from fperrad/20190508_macros
new macros
|
|
7d4e8363
|
2019-05-08T19:43:21
|
|
refactor with new private macro MP_MAXFAST
|
|
556219aa
|
2019-05-09T22:07:13
|
|
refactor with new private macro MP_SIZEOF_BITS
CHAR_BIT is no longer directly used
|
|
17719ea6
|
2019-05-11T08:43:14
|
|
Merge pull request #249 from libtom/remove-artifacts
remove some historical artifacts
|
|
483f66c6
|
2019-05-09T14:11:46
|
|
remove some historical artifacts
* pretty.build: build system is already pretty baroque and we are
not using this anywhere in CI etc.
* rename.sh: only used for internal renaming. can be retrieved from
git history if needed again.
* tombc/grammer.txt: ?
|
|
0971e05c
|
2019-05-11T08:35:10
|
|
Merge pull request #242 from libtom/random-prime
deprecate mp_prime_random_ex in favor of mp_prime_rand
|
|
0669e92e
|
2019-05-08T20:18:53
|
|
deprecate mp_prime_random_ex in favor of mp_prime_rand
We can use the internal mp_rand generator now, since it generates
numbers which are safe for crypto purposes.
|
|
d4c5fbf5
|
2019-05-11T00:40:59
|
|
Merge pull request #245 from libtom/deprecations
deprecate old macros, deprecate mp_rand_digit
|
|
e05215a8
|
2019-05-09T04:06:12
|
|
deprecate old macros, deprecate mp_rand_digit
|
|
385d1a82
|
2019-05-09T14:44:19
|
|
Merge pull request #248 from libtom/test-mp_rand
Test mp_rand
|
|
1a12486d
|
2019-05-08T21:08:16
|
|
add mp_rand test
|
|
eedf1624
|
2019-03-07T15:01:45
|
|
allow filtering of tests executed
|
|
cc3be565
|
2019-05-09T09:31:49
|
|
Merge pull request #246 from libtom/error-string
add MP_ERR to mp_error_to_string
|
|
53c30fff
|
2019-05-09T04:16:24
|
|
add MP_ERR to mp_error_to_string
|
|
be11f12b
|
2019-05-08T17:16:12
|
|
Merge pull request #236 from libtom/custom-rand-source
support custom random data source via mp_rand_source
|
|
56fb5e4a
|
2019-05-08T15:17:37
|
|
mp_rand_source(NULL) sets to platform random source
|
|
9e28ef9f
|
2019-05-08T15:14:50
|
|
mp_rand: use #else after arcrandom
|
|
2a0021a4
|
2019-05-08T14:57:04
|
|
mp_rand: remove superflous mp_clamp
|
|
9ddf1e58
|
2019-05-07T12:26:46
|
|
support custom random data source via mp_rand_source
* deprecate MP_PRNG_ENABLE_LTM_RNG
* custom mp_rand_source is used always if set, which should be more aligned with user expectations
* use custom source in tune.c
* don't call random number generator once per digit, which is slow
|
|
f0f75186
|
2019-05-07T17:24:51
|
|
set std=c89
we cannot set it together with -Wsystem-headers since the system headers
are usually not c89 but c99
|
|
50fe11bf
|
2019-05-07T16:34:19
|
|
fix help-output of tune program
[skip ci]
|
|
f4d8b463
|
2019-05-07T16:33:44
|
|
Merge pull request #235 from libtom/tune-fixes
Tune fixes
|
|
e0e8c3d5
|
2019-05-07T12:35:55
|
|
just use one .gitignore for simplicity
|
|
e8ff3429
|
2019-05-07T11:55:43
|
|
cleanup make output
|
|
4f5334e4
|
2019-05-07T11:50:58
|
|
etc/tune.c: add missing break
|
|
6fb233c9
|
2019-05-07T11:50:18
|
|
gitignore dos2unix, ignore file from make tune
|
|
e9879726
|
2019-05-07T12:09:26
|
|
Merge pull request #234 from libtom/more-deprecations
More deprecations
|
|
fe9a8189
|
2019-05-07T10:56:13
|
|
sanitize comments in helper.pl
|
|
2ea04fb7
|
2019-05-07T10:42:26
|
|
dep.pl: strip comments
|
|
c7596983
|
2019-05-07T10:28:32
|
|
fix dep.pl - use lookahead to only generated dependencies for 'mp_*('
|
|
290c28c1
|
2019-05-07T09:49:26
|
|
deprecate PRIME_SIZE in favor of MP_PRIME_SIZE
|
|
44d03a6f
|
2019-05-07T09:45:38
|
|
deprecate LTM_PRIME_* macros in favor of MP_PRIME_*
|
|
e2ee39b5
|
2019-04-26T12:39:26
|
|
deprecate ltm_prime_callback
|
|
80f5fac5
|
2019-04-26T12:35:39
|
|
rename LTM_NO_FILE to MP_NO_FILE
|
|
0337d48b
|
2019-04-25T19:35:19
|
|
add MP_NULL_TERMINATED
|
|
250751be
|
2019-05-07T09:32:59
|
|
tommath.h: do not expose stdlib.h
|
|
79c87430
|
2019-05-07T09:10:37
|
|
Merge pull request #232 from czurnieden/autotune
Autotuning functionality for the Toom-Cook cut-offs
|
|
a7fcb6f5
|
2019-05-06T22:38:16
|
|
update etc/tune_it.sh after merging #231
|
|
db76bed2
|
2019-05-04T18:57:07
|
|
added autotuning functionality for the Toom-Cook cut-offs
|
|
9e1a75cf
|
2019-05-06T22:18:33
|
|
Merge pull request #231 from libtom/tune-via-D
Tunable cutoff parameters
|
|
818d8fb7
|
2019-05-03T17:39:10
|
|
Rework handling of tunable cutoffs
* In the default settings, a cutoff X can be modified at runtime
by adjusting the corresponding X_CUTOFF variable.
* Tunability of the library can be disabled at compile time
by defining the MP_FIXED_CUTOFFS macro.
* There is an additional file tommath_cutoffs.h, which defines
the default cutoffs. These can be adjusted manually or by the
autotuner.
|
|
91d953ed
|
2019-04-26T11:43:06
|
|
Merge pull request #226 from libtom/deprecate-macros2
Deprecate macros (2)
|
|
90eccd57
|
2019-04-25T15:36:35
|
|
prefix private macros by PRIVATE_
|
|
632601f4
|
2019-04-13T17:34:11
|
|
MP_WARRAY is an internal macro
|
|
e45f75fd
|
2019-04-13T08:46:57
|
|
deprecate DIGIT_BIT, use MP_DIGIT_BIT
|
|
a8c76138
|
2019-04-12T21:15:56
|
|
deprecate macros in tommath.h
* move MP_DEPRECATED to tommath.h since we need it later
* add MP_DEPRECATED_PRAGMA
|
|
a6b5da2f
|
2019-04-24T22:20:39
|
|
Merge pull request #225 from minad/travis/compiler-versions
Test against multiple specific clang/gcc versions
|
|
e8f56cc4
|
2019-04-05T11:37:49
|
|
enable -Wconversion and -Wsign-conversion on travis
* no changes to the library code
* conversion issues in the demo testsuite fixed
* add CONV_WARNINGS and enable the warnings only for clang-7 (for now)
* disable Wsystem-headers if Wconversion is enabled, to avoid warnings from the system headers
|
|
6d092b85
|
2019-04-19T19:01:38
|
|
travis: test various compiler options
|
|
cb34cc2b
|
2019-04-19T18:57:26
|
|
ignore emacs and vim files
|
|
6eae00c8
|
2019-04-18T09:23:43
|
|
Merge pull request #219 from czurnieden/bn_ilogb
Resolving problems mentioned in #218
|
|
8a886c82
|
2019-04-10T16:33:22
|
|
resolving #218
|
|
e9e2342b
|
2019-04-18T08:27:35
|
|
Merge pull request #218 from fperrad/20190410_lint
more linting
|
|
bdf93e83
|
2019-04-10T15:35:23
|
|
avoid else if
|
|
a13a7e7c
|
2019-04-10T15:46:59
|
|
missing cast
|
|
01de1fe1
|
2019-04-10T15:47:49
|
|
literal suffix
|
|
b586fcbd
|
2019-04-10T15:21:54
|
|
explicit condition
|