kc3-lang/libtommath/bn_mp_init_size.c

Branch :


Log

Author Commit Date CI Message
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
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
c4fb2241 2019-04-09 11:08:26 rename macros in tommath_private to use MP_* prefix
70a30ae7 2019-04-07 02:29:28 remove footers
ff561404 2019-04-07 15:29:11 shorter headers
d6c6f8c3 2019-04-04 12:38:36 use `calloc` so we don't have to zero the digits ourself this also has the nice side-effect that potential multiplication overflows in `mp_init_size` are now eliminiated
5da4e0ac 2019-04-04 23:06:00 remove unnecessary size_t casts, fix Wconversion/Wsign-conversion issues Wconversion and Wsign-conversion is still not activated by default, since there are many issues in demo.c.
cb1eb161 2019-04-04 07:58:07 run `make astyle` [skip ci]
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.
18355de6 2018-12-29 17:56:20 Update file headers [skip ci]