From: Niels Möller Date: Thu, 4 Mar 2021 08:41:17 +0000 (+0100) Subject: Merge branch 'arm64' X-Git-Tag: nettle_3.8_release_20220602~141 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe7ae87d1b837e82f7c7968b068bca7d853a4cec;p=thirdparty%2Fnettle.git Merge branch 'arm64' --- fe7ae87d1b837e82f7c7968b068bca7d853a4cec diff --cc ChangeLog index fd138d82,d9de9557..71cf6c96 --- a/ChangeLog +++ b/ChangeLog @@@ -1,73 -1,22 +1,96 @@@ ++2021-03-04 Niels Möller ++ ++ Merged initial arm64 code. ++ + 2021-02-03 Niels Möller + + * arm64/crypto/gcm-hash.asm: Renamed directory, moved file,... + * arm64/v8/gcm-hash.asm: ... old name. + + 2021-02-02 Niels Möller + + * arm64/v8/gcm-hash.asm: Add ".arch armv8-a+crypto" directive. + Supported by both GNU as and clang (the latter at least from + version 3.9.1). + * configure.ac: Don't add -march=armv8-a+crypto to CFLAGS. + + 2021-01-31 Niels Möller + + * arm64/v8/gcm-hash.asm: New file, contributed by Maamoun TK and + Michael Weiser. + * arm64/README: New file. Document endianness issues, contributed + by Michael Weiser. + +2021-02-17 Niels Möller + + * Released Nettle-3.7.1. + +2021-02-15 Niels Möller + + * examples/nettle-openssl.c (nettle_openssl_arcfour128): Deleted + glue to openssl arcfour. + (openssl_arcfour128_set_encrypt_key) + (openssl_arcfour128_set_decrypt_key): Deleted. + * nettle-internal.h: Deleted declaration. + * examples/nettle-benchmark.c (aeads): Delete benchmarking. + +2021-02-13 Niels Möller + + * configure.ac: Bump package version, to 3.7.1. + (LIBNETTLE_MINOR): Bump minor number, to 8.2. + (LIBHOGWEED_MINOR): Bump minor number, to 6.2. + +2021-02-10 Niels Möller + + * chacha-crypt.c (_nettle_chacha_crypt_4core): Fix for the case + that counter increment should be 3 (129 <= message length <= 192). + (_nettle_chacha_crypt32_4core): Likewise. + + * testsuite/chacha-test.c (test_chacha_rounds): New function, for + tests with non-standard round count. Extracted from _test_chacha. + (_test_chacha): Deleted rounds argument. Reorganized crypt/crypt32 + handling. When testing message prefixes of varying length, also + encrypt the remainder of the message, to catch errors in counter + value update. + (test_main): Add a few tests with large messages (16 blocks, 1024 + octets), to improve test coverage for _nettle_chacha_crypt_4core + and _nettle_chacha_crypt32_4core. + +2021-01-25 Niels Möller + + * arm/neon/salsa20-core-internal.asm: Deleted file. This ARM Neon + implementation reportedly gave a speedup of 45% on Cortex A9, + compared to the C implementation, when it was added back in 2013. + That appears to no longer be the case with more recent processors + and compilers. And it's even significantly slower than the C + implementation on some platforms, including the Raspberry Pi 4. + With the introduction of salsa20-2core.asm, performance of this + function is also less important. + * arm/neon/chacha-core-internal.asm: Deleted file, for analogous reasons. + * arm/fat/salsa20-core-internal-2.asm: Deleted file. + * arm/fat/chacha-core-internal-2.asm: Deleted file. + * fat-arm.c (_nettle_salsa20_core, _nettle_chacha_core): Delete fat setup. + +2021-01-31 Niels Möller + + New variants, contributed by Nicolas Mora. + * pbkdf2-hmac-sha384.c (pbkdf2_hmac_sha384): New file and function. + * pbkdf2-hmac-sha512.c (pbkdf2_hmac_sha512): New file and function. + * testsuite/pbkdf2-test.c (test_main): Corresponding tests. + +2021-01-20 Niels Möller + + * ecc-ecdsa-verify.c (ecc_ecdsa_verify): Fix corner case with + all-zero hash. Reported by Guido Vranken. + * testsuite/ecdsa-verify-test.c: Add corresponding test case. + +2021-01-10 Niels Möller + + * fat-ppc.c: Don't use __GLIBC_PREREQ in the same preprocessor + conditional as defined(__GLIBC_PREREQ), but move to a nested #if + conditional. Fixes compile error on OpenBSD/powerpc64, reported by + Jasper Lievisse Adriaanse. + 2021-01-04 Niels Möller * Released Nettle-3.7.