Mercurial > dropbear
comparison libtommath/changes.txt @ 1436:60fc6476e044
Update to libtommath v1.0
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 24 Jun 2017 22:37:14 +0800 |
parents | 5ff8218bcee9 |
children | 8bba51a55704 |
comparison
equal
deleted
inserted
replaced
1435:f849a5ca2efc | 1436:60fc6476e044 |
---|---|
1 Feb 5th, 2016 | |
2 v1.0 | |
3 -- Bump to 1.0 | |
4 -- Dirkjan Bussink provided a faster version of mp_expt_d() | |
5 -- Moritz Lenz contributed a fix to mp_mod() | |
6 and provided mp_get_long() and mp_set_long() | |
7 -- Fixed bugs in mp_read_radix(), mp_radix_size | |
8 Thanks to shameister, Gerhard R, | |
9 -- Christopher Brown provided mp_export() and mp_import() | |
10 -- Improvements in the code of mp_init_copy() | |
11 Thanks to ramkumarkoppu, | |
12 -- lomereiter provided mp_balance_mul() | |
13 -- Alexander Boström from the heimdal project contributed patches to | |
14 mp_prime_next_prime() and mp_invmod() and added a mp_isneg() macro | |
15 -- Fix build issues for Linux x32 ABI | |
16 -- Added mp_get_long_long() and mp_set_long_long() | |
17 -- Carlin provided a patch to use arc4random() instead of rand() | |
18 on platforms where it is supported | |
19 -- Karel Miko provided mp_sqrtmod_prime() | |
20 | |
21 | |
22 July 23rd, 2010 | |
23 v0.42.0 | |
24 -- Fix for mp_prime_next_prime() bug when checking generated prime | |
25 -- allow mp_shrink to shrink initialized, but empty MPI's | |
26 -- Added project and solution files for Visual Studio 2005 and Visual Studio 2008. | |
27 | |
28 March 10th, 2007 | |
29 v0.41 -- Wolfgang Ehrhardt suggested a quick fix to mp_div_d() which makes the detection of powers of two quicker. | |
30 -- [CRI] Added libtommath.dsp for Visual C++ users. | |
31 | |
1 December 24th, 2006 | 32 December 24th, 2006 |
2 v0.40 -- Updated makefile to properly support LIBNAME | 33 v0.40 -- Updated makefile to properly support LIBNAME |
3 -- Fixed bug in fast_s_mp_mul_high_digs() which overflowed (line 83), thanks Valgrind! | 34 -- Fixed bug in fast_s_mp_mul_high_digs() which overflowed (line 83), thanks Valgrind! |
4 | 35 |
5 April 4th, 2006 | 36 April 4th, 2006 |
10 -- updated email and url info in all source files | 41 -- updated email and url info in all source files |
11 | 42 |
12 Jan 26th, 2006 | 43 Jan 26th, 2006 |
13 v0.38 -- broken makefile.shared fixed | 44 v0.38 -- broken makefile.shared fixed |
14 -- removed some carry stores that were not required [updated text] | 45 -- removed some carry stores that were not required [updated text] |
15 | 46 |
16 November 18th, 2005 | 47 November 18th, 2005 |
17 v0.37 -- [Don Porter] reported on a TCL list [HEY SEND ME BUGREPORTS ALREADY!!!] that mp_add_d() would compute -0 with some inputs. Fixed. | 48 v0.37 -- [Don Porter] reported on a TCL list [HEY SEND ME BUGREPORTS ALREADY!!!] that mp_add_d() would compute -0 with some inputs. Fixed. |
18 -- [[email protected]] reported the makefile.bcc was messed up. Fixed. | 49 -- [[email protected]] reported the makefile.bcc was messed up. Fixed. |
19 -- [Kevin Kenny] reported some issues with mp_toradix_n(). Now it doesn't require a min of 3 chars of output. | 50 -- [Kevin Kenny] reported some issues with mp_toradix_n(). Now it doesn't require a min of 3 chars of output. |
20 -- Made the make command renamable. Wee | 51 -- Made the make command renamable. Wee |
21 | 52 |
22 August 1st, 2005 | 53 August 1st, 2005 |
23 v0.36 -- LTM_PRIME_2MSB_ON was fixed and the "OFF" flag was removed. | 54 v0.36 -- LTM_PRIME_2MSB_ON was fixed and the "OFF" flag was removed. |
24 -- [Peter LaDow] found a typo in the XREALLOC macro | 55 -- [Peter LaDow] found a typo in the XREALLOC macro |
25 -- [Peter LaDow] pointed out that mp_read_(un)signed_bin should have "const" on the input | 56 -- [Peter LaDow] pointed out that mp_read_(un)signed_bin should have "const" on the input |
26 -- Ported LTC patch to fix the prime_random_ex() function to get the bitsize correct [and the maskOR flags] | 57 -- Ported LTC patch to fix the prime_random_ex() function to get the bitsize correct [and the maskOR flags] |
27 -- Kevin Kenny pointed out a stray // | 58 -- Kevin Kenny pointed out a stray // |
28 -- David Hulton pointed out a typo in the textbook [mp_montgomery_setup() pseudo-code] | 59 -- David Hulton pointed out a typo in the textbook [mp_montgomery_setup() pseudo-code] |
29 -- Neal Hamilton (Elliptic Semiconductor) pointed out that my Karatsuba notation was backwards and that I could use | 60 -- Neal Hamilton (Elliptic Semiconductor) pointed out that my Karatsuba notation was backwards and that I could use |
30 unsigned operations in the routine. | 61 unsigned operations in the routine. |
31 -- Paul Schmidt pointed out a linking error in mp_exptmod() when BN_S_MP_EXPTMOD_C is undefined (and another for read_radix) | 62 -- Paul Schmidt pointed out a linking error in mp_exptmod() when BN_S_MP_EXPTMOD_C is undefined (and another for read_radix) |
32 -- Updated makefiles to be way more flexible | 63 -- Updated makefiles to be way more flexible |
33 | 64 |
34 March 12th, 2005 | 65 March 12th, 2005 |
35 v0.35 -- Stupid XOR function missing line again... oops. | 66 v0.35 -- Stupid XOR function missing line again... oops. |
36 -- Fixed bug in invmod not handling negative inputs correctly [Wolfgang Ehrhardt] | 67 -- Fixed bug in invmod not handling negative inputs correctly [Wolfgang Ehrhardt] |
37 -- Made exteuclid always give positive u3 output...[ Wolfgang Ehrhardt ] | 68 -- Made exteuclid always give positive u3 output...[ Wolfgang Ehrhardt ] |
38 -- [Wolfgang Ehrhardt] Suggested a fix for mp_reduce() which avoided underruns. ;-) | 69 -- [Wolfgang Ehrhardt] Suggested a fix for mp_reduce() which avoided underruns. ;-) |
39 -- mp_rand() would emit one too many digits and it was possible to get a 0 out of it ... oops | 70 -- mp_rand() would emit one too many digits and it was possible to get a 0 out of it ... oops |
40 -- Added montgomery to the testing to make sure it handles 1..10 digit moduli correctly | 71 -- Added montgomery to the testing to make sure it handles 1..10 digit moduli correctly |
41 -- Fixed bug in comba that would lead to possible erroneous outputs when "pa < digs" | 72 -- Fixed bug in comba that would lead to possible erroneous outputs when "pa < digs" |
42 -- Fixed bug in mp_toradix_size for "0" [Kevin Kenny] | 73 -- Fixed bug in mp_toradix_size for "0" [Kevin Kenny] |
43 -- Updated chapters 1-5 of the textbook ;-) It now talks about the new comba code! | 74 -- Updated chapters 1-5 of the textbook ;-) It now talks about the new comba code! |
44 | 75 |
45 February 12th, 2005 | 76 February 12th, 2005 |
46 v0.34 -- Fixed two more small errors in mp_prime_random_ex() | 77 v0.34 -- Fixed two more small errors in mp_prime_random_ex() |
47 -- Fixed overflow in mp_mul_d() [Kevin Kenny] | 78 -- Fixed overflow in mp_mul_d() [Kevin Kenny] |
48 -- Added mp_to_(un)signed_bin_n() functions which do bounds checking for ya [and report the size] | 79 -- Added mp_to_(un)signed_bin_n() functions which do bounds checking for ya [and report the size] |
49 -- Added "large" diminished radix support. Speeds up things like DSA where the moduli is of the form 2^k - P for some P < 2^(k/2) or so | 80 -- Added "large" diminished radix support. Speeds up things like DSA where the moduli is of the form 2^k - P for some P < 2^(k/2) or so |
50 Actually is faster than Montgomery on my AMD64 (and probably much faster on a P4) | 81 Actually is faster than Montgomery on my AMD64 (and probably much faster on a P4) |
51 -- Updated the manual a bit | 82 -- Updated the manual a bit |
52 -- Ok so I haven't done the textbook work yet... My current freelance gig has landed me in France till the | 83 -- Ok so I haven't done the textbook work yet... My current freelance gig has landed me in France till the |
53 end of Feb/05. Once I get back I'll have tons of free time and I plan to go to town on the book. | 84 end of Feb/05. Once I get back I'll have tons of free time and I plan to go to town on the book. |
54 As of this release the API will freeze. At least until the book catches up with all the changes. I welcome | 85 As of this release the API will freeze. At least until the book catches up with all the changes. I welcome |
55 bug reports but new algorithms will have to wait. | 86 bug reports but new algorithms will have to wait. |
56 | 87 |
57 December 23rd, 2004 | 88 December 23rd, 2004 |
64 -- Matt Johnston pointed out a missing semi-colon in mp_exptmod | 95 -- Matt Johnston pointed out a missing semi-colon in mp_exptmod |
65 | 96 |
66 October 29th, 2004 | 97 October 29th, 2004 |
67 v0.32 -- Added "makefile.shared" for shared object support | 98 v0.32 -- Added "makefile.shared" for shared object support |
68 -- Added more to the build options/configs in the manual | 99 -- Added more to the build options/configs in the manual |
69 -- Started the Depends framework, wrote dep.pl to scan deps and | 100 -- Started the Depends framework, wrote dep.pl to scan deps and |
70 produce "callgraph.txt" ;-) | 101 produce "callgraph.txt" ;-) |
71 -- Wrote SC_RSA_1 which will enable close to the minimum required to perform | 102 -- Wrote SC_RSA_1 which will enable close to the minimum required to perform |
72 RSA on 32-bit [or 64-bit] platforms with LibTomCrypt | 103 RSA on 32-bit [or 64-bit] platforms with LibTomCrypt |
73 -- Merged in the small/slower mp_div replacement. You can now toggle which | 104 -- Merged in the small/slower mp_div replacement. You can now toggle which |
74 you want to use as your mp_div() at build time. Saves roughly 8KB or so. | 105 you want to use as your mp_div() at build time. Saves roughly 8KB or so. |
75 -- Renamed a few files and changed some comments to make depends system work better. | 106 -- Renamed a few files and changed some comments to make depends system work better. |
76 (No changes to function names) | 107 (No changes to function names) |
77 -- Merged in new Combas that perform 2 reads per inner loop instead of the older | 108 -- Merged in new Combas that perform 2 reads per inner loop instead of the older |
78 3reads/2writes per inner loop of the old code. Really though if you want speed | 109 3reads/2writes per inner loop of the old code. Really though if you want speed |
79 learn to use TomsFastMath ;-) | 110 learn to use TomsFastMath ;-) |
80 | 111 |
81 August 9th, 2004 | 112 August 9th, 2004 |
82 v0.31 -- "profiled" builds now :-) new timings for Intel Northwoods | 113 v0.31 -- "profiled" builds now :-) new timings for Intel Northwoods |
101 I've cleaned them all up to be a little more consistent [along with one bug fix] for this release. | 132 I've cleaned them all up to be a little more consistent [along with one bug fix] for this release. |
102 -- Added mp_init_set and mp_init_set_int to initialize and set small constants with one function | 133 -- Added mp_init_set and mp_init_set_int to initialize and set small constants with one function |
103 call. | 134 call. |
104 -- Removed /etclib directory [um LibTomPoly deprecates this]. | 135 -- Removed /etclib directory [um LibTomPoly deprecates this]. |
105 -- Fixed mp_mod() so the sign of the result agrees with the sign of the modulus. | 136 -- Fixed mp_mod() so the sign of the result agrees with the sign of the modulus. |
106 ++ N.B. My semester is almost up so expect updates to the textbook to be posted to the libtomcrypt.org | 137 ++ N.B. My semester is almost up so expect updates to the textbook to be posted to the libtomcrypt.org |
107 website. | 138 website. |
108 | 139 |
109 Jan 25th, 2004 | 140 Jan 25th, 2004 |
110 v0.29 ++ Note: "Henrik" from the v0.28 changelog refers to Henrik Goldman ;-) | 141 v0.29 ++ Note: "Henrik" from the v0.28 changelog refers to Henrik Goldman ;-) |
111 -- Added fix to mp_shrink to prevent a realloc when used == 0 [e.g. realloc zero bytes???] | 142 -- Added fix to mp_shrink to prevent a realloc when used == 0 [e.g. realloc zero bytes???] |
112 -- Made the mp_prime_rabin_miller_trials() function internal table smaller and also | 143 -- Made the mp_prime_rabin_miller_trials() function internal table smaller and also |