Log

Author Commit Date CI Message
Daniel Mendler bcec605a 2019-05-22T15:34:49 deprecate mp_prime_is_divisible and ltm_prime_tab * it is an implementation detail used for prime testing * there is upcoming work by @czurnieden regarding a generalised prime sieve * furthermore remove jacobi test (replaced by kronecker)
Steffen Jaeckel 50f0bd75 2019-05-24T12:30:29 Merge pull request #290 from libtom/private-mp-prec MP_PREC is an internal macro, it should be defined in tommath_private.h
Daniel Mendler c7a7bd47 2019-05-23T16:37:34 MP_PREC is an internal macro, it should be defined in tommath_private.h
Steffen Jaeckel 3000eaa4 2019-05-24T12:26:25 Merge pull request #291 from libtom/simpler-mp-digit-bit disallow defining MP_DIGIT_BIT, only allow MP_8/16/31/32/64BIT
Daniel Mendler b0938d70 2019-05-24T11:48:27 remove obsolete comment
Daniel Mendler 9f607dd5 2019-05-23T17:00:47 disallow defining MP_DIGIT_BIT, only allow MP_8/16/31/32/64BIT
Steffen Jaeckel e82c42a8 2019-05-24T11:48:29 Merge pull request #273 from czurnieden/cleanup_prime_is_prime prime_is_prime: remove obsolete restriction on PRIME_SIZE
Christoph Zurnieden 47af7bf2 2019-05-19T17:12:18 remove no-deterministic M-R-only tests
Steffen Jaeckel 20ae9fba 2019-05-24T11:23:24 Merge pull request #285 from libtom/set-int3 introduce mp_set_sint and mp_set_uint functions with precise types
Daniel Mendler 0a9f5e9b 2019-05-24T10:21:54 use u32 i64 suffix
Daniel Mendler d7e1cb4a 2019-05-24T00:15:11 another proposal: use _ul and _l for the long macros
Daniel Mendler b58c9966 2019-05-23T23:39:47 use int32 and uint32 instead of sint and uint
Daniel Mendler d7959854 2019-05-23T11:12:30 improve comment in tommath.h, extend .gitignore
Daniel Mendler 3289c959 2019-05-20T10:41:06 introduce various mp_set_sint/mp_set_uint functions with precise types
Steffen Jaeckel 51512f99 2019-05-23T23:22:11 Merge pull request #289 from libtom/static-assert add MP_STATIC_ASSERT
Daniel Mendler 18f6e464 2019-05-23T16:00:31 add MP_STATIC_ASSERT
Steffen Jaeckel 07c18987 2019-05-22T11:53:57 Merge pull request #287 from fperrad/20190522_lint some linting
Francois Perrad 7fdd6b50 2019-05-22T10:33:12 literal suffix instead of cast
Francois Perrad 7ffc562d 2019-05-21T21:11:56 literal suffix
Francois Perrad 9a8b2ecb 2019-05-22T08:16:38 explicit operator precedence
Francois Perrad 991aea53 2019-05-22T08:23:37 explicit condition
Steffen Jaeckel e8ae3e83 2019-05-22T07:59:33 Merge pull request #265 from czurnieden/faster_toom_cook_three faster Toom-Cook 3 algorithms
czurnieden 228e487b 2019-05-16T23:51:02 faster Toom-Cook 3 algorithm
Steffen Jaeckel c99a88e7 2019-05-21T23:03:48 Merge pull request #266 from fperrad/20190517_lint more linting
Francois Perrad d3cbfd58 2019-05-19T11:16:54 remove useless semicolon
Francois Perrad 330b980d 2019-05-18T11:55:27 literal char
Francois Perrad 8d73e158 2019-05-18T12:37:54 literal suffix
Francois Perrad a4f9818b 2019-05-18T12:36:45 more cast
Francois Perrad 5f84f87f 2019-05-18T11:12:07 explicit operator precedence
Francois Perrad 3cf0c188 2019-05-17T18:46:47 const pointer
Steffen Jaeckel 3f2d891f 2019-05-21T18:52:31 Merge pull request #279 from libtom/deprecate-bitwise2 deprecate mp_tc_(and|or|xor) in favor of mp_(and|or|xor)
Daniel Mendler 1af0de1f 2019-05-20T19:11:25 deprecate mp_tc_(and|or|xor) in favor of mp_(and|or|xor) * same behavior for positive numbers * generalisation for negative numbers, treating them as two complement * improve algorithm, iterate once over the digits, manually perform two complement * simplify mp_add_d, mp_sub_d * functions are safe in case of a==c or b==c * renamed mp_tc_div_2d to mp_signed_rsh (signed right shift)
Steffen Jaeckel aeeea0d7 2019-05-21T18:24:44 Merge pull request #277 from libtom/fix-fread handle EOF condition in mp_fread, fix #163
Daniel Mendler 6552f55f 2019-05-20T08:38:25 handle EOF condition in mp_fread, fix #163
Steffen Jaeckel fd7cb14a 2019-05-21T18:17:29 Merge pull request #283 from czurnieden/callgraph_on_demand remove callgraph.txt from repository
czurnieden 6e01c2b8 2019-05-21T17:38:51 remove callgraph.txt from repository
Steffen Jaeckel bdd3ee02 2019-05-21T18:11:39 Merge pull request #275 from libtom/hidden-symbols introduce MP_PRIVATE to hide symbols
Daniel Mendler bd8f7e55 2019-05-20T06:57:20 introduce MP_PRIVATE to hide symbols (opt-in for now)
Steffen Jaeckel 28290072 2019-05-21T18:05:56 Merge pull request #276 from libtom/fix-137 fix #137
Daniel Mendler a069512b 2019-05-20T07:49:34 fix #137
Steffen Jaeckel 22768cf0 2019-05-21T18:04:47 Merge pull request #271 from libtom/private-headers make tommath_class.h and tommath_superclass.h private
Daniel Mendler 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.
Steffen Jaeckel 7345a682 2019-05-21T16:27:11 Merge pull request #270 from libtom/macro-fixes Macro fixes
Daniel Mendler 87edbfe4 2019-05-19T20:43:42 ensure that bn_reverse is compiled in bn_deprecated.c
Daniel Mendler 69f03b3a 2019-05-19T11:50:31 gitignore doc/pics/*.ps
Daniel Mendler 6d84f15e 2019-05-19T10:58:04 remove comment in bn_deprecated
Daniel Mendler dac8275e 2019-05-19T10:55:27 fix mp_jacobi ifdef
Daniel Mendler 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.
Steffen Jaeckel 96b5552c 2019-05-21T15:57:38 Merge pull request #267 from libtom/private_mp_word make mp_word private
Daniel Mendler 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.
Steffen Jaeckel 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
czurnieden 03ca7bcd 2019-05-20T23:33:35 added tests for Karatsuba and Toom-Cook 3-way
Steffen Jaeckel 75d3c57a 2019-05-21T15:20:46 Merge pull request #282 from libtom/restrict-v-algrind Restrict running Valgrind
Steffen Jaeckel 2555884f 2019-05-21T15:20:05 really last one - reorder once more so all long-running jobs start in the beginning [skip ci]
Daniel Mendler 55ce3e35 2019-05-21T14:56:07 last last one - mtest with real rand on gcc, with prng on clang
Steffen Jaeckel f8ecaf05 2019-05-21T14:56:01 ok, a last one - reorder stuff ;-) [skip ci]
Daniel Mendler c09efffb 2019-05-21T14:50:44 Run gcc 4.9 build on valgrind instead of sanitized clang build
Daniel Mendler 77b42459 2019-05-21T14:44:08 ok, one more - disable gcc mtest-vs-test runs, only run clang tests [skip ci]
Daniel Mendler e379c0f7 2019-05-21T14:26:14 COMPILE_DEBUG should not disable optimizations If you additionally want to disable optimizations, define this IGNORE_SPEED macro.
Daniel Mendler f92d8f0a 2019-05-21T13:54:18 COMPILE_DEBUG=1 for the valgrind build
Steffen Jaeckel 30361df5 2019-05-21T13:49:19 v-algrind and tune builds to the beginning ... as they take the longest time
Daniel Mendler 5c7b9180 2019-05-21T13:43:06 run tuner only once during CI
Steffen Jaeckel 01e93bb0 2019-05-21T13:25:24 fix tune for non-v-algrind travis builds
Daniel Mendler 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
Steffen Jaeckel e11f70f0 2019-05-21T12:08:43 Merge pull request #269 from libtom/fix-miller-rabin-trials do 2 MR rounds for numbers >=2048bits
Steffen Jaeckel 51cda5b8 2019-05-19T09:55:14 use correct amount of MR trials in tests
Steffen Jaeckel 1cbfbe06 2019-05-18T12:22:47 do 2 MR rounds for numbers >=2048bits
Christoph Zurnieden d46cb169 2019-05-19T16:59:47 removed obsolete check
Steffen Jaeckel b31a1086 2019-05-21T09:46:05 Merge pull request #268 from libtom/improve-coverage improve coverage
Steffen Jaeckel cb3ff8c2 2019-05-19T09:54:25 improve coverage
Steffen Jaeckel 702ebdf7 2019-05-21T09:44:23 Merge pull request #274 from fperrad/20190519_refactor some refactoring
Francois Perrad be42ce20 2019-05-19T16:40:38 remove literal prefix
Francois Perrad 150c47cc 2019-05-19T16:36:53 refactor literal suffix with u lowercase
Francois Perrad fd68b652 2019-05-19T15:32:46 refactor without err initialization
Francois Perrad 8b2daf78 2019-05-19T17:16:13 always use varname err with mp_err
Francois Perrad c1f5b06d 2019-05-20T05:36:08 refactor with mp_init_multi
Francois Perrad d185c1d7 2019-05-19T14:56:04 refactor without inner scope
Steffen Jaeckel 97bc7ca0 2019-05-18T10:54:44 Merge pull request #260 from libtom/deprecations2 Various deprecations
Daniel Mendler f55f0a9e 2019-05-18T09:28:33 fix some usages of enum types
Daniel Mendler 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.
Daniel Mendler 56e7a401 2019-05-13T02:46:11 deprecate mp_jacobi
Daniel Mendler 75e85a73 2019-05-13T11:18:34 move mp_prime_random_ex to bn_deprecated.c
Daniel Mendler 885e5e19 2019-05-13T11:14:57 move mp_rand_digit to bn_deprecated.c
Steffen Jaeckel 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!
Daniel Mendler 198418ba 2019-05-14T20:39:33 bugfix: don't revert to platform rand source, but to jenkins source!
Steffen Jaeckel 07b479a6 2019-05-18T09:59:27 Merge pull request #263 from fperrad/20190514_lint more linting
Francois Perrad 91474f6e 2019-05-14T18:55:16 remove useless initialization
Francois Perrad 7395cc69 2019-05-14T18:49:27 final else after a chain of if/else if
Francois Perrad 62602414 2019-05-14T18:44:01 use anonymous struct
Francois Perrad ea3afecc 2019-05-14T18:40:10 avoid shift note: redmode becomes a good candidate for a new enum
Steffen Jaeckel 4b334b4e 2019-05-14T09:27:10 Merge pull request #258 from libtom/more-explicit-types Use enums/More explicit types
Daniel Mendler 668cda01 2019-05-13T19:18:09 remove unnecessary duplication of multiplication
Daniel Mendler 334c32e0 2019-05-13T18:08:03 fix signature
Daniel Mendler 89bac3a7 2019-05-13T15:06:54 deprecate MP_RANGE
Daniel Mendler 0b73dab6 2019-05-13T15:04:30 MP_FREE_DIGITS: add missing cast
Daniel Mendler 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
Francois Perrad 38116079 2019-05-13T17:51:07 literal suffix
Francois Perrad 04cff089 2019-05-13T17:44:41 explicit operator precedence
Francois Perrad 2d508723 2019-05-13T17:36:12 const parameter
Francois Perrad 3c5afa91 2019-05-13T17:34:12 add missing parameter name in prototype