kc3-lang/libtommath/tommath_private.h

Branch :


Log

Author Commit Date CI Message
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_