Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| abdb0334 | 2019-09-25 00:29:19 | Refactored functions to read and write binaries and added "maxlen" | ||
| 8cf0d3db | 2019-09-07 12:28:26 | literal suffix | ||
| 625defdc | 2019-05-31 11:31:53 | fix gcc version check for deprecations | ||
| 8c1b296e | 2019-04-08 23:48:39 | add feature detection macro MP_HAS | ||
| 91b113cb | 2019-06-12 13:44:59 | Macro consistancy: Always use function-name as first parameter and type(s) last, as in SET macro's | ||
| 8cf43639 | 2019-06-06 23:14:15 | MP_SET_SIGNED: add utype parameter | ||
| 5302b907 | 2019-06-06 21:06:06 | use MP_SIZEOF_BITS | ||
| a3637457 | 2019-06-06 11:48:42 | change macros to contain types | ||
| 6c39b07b | 2019-06-06 11:44:02 | split up again into separate files | ||
| 4b475aca | 2019-05-26 09:29:58 | fixes for msvc | ||
| bcec605a | 2019-05-22 15: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) | ||
| c7a7bd47 | 2019-05-23 16:37:34 | MP_PREC is an internal macro, it should be defined in tommath_private.h | ||
| 3289c959 | 2019-05-20 10:41:06 | introduce various mp_set_sint/mp_set_uint functions with precise types | ||
| 18f6e464 | 2019-05-23 16:00:31 | add MP_STATIC_ASSERT | ||
| 330b980d | 2019-05-18 11:55:27 | literal char | ||
| 8d73e158 | 2019-05-18 12:37:54 | literal suffix | ||
| a4f9818b | 2019-05-18 12:36:45 | more cast | ||
| bd8f7e55 | 2019-05-20 06:57:20 | introduce MP_PRIVATE to hide symbols (opt-in for now) | ||
| 0dfa9da5 | 2019-05-19 12: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. | ||
| 6631d426 | 2019-05-19 10: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. | ||
| 0b840b78 | 2019-05-17 20: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. | ||
| a8239c24 | 2019-05-13 11: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-13 02:46:11 | deprecate mp_jacobi | ||
| 75e85a73 | 2019-05-13 11:18:34 | move mp_prime_random_ex to bn_deprecated.c | ||
| 668cda01 | 2019-05-13 19:18:09 | remove unnecessary duplication of multiplication | ||
| 334c32e0 | 2019-05-13 18:08:03 | fix signature | ||
| 0b73dab6 | 2019-05-13 15:04:30 | MP_FREE_DIGITS: add missing cast | ||
| 4534056c | 2019-05-13 00: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-13 17:51:07 | literal suffix | ||
| 3c5afa91 | 2019-05-13 17:34:12 | add missing parameter name in prototype | ||
| fa2d86af | 2019-05-13 03:27:02 | explicit operator precedence | ||
| 07aaa4c3 | 2019-05-13 03:48:20 | explicit condition | ||
| 783e3cdf | 2019-05-13 03:47:24 | format block macros | ||
| 2a2e2716 | 2019-05-12 11:33:17 | move jenkins prng to bn_s_mp_rand_jenkins.c | ||
| c8cc3657 | 2019-05-11 09:09:12 | mov s_mp_rand_source_platform to separate file | ||
| 7365442a | 2019-05-10 23: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 | ||
| 61d9e528 | 2019-05-11 10: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 | ||
| adf9605d | 2019-05-09 03:28:49 | add warn_unused_result, found one missing check! | ||
| cc703a84 | 2019-05-11 12:09:59 | add missing parameter name in prototype | ||
| 7d4e8363 | 2019-05-08 19:43:21 | refactor with new private macro MP_MAXFAST | ||
| 556219aa | 2019-05-09 22:07:13 | refactor with new private macro MP_SIZEOF_BITS CHAR_BIT is no longer directly used | ||
| 0669e92e | 2019-05-08 20: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. | ||
| 250751be | 2019-05-07 09:32:59 | tommath.h: do not expose stdlib.h | ||
| 818d8fb7 | 2019-05-03 17: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. | ||
| 90eccd57 | 2019-04-25 15:36:35 | prefix private macros by PRIVATE_ | ||
| 632601f4 | 2019-04-13 17:34:11 | MP_WARRAY is an internal macro | ||
| e45f75fd | 2019-04-13 08:46:57 | deprecate DIGIT_BIT, use MP_DIGIT_BIT | ||
| a8c76138 | 2019-04-12 21:15:56 | deprecate macros in tommath.h * move MP_DEPRECATED to tommath.h since we need it later * add MP_DEPRECATED_PRAGMA | ||
| fbfcb661 | 2019-04-12 14:56:29 | apply rename | ||
| 7469e852 | 2019-03-07 04:02:32 | add rename script | ||
| 87292ed1 | 2019-04-09 12:19:40 | move mp_balance_mul to tommath_private.h | ||
| df8fcb0e | 2019-04-09 11:18:23 | add MP_DEPRECATED macro | ||
| e09a5c99 | 2019-04-09 11:10:57 | remove s_mp_mul which is only used once | ||
| c4fb2241 | 2019-04-09 11:08:26 | rename macros in tommath_private to use MP_* prefix | ||
| 42193f89 | 2019-04-09 20:26:08 | explicit operator precedence | ||
| ff561404 | 2019-04-07 15:29:11 | shorter headers | ||
| 70a30ae7 | 2019-04-07 02:29:28 | remove footers | ||
| a3651cbd | 2019-04-04 12:43:08 | apply modifications to XCALLOC according to #192 | ||
| d01b5318 | 2019-04-04 12:25:34 | Revert "Merge pull request #188 from libtom/unused_xcalloc" This reverts commit 27417b85c72ee1417050e65507aab11ccf42e03a, reversing changes made to d449bd44c02e1308af7b4ae30310799d26d38496. | ||
| db9a47d5 | 2019-04-04 11: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. | ||
| 77143c33 | 2019-04-04 12:57:22 | remove mp_set_long specialization | ||
| 28e61778 | 2019-03-22 15: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. | ||
| 54d673f1 | 2019-03-28 17:00:50 | XCALLOC is not used anywhere anymore, so it can be removed | ||
| 9d63882d | 2019-03-26 18:42:18 | explicit condition | ||
| 6d633703 | 2019-03-26 18:51:35 | explicit operator precedence | ||
| 32099fde | 2019-03-23 02:38:01 | avoid ctype toupper - libc toupper is locale dependent - removes the dependency on ctype.h | ||
| 6dc8ae5b | 2019-03-26 11:30:21 | efficiency improvement in get/set routines | ||
| de19b264 | 2018-12-28 09:01:01 | introduce new private macros | ||
| 18355de6 | 2018-12-29 17:56:20 | Update file headers [skip ci] | ||
| bd4167e8 | 2018-05-03 03:44:47 | const mp_s_rmap | ||
| 9034e712 | 2018-05-02 21:43:17 | Do not use installed headers for building | ||
| f51249b6 | 2018-02-02 12:07:21 | clean-up file headers | ||
| f1d6c887 | 2017-10-15 19:58:35 | refactor cast | ||
| bdbed000 | 2017-10-15 19:57:12 | literal suffix | ||
| 0a7ecc3b | 2017-10-09 14:34:20 | add the inverse of mp_s_rmap | ||
| f674018a | 2017-09-20 16:59:43 | constify remaining functions | ||
| f89cda03 | 2017-08-30 19:15:27 | format with astyle (step 5) | ||
| 82a2d385 | 2017-08-30 05:56:38 | refactor indentation of preprocessor directives | ||
| 378be117 | 2017-08-28 21:40:10 | add missing space after comma | ||
| 6f212942 | 2017-08-28 16:27:26 | replace SVN tags | ||
| 2dad1298 | 2017-04-01 00:35:03 | only define MIN/MAX if they are not defined yet This closes #72 | ||
| 10cfb955 | 2015-11-12 22:43:38 | use same parameter name between prototype declaration and function definition | ||
| a0b8ce68 | 2015-11-13 17:47:30 | use unsigned literal | ||
| e6cfefc1 | 2015-11-19 21:53:32 | more private stuff | ||
| f771e317 | 2015-11-19 21:34:58 | move standard includes | ||
| 4e3f1344 | 2015-11-12 01:49:07 | provide tommath_private.h tommath.h contains declarations for the public part of the library. tommath_private.h contains the functions which are private to ltm and should not be exposed to the public. |