kc3-lang/libtommath/tommath.h

Branch :


Log

Author Commit Date CI Message
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.
e05215a8 2019-05-09 04:06:12 deprecate old macros, deprecate mp_rand_digit
9ddf1e58 2019-05-07 12: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
290c28c1 2019-05-07 09:49:26 deprecate PRIME_SIZE in favor of MP_PRIME_SIZE
44d03a6f 2019-05-07 09:45:38 deprecate LTM_PRIME_* macros in favor of MP_PRIME_*
e2ee39b5 2019-04-26 12:39:26 deprecate ltm_prime_callback
80f5fac5 2019-04-26 12:35:39 rename LTM_NO_FILE to MP_NO_FILE
0337d48b 2019-04-25 19:35:19 add MP_NULL_TERMINATED
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.