|
80176de3
|
2019-11-05T17:53:08
|
|
re-enable checks for memcpy&memset
[skip ci]
|
|
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
|
|
9d954dc8
|
2019-10-27T16:19:02
|
|
also check doc when running `helper.pl -a`
|
|
59ee1416
|
2019-10-27T15:48:38
|
|
fix `./helper.pl -d`
|
|
448d0080
|
2019-10-23T23:25:37
|
|
Fix commit in helper.pl
|
|
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
|
|
700a79ea
|
2019-10-18T09:28:11
|
|
remove deprecated functions from tommath.def too
|
|
b4099e1e
|
2019-10-16T10:28:28
|
|
remove empty bn_deprecated.c file
|
|
702e5391
|
2019-09-06T10:22:45
|
|
add function pointers to tommath_class.h
|
|
d1013c77
|
2019-06-07T08:33:23
|
|
fix generate_def()
|
|
f5b2106a
|
2019-06-07T00:18:51
|
|
helper.pl: don't use sed, support CC variable for preprocessing
|
|
3ef6efd3
|
2019-06-06T23:01:51
|
|
sort tommath_class.h dependencies: this makes it easier to see changes
|
|
7eb6f321
|
2019-06-06T22:48:12
|
|
helper.pl - do not use heredocs for single lines
|
|
e856b51b
|
2019-06-06T22:44:29
|
|
remove version_from_tomcrypt
|
|
0d06d67e
|
2019-06-06T12:44:36
|
|
generate tommath_class from pre-processed code
|
|
f00cc99f
|
2019-06-06T18:15:19
|
|
replace generate_def.sh with perl function
|
|
28dc77ae
|
2019-06-06T10:36:33
|
|
update tommath.def always when updating the makefiles
|
|
64be56e7
|
2019-05-24T12:40:17
|
|
remove global $deplist
|
|
dfcaf41f
|
2019-05-24T12:38:04
|
|
remove global %depmap
|
|
25d663d0
|
2019-05-24T12:35:58
|
|
rename deplist to depmap
|
|
4f26de17
|
2019-05-24T12:35:11
|
|
fix return value
|
|
36b4411c
|
2019-05-24T12:26:50
|
|
remove indent global var
|
|
26548f0f
|
2019-05-24T12:26:17
|
|
make helper-dep.pl part of helper.pl
|
|
712919f3
|
2019-05-24T12:17:13
|
|
[WIP] start to make dep.pl part of helper.pl
|
|
fe9a8189
|
2019-05-07T10:56:13
|
|
sanitize comments in helper.pl
|
|
ff561404
|
2019-04-07T15:29:11
|
|
shorter headers
|
|
70a30ae7
|
2019-04-07T02:29:28
|
|
remove footers
|
|
667ce28b
|
2018-12-08T19:35:28
|
|
add doc checking to helper.pl
|
|
18355de6
|
2018-12-29T17:56:20
|
|
Update file headers
[skip ci]
|
|
0329e828
|
2018-12-02T18:28:59
|
|
drop broken (not working) makefile.cygwin_dll
|
|
8e4edf76
|
2018-12-02T18:03:07
|
|
drop makefile.bcc+makefile.icc in favour of makefile.unix
|
|
2c07579f
|
2018-12-02T14:59:05
|
|
add makefile.mingw
|
|
934ee69b
|
2018-12-02T14:32:08
|
|
update MSVC project file libtommath_VS2008.vcproj
|
|
c852d5ab
|
2018-12-02T14:27:53
|
|
replace updatemakes.sh+filter.pl with updatemakes.sh+helper.pl
|