kc3-lang/libtommath/bn_mp_init_copy.c

Branch :


Log

Author Commit Date CI Message
8b2daf78 2019-05-19 17:16:13 always use varname err with mp_err
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
ff561404 2019-04-07 15:29:11 shorter headers
70a30ae7 2019-04-07 02:29:28 remove footers
18355de6 2018-12-29 17:56:20 Update file headers [skip ci]
9034e712 2018-05-02 21:43:17 Do not use installed headers for building
f51249b6 2018-02-02 12:07:21 clean-up file headers
41de5855 2017-09-19 13:35:15 Add 'const' keyword in various places. Adopted from Tcl
4439fae1 2017-08-30 19:11:35 format with astyle (step 3)
45771cc9 2017-08-30 19:07:12 format with astyle (step 1)
d263dc72 2017-08-29 18:50:19 add space after keyword
d6a9a58f 2017-08-30 20:08:58 remove space after function name and cast
6f212942 2017-08-28 16:27:26 replace SVN tags
5f8fb25f 2016-05-16 00:27:13 fix memory leak in mp_init_copy() This closes #59
4e3f1344 2015-11-12 01: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.
079b0f65 2015-10-30 17:55:29 Getting ready for v0.43.0 release Also updated my email address... Signed-off-by: Tom St Denis <tstdenis82@gmail.com>
76fe0008 2013-05-19 20:04:26 Update bn_mp_init_copy.c In mp_init_copy(), mp_init() is used to assign the memory with default block size, mp_copy() is used to grow the target mp_int size if it is required and copy the content. My suggestion is to use mp_init_size() instead of mp_init() inside the mp_init_copy to assign required memory depending on the source mp_int size and then use mp_copy to copy the content. This will avoid the subsequent mp_grow() inside the mp_copy(). The associated issue number is 11 in GitHub.
333aebc8 2007-04-18 09:58:18 added libtommath-0.41
f0b91a57 2006-04-06 19:49:59 added libtommath-0.39
9294e791 2005-08-01 16:37:28 added libtommath-0.36
e549ccfe 2004-10-29 22:07:18 added libtommath-0.32
455bb4db 2003-12-24 18:59:22 added libtommath-0.28
c1da6aa2 2003-08-05 01:24:44 added libtommath-0.25
82f48582 2003-03-13 02:11:11 added libtommath-0.14
b66471f7 2003-02-28 16:09:08 added libtommath-0.13
57354e11 2003-02-28 16:08:34 added libtommath-0.12