Mercurial > dropbear
comparison libtommath/changes.txt @ 1692:1051e4eea25a
Update LibTomMath to 1.2.0 (#84)
* update C files
* update other files
* update headers
* update makefiles
* remove mp_set/get_double()
* use ltm 1.2.0 API
* update ltm_desc
* use bundled tommath if system-tommath is too old
* XMALLOC etc. were changed to MP_MALLOC etc.
author | Steffen Jaeckel <s@jaeckel.eu> |
---|---|
date | Tue, 26 May 2020 17:36:47 +0200 |
parents | f52919ffd3b1 |
children |
comparison
equal
deleted
inserted
replaced
1691:2d3745d58843 | 1692:1051e4eea25a |
---|---|
1 XXX XXth, 2019 | |
2 v1.2.0 | |
3 -- A huge refactoring of the library happened - renaming, | |
4 deprecating and replacing existing functions by improved API's. | |
5 | |
6 All deprecated functions, macros and symbols are only marked as such | |
7 so this version is still API and ABI compatible to v1.x. | |
8 | |
9 -- Daniel Mendler was pushing for those changes and contributing a load of patches, | |
10 refactorings, code reviews and whatnotelse. | |
11 -- Christoph Zurnieden re-worked internals of the library, improved the performance, | |
12 did code reviews and wrote documentation. | |
13 -- Francois Perrad did some refactoring and took again care of linting the sources and | |
14 provided all fixes. | |
15 -- Jan Nijtmans, Karel Miko and Joachim Breitner contributed various patches. | |
16 | |
17 -- Private symbols can now be hidden for the shared library builds, disabled by default. | |
18 -- All API's follow a single code style, are prefixed the same etc. | |
19 -- Unified, safer and improved API's | |
20 -- Less magic numbers - return values (where appropriate) and most flags are now enums, | |
21 this was implemented in a backwards compatible way where return values were int. | |
22 -- API's with return values are now by default marked as "warn on unsused result", this | |
23 can be disabled if required (which will most likely hide bugs), c.f. MP_WUR in tommath.h | |
24 -- Provide a whole set of setters&getters for different primitive types (long, uint32_t, etc.) | |
25 -- All those primitive setters are now optimized. | |
26 -- It's possible to automatically tune the cutoff values for Karatsuba&Toom-Cook | |
27 -- The custom allocators which were formerly known as XMALLOC(), XFREE() etc. are now available | |
28 as MP_MALLOC(), MP_REALLOC(), MP_CALLOC() and MP_FREE(). MP_REALLOC() and MP_FREE() now also | |
29 provide the allocated size to ease the usage of simple allocators without tracking. | |
30 -- Building is now also possible with MSVC 2015, 2017 and 2019 (use makefile.msvc) | |
31 -- Added mp_decr() and mp_incr() | |
32 -- Added mp_log_u32() | |
33 -- Improved prime-checking | |
34 -- Improved Toom-Cook multiplication | |
35 -- Removed the LTM book (`make docs` now builds the user manual) | |
36 | |
37 | |
1 Jan 28th, 2019 | 38 Jan 28th, 2019 |
2 v1.1.0 | 39 v1.1.0 |
3 -- Christoph Zurnieden contributed FIPS 186.4 compliant | 40 -- Christoph Zurnieden contributed FIPS 186.4 compliant |
4 prime-checking (PR #113), several other fixes and a load of documentation | 41 prime-checking (PR #113), several other fixes and a load of documentation |
5 -- Daniel Mendler provided two's-complement functions (PR #124) | 42 -- Daniel Mendler provided two's-complement functions (PR #124) |