helper.pl

Branch


Log

Author Commit Date CI Message
Steffen Jaeckel a107eafd 2022-03-22T13:49:36 include all headers in sources.cmake Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
Steffen Jaeckel cb8f2128 2022-02-21T11:18:52 add SPDX identifiers Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
Steffen Jaeckel 7f9fbb64 2020-01-16T15:21:30 helper.pl: add support to update sources.cmake
Steffen Jaeckel 646523e6 2020-09-13T14:19:30 add cutoff's to exported symbols
czurnieden cecfd1f6 2019-11-27T20:55:22 changed generate_def to use the uncommited, raw file list
Daniel Mendler 91d88ce3 2019-11-05T20:35:19 fix generate_def, rename some internal files
Steffen Jaeckel 80176de3 2019-11-05T17:53:08 re-enable checks for memcpy&memset [skip ci]
Daniel Mendler 410bf493 2019-10-29T20:26:50 apply a series of simplifications * this is the final commit of a series of simplifications, containing only the regenerated files and the explanation in the commit message * This is in preparation of the size_t change/a potential representation change to use full width as in tfm, if a (partial?) merge with tfm is desired. These changes have their own merits however. * Remove obfuscating tmpx digit pointers (fewer variables, it is more obvious what is being manipulated) * Reduce scope of variables where possible * Stricter error handling/checking (for example handling in karatsuba was broken) * In some cases the result was written even in the case of an error (e.g. s_mp_is_divisible). This will hide bugs, since the user should check the return value (enforced by MP_WUR). Furthermore if the user accesses the non-initialized result, valgrind will complain for example. Global static analysis like coverity will also detect the issue. Therefore this improves the status quo. * Introduce generic, private MP_EXCH macro which can be used to swap values. * Introduce s_mp_copy_digs/s_mp_zero_digs/s_mp_zero_buf * Some control flow simplifications, e.g, loops instead of goto * Renamings of variables/labels for consistency * Renamings of mul/sqr functions for more consistency, e.g., comba instead of fast suffix * I didn't read through some very complex functions. They are so complex, I am too afraid and lazy to touch them. Maybe someone resposible wants to simplify them if possible. Hint... Hint... - mp_prime_strong_lucas_selfridge.c - s_mp_exptmod.c - s_mp_exptmod_fast.c
Steffen Jaeckel 9d954dc8 2019-10-27T16:19:02 also check doc when running `helper.pl -a`
Steffen Jaeckel 59ee1416 2019-10-27T15:48:38 fix `./helper.pl -d`
nijtmans 448d0080 2019-10-23T23:25:37 Fix commit in helper.pl
Steffen Jaeckel 7a68f128 2019-10-19T16:24:39 Execute move.sh - Rename files from bn_* to match the function names. * git blame <renamed-file> is not affected * git log --follow <renamed-file> can be used to show log across renames
nijtmans 700a79ea 2019-10-18T09:28:11 remove deprecated functions from tommath.def too
Daniel Mendler b4099e1e 2019-10-16T10:28:28 remove empty bn_deprecated.c file
Steffen Jaeckel 702e5391 2019-09-06T10:22:45 add function pointers to tommath_class.h
Steffen Jaeckel d1013c77 2019-06-07T08:33:23 fix generate_def()
Daniel Mendler f5b2106a 2019-06-07T00:18:51 helper.pl: don't use sed, support CC variable for preprocessing
Daniel Mendler 3ef6efd3 2019-06-06T23:01:51 sort tommath_class.h dependencies: this makes it easier to see changes
Daniel Mendler 7eb6f321 2019-06-06T22:48:12 helper.pl - do not use heredocs for single lines
Daniel Mendler e856b51b 2019-06-06T22:44:29 remove version_from_tomcrypt
Steffen Jaeckel 0d06d67e 2019-06-06T12:44:36 generate tommath_class from pre-processed code
Daniel Mendler f00cc99f 2019-06-06T18:15:19 replace generate_def.sh with perl function
Steffen Jaeckel 28dc77ae 2019-06-06T10:36:33 update tommath.def always when updating the makefiles
Daniel Mendler 4f26de17 2019-05-24T12:35:11 fix return value
Daniel Mendler 36b4411c 2019-05-24T12:26:50 remove indent global var
Daniel Mendler 26548f0f 2019-05-24T12:26:17 make helper-dep.pl part of helper.pl
Daniel Mendler 712919f3 2019-05-24T12:17:13 [WIP] start to make dep.pl part of helper.pl
Daniel Mendler 64be56e7 2019-05-24T12:40:17 remove global $deplist
Daniel Mendler dfcaf41f 2019-05-24T12:38:04 remove global %depmap
Daniel Mendler 25d663d0 2019-05-24T12:35:58 rename deplist to depmap
Daniel Mendler fe9a8189 2019-05-07T10:56:13 sanitize comments in helper.pl
Daniel Mendler ff561404 2019-04-07T15:29:11 shorter headers
Daniel Mendler 70a30ae7 2019-04-07T02:29:28 remove footers
Karel Miko 667ce28b 2018-12-08T19:35:28 add doc checking to helper.pl
Steffen Jaeckel 18355de6 2018-12-29T17:56:20 Update file headers [skip ci]
Karel Miko 0329e828 2018-12-02T18:28:59 drop broken (not working) makefile.cygwin_dll
Karel Miko 8e4edf76 2018-12-02T18:03:07 drop makefile.bcc+makefile.icc in favour of makefile.unix
Karel Miko 2c07579f 2018-12-02T14:59:05 add makefile.mingw
Karel Miko 934ee69b 2018-12-02T14:32:08 update MSVC project file libtommath_VS2008.vcproj
Karel Miko c852d5ab 2018-12-02T14:27:53 replace updatemakes.sh+filter.pl with updatemakes.sh+helper.pl