bn_mp_grow.c


Log

Author Commit Date CI Message
Daniel Mendler 4534056c 2019-05-13T00: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
Daniel Mendler 7365442a 2019-05-10T23: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
Daniel Mendler 61d9e528 2019-05-11T10: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
Daniel Mendler c4fb2241 2019-04-09T11:08:26 rename macros in tommath_private to use MP_* prefix
Daniel Mendler ff561404 2019-04-07T15:29:11 shorter headers
Daniel Mendler 70a30ae7 2019-04-07T02:29:28 remove footers
Steffen Jaeckel cf807537 2019-04-06T17:37:48 run `make astyle`
Daniel Mendler db9a47d5 2019-04-04T11:01:08 allocation functions: pass size to XREALLOC and XFREE This is similar to the signatures of the custom allocation functions provided by GMP. The allocation sizes are useful if the allocator has no easy way to access the allocation size.
Daniel Mendler 5da4e0ac 2019-04-04T23: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.
Steffen Jaeckel cb1eb161 2019-04-04T07:58:07 run `make astyle` [skip ci]
Daniel Mendler 28e61778 2019-03-22T15: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.
Steffen Jaeckel 18355de6 2018-12-29T17:56:20 Update file headers [skip ci]
czurnieden 9034e712 2018-05-02T21:43:17 Do not use installed headers for building
Steffen Jaeckel f51249b6 2018-02-02T12:07:21 clean-up file headers
Francois Perrad f1d6c887 2017-10-15T19:58:35 refactor cast
Francois Perrad 9eed07f0 2017-08-29T22:23:48 format with astyle (step 2)
Francois Perrad 45771cc9 2017-08-30T19:07:12 format with astyle (step 1)
Francois Perrad d6a9a58f 2017-08-30T20:08:58 remove space after function name and cast
Steffen Jaeckel 6f212942 2017-08-28T16:27:26 replace SVN tags
Steffen Jaeckel 4e3f1344 2015-11-12T01:49:07 provide tommath_private.h tommath.h contains declarations for the public part of the library. tommath_private.h contains the functions which are private to ltm and should not be exposed to the public.
Tom St Denis 079b0f65 2015-10-30T17:55:29 Getting ready for v0.43.0 release Also updated my email address... Signed-off-by: Tom St Denis <tstdenis82@gmail.com>
Tom St Denis 333aebc8 2007-04-18T09:58:18 added libtommath-0.41
Tom St Denis f0b91a57 2006-04-06T19:49:59 added libtommath-0.39
Tom St Denis 9294e791 2005-08-01T16:37:28 added libtommath-0.36
Tom St Denis e549ccfe 2004-10-29T22:07:18 added libtommath-0.32
Tom St Denis 350578d4 2004-04-11T20:46:22 added libtommath-0.30
Tom St Denis 455bb4db 2003-12-24T18:59:22 added libtommath-0.28
Tom St Denis c343371b 2003-09-19T22:43:07 added libtommath-0.27
Tom St Denis c1da6aa2 2003-08-05T01:24:44 added libtommath-0.25
Tom St Denis fd181cc8 2003-05-17T12:33:54 added libtommath-0.17
Tom St Denis 14161e84 2003-03-29T18:16:01 added libtommath-0.16
Tom St Denis b1756f2f 2003-03-22T15:10:20 added libtommath-0.15
Tom St Denis 82f48582 2003-03-13T02:11:11 added libtommath-0.14
Tom St Denis b66471f7 2003-02-28T16:09:08 added libtommath-0.13
Tom St Denis 57354e11 2003-02-28T16:08:34 added libtommath-0.12