|
fd7cb14a
|
2019-05-21T18:17:29
|
|
Merge pull request #283 from czurnieden/callgraph_on_demand
remove callgraph.txt from repository
|
|
6e01c2b8
|
2019-05-21T17:38:51
|
|
remove callgraph.txt from repository
|
|
bdd3ee02
|
2019-05-21T18:11:39
|
|
Merge pull request #275 from libtom/hidden-symbols
introduce MP_PRIVATE to hide symbols
|
|
bd8f7e55
|
2019-05-20T06:57:20
|
|
introduce MP_PRIVATE to hide symbols (opt-in for now)
|
|
28290072
|
2019-05-21T18:05:56
|
|
Merge pull request #276 from libtom/fix-137
fix #137
|
|
a069512b
|
2019-05-20T07:49:34
|
|
fix #137
|
|
22768cf0
|
2019-05-21T18:04:47
|
|
Merge pull request #271 from libtom/private-headers
make tommath_class.h and tommath_superclass.h private
|
|
0dfa9da5
|
2019-05-19T12:53:49
|
|
make tommath_class.h and tommath_superclass.h private
These headers are used for configuration during build time.
Therefore they shouldn't be exposed as part of the public API.
|
|
7345a682
|
2019-05-21T16:27:11
|
|
Merge pull request #270 from libtom/macro-fixes
Macro fixes
|
|
87edbfe4
|
2019-05-19T20:43:42
|
|
ensure that bn_reverse is compiled in bn_deprecated.c
|
|
69f03b3a
|
2019-05-19T11:50:31
|
|
gitignore doc/pics/*.ps
|
|
6d84f15e
|
2019-05-19T10:58:04
|
|
remove comment in bn_deprecated
|
|
dac8275e
|
2019-05-19T10:55:27
|
|
fix mp_jacobi ifdef
|
|
6631d426
|
2019-05-19T10:05:15
|
|
remove __cplusplus stuff from tommath_private.h
tommath_private.h is an internal header which won't be included
by a C++ source file.
|
|
96b5552c
|
2019-05-21T15:57:38
|
|
Merge pull request #267 from libtom/private_mp_word
make mp_word private
|
|
0b840b78
|
2019-05-17T20:53:24
|
|
make mp_word private
mp_word is an internal type and it is problematic if it is exposed
in the public api. See for example #216 - MSVC does not support 128 bit
mp_words. But it is perfectly ok to use those internally in the library,
as long as the library is compiled with GCC.
|
|
e9c4590d
|
2019-05-21T15:23:31
|
|
Merge pull request #280 from czurnieden/toom_cook_2_3_tests
Tests for Karatsuba and Toom-Cook 3-way
|
|
03ca7bcd
|
2019-05-20T23:33:35
|
|
added tests for Karatsuba and Toom-Cook 3-way
|
|
75d3c57a
|
2019-05-21T15:20:46
|
|
Merge pull request #282 from libtom/restrict-v-algrind
Restrict running Valgrind
|
|
2555884f
|
2019-05-21T15:20:05
|
|
really last one - reorder once more
so all long-running jobs start in the beginning
[skip ci]
|
|
55ce3e35
|
2019-05-21T14:56:07
|
|
last last one - mtest with real rand on gcc, with prng on clang
|
|
f8ecaf05
|
2019-05-21T14:56:01
|
|
ok, a last one - reorder stuff ;-)
[skip ci]
|
|
c09efffb
|
2019-05-21T14:50:44
|
|
Run gcc 4.9 build on valgrind instead of sanitized clang build
|
|
77b42459
|
2019-05-21T14:44:08
|
|
ok, one more - disable gcc mtest-vs-test runs, only run clang tests
[skip ci]
|
|
e379c0f7
|
2019-05-21T14:26:14
|
|
COMPILE_DEBUG should not disable optimizations
If you additionally want to disable optimizations, define this IGNORE_SPEED macro.
|
|
f92d8f0a
|
2019-05-21T13:54:18
|
|
COMPILE_DEBUG=1 for the valgrind build
|
|
30361df5
|
2019-05-21T13:49:19
|
|
v-algrind and tune builds to the beginning
... as they take the longest time
|
|
5c7b9180
|
2019-05-21T13:43:06
|
|
run tuner only once during CI
|
|
01e93bb0
|
2019-05-21T13:25:24
|
|
fix tune for non-v-algrind travis builds
|
|
ce34b3ae
|
2019-05-21T11:30:33
|
|
Restrict running Valgrind
* Activate on the develop branch
* Activate on branches containing the word v-algrind (without hyphen)
* Activate if the commit message contains v-algrind (without hyphen)
* Run default build always with valgrind
|
|
e11f70f0
|
2019-05-21T12:08:43
|
|
Merge pull request #269 from libtom/fix-miller-rabin-trials
do 2 MR rounds for numbers >=2048bits
|
|
51cda5b8
|
2019-05-19T09:55:14
|
|
use correct amount of MR trials in tests
|
|
1cbfbe06
|
2019-05-18T12:22:47
|
|
do 2 MR rounds for numbers >=2048bits
|
|
d46cb169
|
2019-05-19T16:59:47
|
|
removed obsolete check
|
|
b31a1086
|
2019-05-21T09:46:05
|
|
Merge pull request #268 from libtom/improve-coverage
improve coverage
|
|
cb3ff8c2
|
2019-05-19T09:54:25
|
|
improve coverage
|
|
702ebdf7
|
2019-05-21T09:44:23
|
|
Merge pull request #274 from fperrad/20190519_refactor
some refactoring
|
|
be42ce20
|
2019-05-19T16:40:38
|
|
remove literal prefix
|
|
150c47cc
|
2019-05-19T16:36:53
|
|
refactor literal suffix with u lowercase
|
|
fd68b652
|
2019-05-19T15:32:46
|
|
refactor without err initialization
|
|
8b2daf78
|
2019-05-19T17:16:13
|
|
always use varname err with mp_err
|
|
c1f5b06d
|
2019-05-20T05:36:08
|
|
refactor with mp_init_multi
|
|
d185c1d7
|
2019-05-19T14:56:04
|
|
refactor without inner scope
|
|
97bc7ca0
|
2019-05-18T10:54:44
|
|
Merge pull request #260 from libtom/deprecations2
Various deprecations
|
|
f55f0a9e
|
2019-05-18T09:28:33
|
|
fix some usages of enum types
|
|
a8239c24
|
2019-05-13T11:32:42
|
|
deprecate mp_get_bit
The return type of mp_get_bit was imprecise (either mp_err or mp_bool),
therefore this function is deprecated in favor of s_mp_get_bit for now.
If we need s_mp_get_bit to be public, we should add it under a different
name. However since mp_set_bit is not available, I don't think there any
downstream users (ab)using mp_int as bitsets.
|
|
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
|
|
89bac3a7
|
2019-05-13T15:06:54
|
|
deprecate MP_RANGE
|
|
0b73dab6
|
2019-05-13T15:04:30
|
|
MP_FREE_DIGITS: add missing cast
|
|
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
|
|
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
|