kc3-lang/libtommath/tommath_private.h

Branch :


Log

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