diff options
author | Niels Möller <nisse@lysator.liu.se> | 2020-10-29 20:32:02 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2020-10-29 20:32:02 +0100 |
commit | c17a6a09e82df9640f596ff40ab13e4107c8e889 (patch) | |
tree | 000c07955913311cf5fec365c408d2596112a0ff /ChangeLog | |
parent | 4c8b0cdd97ffec3ae3f8d995afdfccbc261b3c79 (diff) | |
download | nettle-c17a6a09e82df9640f596ff40ab13e4107c8e889.tar.gz |
Simplify ecc_mod, and prepare for separate result argument.
* ecc-mod.c (ecc_mod): More unified handling of final carry
folding. Also eliminates a goto statement.
* testsuite/ecc-mod-test.c (test_fixed): Add another test case
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,5 +1,9 @@ 2020-10-29 Niels Möller <nisse@lysator.liu.se> + * ecc-mod.c (ecc_mod): More unified handling of final carry + folding. Also eliminates a goto statement. + * testsuite/ecc-mod-test.c (test_fixed): Add another test case + * blowfish.c (blowfish_set_key): Add casts to uint32_t. Avoids undefined behavior, since shifting an 8-bit value left by 24 bits overflows the range of signed int. Reported by Guido Vranken. |