kc3-lang/libtommath/bn_mp_prime_rand.c

Branch :


Log

Author Commit Date CI Message
abdb0334 2019-09-25 00:29:19 Refactored functions to read and write binaries and added "maxlen"
e7f34c69 2019-05-23 17:50:58 literal suffix
75e85a73 2019-05-13 11:18:34 move mp_prime_random_ex to bn_deprecated.c
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
c8cc3657 2019-05-11 09:09:12 mov s_mp_rand_source_platform to separate file
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
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.