]> git.ipfire.org Git - thirdparty/nettle.git/log
thirdparty/nettle.git
4 years agoUpdate Nettle-3.7.3 NEWS. 17/merge 19/merge 6/merge 7/merge 8/merge
Niels Möller [Tue, 8 Jun 2021 19:34:08 +0000 (21:34 +0200)] 
Update Nettle-3.7.3 NEWS.

(cherry picked from commit 52bacacaf4339fd78289f58919732f1f35bea1c1)

4 years agoAdd input check to rsa_decrypt family of functions.
Niels Möller [Tue, 8 Jun 2021 19:32:38 +0000 (21:32 +0200)] 
Add input check to rsa_decrypt family of functions.

(cherry picked from commit 0ad0b5df315665250dfdaa4a1e087f4799edaefe)

4 years agoChange _rsa_sec_compute_root_tr to take a fix input size.
Niels Möller [Tue, 8 Jun 2021 19:31:39 +0000 (21:31 +0200)] 
Change _rsa_sec_compute_root_tr to take a fix input size.

Improves consistency with _rsa_sec_compute_root, and fixes zero-input bug.

(cherry picked from commit 485b5e2820a057e873b1ba812fdb39cae4adf98c)

4 years agoFix comment typos.
Niels Möller [Tue, 8 Jun 2021 19:30:48 +0000 (21:30 +0200)] 
Fix comment typos.

(cherry picked from commit 0a714543136de97c7fd34f1c6ac1592dc5036879)

4 years agoAdd check that message length to _pkcs1_sec_decrypt is valid.
Niels Möller [Thu, 6 May 2021 19:30:23 +0000 (21:30 +0200)] 
Add check that message length to _pkcs1_sec_decrypt is valid.

* pkcs1-sec-decrypt.c (_pkcs1_sec_decrypt): Check that message
length is valid, for given key size.
* testsuite/rsa-sec-decrypt-test.c (test_main): Add test cases for
calls to rsa_sec_decrypt specifying a too large message length.

(cherry picked from commit 7616541e6eff73353bf682c62e3a68e4fe696707)

4 years agoFix C++-style comments
Niels Möller [Mon, 24 May 2021 16:58:12 +0000 (18:58 +0200)] 
Fix C++-style comments

4 years agoChangeLog entries for aes keywrap.
Niels Möller [Sun, 23 May 2021 19:14:00 +0000 (21:14 +0200)] 
ChangeLog entries for aes keywrap.

4 years agoImplement aes key wrap and key unwrap (RFC 3394)
Nicolas Mora [Sun, 23 May 2021 19:04:58 +0000 (21:04 +0200)] 
Implement aes key wrap and key unwrap (RFC 3394)

4 years agoFix comment typo.
Niels Möller [Mon, 10 May 2021 18:52:39 +0000 (20:52 +0200)] 
Fix comment typo.

4 years agoppc: Fix macro name SWAP_MASK to use all uppercase.
Niels Möller [Tue, 13 Apr 2021 09:23:27 +0000 (11:23 +0200)] 
ppc: Fix macro name SWAP_MASK to use all uppercase.

4 years agoUpdate config.guess and config.sub.
Niels Möller [Sun, 11 Apr 2021 15:18:24 +0000 (17:18 +0200)] 
Update config.guess and config.sub.

4 years agoMerge branch 'wip/ueno/maybe-uninit' into 'master'
Niels Möller [Sun, 28 Mar 2021 14:45:02 +0000 (14:45 +0000)] 
Merge branch 'wip/ueno/maybe-uninit' into 'master'

nettle-benchmark: avoid -Wmaybe-uninitialized warnings

See merge request nettle/nettle!22

4 years agonettle-benchmark: avoid -Wmaybe-uninitialized warnings
Daiki Ueno [Sat, 27 Mar 2021 07:36:01 +0000 (08:36 +0100)] 
nettle-benchmark: avoid -Wmaybe-uninitialized warnings

Otherwise GCC 11 prints the following warning:

  nettle-benchmark.c: In function ‘time_umac’:
  ../umac.h:42:25: warning: ‘key’ may be used uninitialized [-Wmaybe-uninitialized]
     42 | #define umac32_set_key  nettle_umac32_set_key
  nettle-benchmark.c:395:3: note: in expansion of macro ‘umac32_set_key’
    395 |   umac32_set_key (&ctx32, key);
        |   ^~~~~~~~~~~~~~

Although this should be harmless as it's in the benchmarking code and
the content of the key doesn't matter, it wouldn't hurt to explicitly
initialize it.  This patch also uses predefined constants for key
sizes.

4 years agogitlab-ci: Fix only: variables: check, and quote variables.
Niels Möller [Sat, 27 Mar 2021 07:39:26 +0000 (08:39 +0100)] 
gitlab-ci: Fix only: variables: check, and quote variables.

4 years agogitlab-ci: Use pipeline variable S390X_ACCOUNT
Niels Möller [Sat, 27 Mar 2021 07:00:36 +0000 (08:00 +0100)] 
gitlab-ci: Use pipeline variable S390X_ACCOUNT

And enable remote/s390x job only when needed variables are set.

4 years agogitlab-ci: Add remote tests for s390x.
Niels Möller [Wed, 24 Mar 2021 18:40:03 +0000 (19:40 +0100)] 
gitlab-ci: Add remote tests for s390x.

4 years agoAdd forward declaration of struct aes_table.
Niels Möller [Mon, 22 Mar 2021 18:17:25 +0000 (19:17 +0100)] 
Add forward declaration of struct aes_table.

4 years agoChangeLog entries for arm64 fat build.
Niels Möller [Mon, 22 Mar 2021 18:16:40 +0000 (19:16 +0100)] 
ChangeLog entries for arm64 fat build.

4 years agoMerge arm64 fat support into master.
Niels Möller [Mon, 22 Mar 2021 18:08:14 +0000 (19:08 +0100)] 
Merge arm64 fat support into master.

4 years agoChangeLog entry for nettle-3.7.2 release
Niels Möller [Mon, 22 Mar 2021 17:47:22 +0000 (18:47 +0100)] 
ChangeLog entry for nettle-3.7.2 release

4 years agoNEWS entries for 3.7.2.
Niels Möller [Sun, 21 Mar 2021 08:29:40 +0000 (09:29 +0100)] 
NEWS entries for 3.7.2.

(cherry picked from commit 7a5f86321f4c67d7219aa87ea4e2ddca677d7378)

4 years ago[AArch64] Support fat build for GCM optimization
Maamoun TK [Sun, 21 Mar 2021 18:48:26 +0000 (20:48 +0200)] 
[AArch64] Support fat build for GCM optimization

4 years ago[AArch64] Use m4 macros in gcm-hash.asm and add documentation comments
Maamoun TK [Sun, 21 Mar 2021 18:45:38 +0000 (20:45 +0200)] 
[AArch64] Use m4 macros in gcm-hash.asm and add documentation comments

4 years ago[AArch64] Update README to be on par with other architectures
Maamoun TK [Sun, 21 Mar 2021 18:39:47 +0000 (20:39 +0200)] 
[AArch64] Update README to be on par with other architectures

4 years agoFix canonical reduction in gostdsa_vko.
Niels Möller [Sat, 13 Mar 2021 15:45:34 +0000 (16:45 +0100)] 
Fix canonical reduction in gostdsa_vko.

* gostdsa-vko.c (gostdsa_vko): Use ecc_mod_mul_canonical to
compute the scalar used for ecc multiplication.

4 years agoSimilar fix for eddsa.
Niels Möller [Sat, 13 Mar 2021 15:42:21 +0000 (16:42 +0100)] 
Similar fix for eddsa.

* eddsa-hash.c (_eddsa_hash): Ensure result is canonically
reduced. Two of the three call sites need that.

4 years agoAnalogous fix to ecc_gostdsa_verify.
Niels Möller [Sat, 13 Mar 2021 15:29:50 +0000 (16:29 +0100)] 
Analogous fix to ecc_gostdsa_verify.

* ecc-gostdsa-verify.c (ecc_gostdsa_verify): Use ecc_mod_mul_canonical
to compute the scalars used for ecc multiplication.

4 years agoEnsure ecdsa_sign output is canonically reduced.
Niels Möller [Sat, 13 Mar 2021 15:27:50 +0000 (16:27 +0100)] 
Ensure ecdsa_sign output is canonically reduced.

* ecc-ecdsa-sign.c (ecc_ecdsa_sign): Ensure s output is reduced to
canonical range.

4 years agoFix bug in ecc_ecdsa_verify.
Niels Möller [Sat, 13 Mar 2021 14:19:19 +0000 (15:19 +0100)] 
Fix bug in ecc_ecdsa_verify.

* ecc-ecdsa-verify.c (ecc_ecdsa_verify): Use ecc_mod_mul_canonical
to compute the scalars used for ecc multiplication.
* testsuite/ecdsa-verify-test.c (test_main): Add test case that
triggers an assert on 64-bit platforms, without above fix.
* testsuite/ecdsa-sign-test.c (test_main): Test case generating
the same signature.

4 years agoUse ecc_mod_mul_canonical for point comparison.
Niels Möller [Sat, 13 Mar 2021 16:26:37 +0000 (17:26 +0100)] 
Use ecc_mod_mul_canonical for point comparison.

* eddsa-verify.c (equal_h): Use ecc_mod_mul_canonical.

4 years agoNew functions ecc_mod_mul_canonical and ecc_mod_sqr_canonical.
Niels Möller [Thu, 11 Mar 2021 18:37:41 +0000 (19:37 +0100)] 
New functions ecc_mod_mul_canonical and ecc_mod_sqr_canonical.

* ecc-mod-arith.c (ecc_mod_mul_canonical, ecc_mod_sqr_canonical):
New functions.
* ecc-internal.h: Declare and document new functions.
* curve448-eh-to-x.c (curve448_eh_to_x): Use ecc_mod_sqr_canonical.
* curve25519-eh-to-x.c (curve25519_eh_to_x): Use ecc_mod_mul_canonical.
* ecc-eh-to-a.c (ecc_eh_to_a): Likewise.
* ecc-j-to-a.c (ecc_j_to_a): Likewise.
* ecc-mul-m.c (ecc_mul_m): Likewise.

4 years agoMerge branch 'arm64'
Niels Möller [Thu, 4 Mar 2021 08:41:17 +0000 (09:41 +0100)] 
Merge branch 'arm64'

4 years agoChangeLog entry for 3.7.1 release. nettle_3.7.1_release_20210217
Niels Möller [Wed, 17 Feb 2021 17:58:06 +0000 (18:58 +0100)] 
ChangeLog entry for 3.7.1 release.

4 years agoDelete benchmarking of openssl arcfour and corresponding glue code
Niels Möller [Mon, 15 Feb 2021 19:33:45 +0000 (20:33 +0100)] 
Delete benchmarking of openssl arcfour and corresponding glue code

4 years agoNEWS entries for Nettle-3.7.1.
Niels Möller [Sat, 13 Feb 2021 16:38:55 +0000 (17:38 +0100)] 
NEWS entries for Nettle-3.7.1.

4 years agoIncrease version numbers, for Nettle-3.7.1.
Niels Möller [Sat, 13 Feb 2021 16:37:00 +0000 (17:37 +0100)] 
Increase version numbers, for Nettle-3.7.1.

* 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.

4 years agoFix chacha counter update for _4core variants. fix-chacha-counter
Niels Möller [Wed, 10 Feb 2021 10:22:23 +0000 (11:22 +0100)] 
Fix chacha counter update for _4core variants.

4 years agoImprove chacha test coverage.
Niels Möller [Wed, 10 Feb 2021 09:26:52 +0000 (10:26 +0100)] 
Improve chacha test coverage.

4 years agoMerge branch 'delete-1-way-neon'
Niels Möller [Mon, 8 Feb 2021 18:38:22 +0000 (19:38 +0100)] 
Merge branch 'delete-1-way-neon'

4 years agoChangeLog entries for new pbkdf2 variants.
Niels Möller [Mon, 8 Feb 2021 18:29:25 +0000 (19:29 +0100)] 
ChangeLog entries for new pbkdf2 variants.

4 years agoaarch64: Rename arm64/v8/ --> arm64/crypto/ arm64
Niels Möller [Wed, 3 Feb 2021 15:36:33 +0000 (16:36 +0100)] 
aarch64: Rename arm64/v8/ --> arm64/crypto/

4 years agoaarch64: Use .arch armv8-a+crypto directive.
Niels Möller [Tue, 2 Feb 2021 17:05:23 +0000 (18:05 +0100)] 
aarch64: Use .arch armv8-a+crypto directive.

4 years agoaarch64: Move m4 definitions after .file directive
Niels Möller [Tue, 2 Feb 2021 16:59:39 +0000 (17:59 +0100)] 
aarch64: Move m4 definitions after .file directive

4 years agoUpdate doc for pbkdf2_hmac_sha384 and pbkdf2_hmac_sha512
Nicolas Mora [Mon, 1 Feb 2021 01:32:23 +0000 (20:32 -0500)] 
Update doc for pbkdf2_hmac_sha384 and pbkdf2_hmac_sha512

4 years agoAdd tests for pbkdf2_hmac_sha384 and pbkdf2_hmac_sha512
Nicolas Mora [Mon, 1 Feb 2021 01:09:57 +0000 (20:09 -0500)] 
Add tests for pbkdf2_hmac_sha384 and pbkdf2_hmac_sha512

4 years agoImplement pbkdf2_hmac_sha384 and pbkdf2_hmac_sha512
Nicolas Mora [Mon, 1 Feb 2021 01:09:40 +0000 (20:09 -0500)] 
Implement pbkdf2_hmac_sha384 and pbkdf2_hmac_sha512

4 years agoChangeLog entries for arm64 gcm_hash.
Niels Möller [Sun, 31 Jan 2021 08:18:39 +0000 (09:18 +0100)] 
ChangeLog entries for arm64 gcm_hash.

4 years agoarch64: Fix clang build
Maamoun TK [Sun, 31 Jan 2021 08:15:01 +0000 (09:15 +0100)] 
arch64: Fix clang build

4 years agoarch64: Fix copyright line and typos
Maamoun TK [Sun, 31 Jan 2021 08:11:43 +0000 (09:11 +0100)] 
arch64: Fix copyright line and typos

4 years agoaarch64: Adjust gcm-hash assembly for big-endian systems
Michael Weiser [Mon, 25 Jan 2021 17:37:06 +0000 (18:37 +0100)] 
aarch64: Adjust gcm-hash assembly for big-endian systems

4 years agoaarch64: Implement GHASH using the crypto extension pmul instructions.
Maamoun TK [Mon, 25 Jan 2021 17:36:54 +0000 (18:36 +0100)] 
aarch64: Implement GHASH using the crypto extension pmul instructions.

4 years agoaarch64: Add README
Michael Weiser [Mon, 25 Jan 2021 18:05:47 +0000 (19:05 +0100)] 
aarch64: Add README

4 years agoAdd an empty machine.m64 to make configure happy
Michael Weiser [Mon, 25 Jan 2021 17:38:20 +0000 (18:38 +0100)] 
Add an empty machine.m64 to make configure happy

4 years agoDelete the ARM Neon code doing a single block chacha. delete-1-way-neon
Niels Möller [Mon, 25 Jan 2021 21:40:01 +0000 (22:40 +0100)] 
Delete the ARM Neon code doing a single block chacha.

4 years agoDelete the ARM Neon code doing a single block salsa20.
Niels Möller [Mon, 25 Jan 2021 19:53:27 +0000 (20:53 +0100)] 
Delete the ARM Neon code doing a single block salsa20.

4 years agoAdd testcase for ecc_ecdsa_verify with zero hash.
Niels Möller [Wed, 20 Jan 2021 08:43:28 +0000 (09:43 +0100)] 
Add testcase for ecc_ecdsa_verify with zero hash.

4 years agoFix ecc_ecdsa_verify corner case with all-zero hash.
Niels Möller [Wed, 20 Jan 2021 08:40:19 +0000 (09:40 +0100)] 
Fix ecc_ecdsa_verify corner case with all-zero hash.

4 years agoDelete old misleading comment.
Niels Möller [Wed, 20 Jan 2021 08:32:35 +0000 (09:32 +0100)] 
Delete old misleading comment.

4 years agoarm: Unify neon asm for big- and little-endian modes
Michael Weiser [Fri, 25 Dec 2020 16:13:52 +0000 (17:13 +0100)] 
arm: Unify neon asm for big- and little-endian modes

Switch arm neon assembler routines to endianness-agnostic loads and
stores where possible to avoid modifications to the rest of the code.
This involves switching to vld1.32 for loading consecutive 32-bit words
in host endianness as well as vst1.8 for storing back to memory in
little-endian order as required by the caller. Where necessary, r3 is
used to store the precalculated offset into the source vector for the
secondary load operations. vstm is kept for little-endian platforms
because it is faster than vst1 on most ARM implementations.

vst1.x (at least on the Allwinner A20 Cortex-A7 implementation) seems to
interfer with itself on subsequent calls, slowing it down further. So we
reschedule some instructions to do stores as soon as results become
available to have some other calculations or loads before the next
vst1.x. This reliably saves two additional cycles per block on salsa20
and chacha which would otherwise be incurred.

vld1.x does not seem to suffer from this or at least not to a level
where two consecutive vld1.x run slower than an equivalent vldm.
Rescheduling them similarly did not improve performance beyond that of
vldm.

Signed-off-by: Michael Weiser <michael.weiser@gmx.de>
4 years agoppc: Fix use of __GLIBC_PREREQ in fat-ppc.c.
Niels Möller [Sun, 10 Jan 2021 19:39:49 +0000 (20:39 +0100)] 
ppc: Fix use of __GLIBC_PREREQ in fat-ppc.c.

* 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.

4 years agoRecognize arm64 in configure
Niels Möller [Tue, 8 Dec 2020 16:51:46 +0000 (17:51 +0100)] 
Recognize arm64 in configure

4 years agoNote 3.7 release. nettle_3.7_release_20210104
Niels Möller [Mon, 4 Jan 2021 15:41:08 +0000 (16:41 +0100)] 
Note 3.7 release.

4 years agoNEWS: Mention ARM big-endian breakage as a known issue. nettle_3.7rc1
Niels Möller [Fri, 1 Jan 2021 16:37:46 +0000 (17:37 +0100)] 
NEWS: Mention ARM big-endian breakage as a known issue.

4 years agogitlab-ci: Use --disable-assembler, for ubsan, asan and static analyzer tests.
Niels Möller [Mon, 28 Dec 2020 10:27:46 +0000 (11:27 +0100)] 
gitlab-ci: Use --disable-assembler, for ubsan, asan and static analyzer tests.

4 years agoUpdate NEWS file. Say that fat builds are now on by default.
Niels Möller [Mon, 28 Dec 2020 10:24:01 +0000 (11:24 +0100)] 
Update NEWS file. Say that fat builds are now on by default.

4 years agoEnable fat build by default. fat-build-by-default
Niels Möller [Sun, 27 Dec 2020 14:59:46 +0000 (15:59 +0100)] 
Enable fat build by default.

4 years agoNews entries for Nettle-3.7.
Niels Möller [Sat, 26 Dec 2020 16:07:56 +0000 (17:07 +0100)] 
News entries for Nettle-3.7.

4 years agoFix typo in old NEWS entry for Nettle-3.6.
Niels Möller [Sat, 26 Dec 2020 16:06:00 +0000 (17:06 +0100)] 
Fix typo in old NEWS entry for Nettle-3.6.

4 years agoDistribute the README files in assembly directories.
Niels Möller [Sat, 26 Dec 2020 15:56:33 +0000 (16:56 +0100)] 
Distribute the README files in assembly directories.

4 years agoIncrease version numbers, for Nettle-3.7.
Niels Möller [Sat, 26 Dec 2020 15:50:34 +0000 (16:50 +0100)] 
Increase version numbers, for Nettle-3.7.

* configure.ac: Bump package version, to 3.7.
(LIBNETTLE_MINOR): Bump minor number, to 8.1.
(LIBHOGWEED_MINOR): Bump minor number, to 6.1.

4 years agoarm: Fix comment typo
Niels Möller [Mon, 21 Dec 2020 19:41:02 +0000 (20:41 +0100)] 
arm: Fix comment typo

Spotted by Michael Weiser

4 years agoChangeLog entry for previous fat ppc fix.
Niels Möller [Mon, 21 Dec 2020 19:40:21 +0000 (20:40 +0100)] 
ChangeLog entry for previous fat ppc fix.

4 years agoMerge branch 'undefined' into 'master'
Niels Möller [Mon, 21 Dec 2020 16:21:30 +0000 (17:21 +0100)] 
Merge branch 'undefined' into 'master'

[PowerPC64] Skip using getauxval() when it is not available

See merge request nettle/nettle!16

4 years agocombine preprocessor directives to reduce nesting of conditions in fat-ppc.c
Maamoun TK [Mon, 21 Dec 2020 15:00:23 +0000 (16:00 +0100)] 
combine preprocessor directives to reduce nesting of conditions in fat-ppc.c

4 years ago[PowerPC64] Skip using getauxval() when it is not available
Maamoun TK [Sun, 20 Dec 2020 17:03:11 +0000 (18:03 +0100)] 
[PowerPC64] Skip using getauxval() when it is not available

4 years agoMerge branch 'ppc-got-32bit' into 'master'
Niels Möller [Sat, 19 Dec 2020 09:04:32 +0000 (10:04 +0100)] 
Merge branch 'ppc-got-32bit' into 'master'

[PowerPC64] Use 32-bit offset to load data

See merge request nettle/nettle!14

4 years ago[PowerPC64] Use 32-bit offset to load data
mamonet [Fri, 18 Dec 2020 15:38:39 +0000 (17:38 +0200)] 
[PowerPC64] Use 32-bit offset to load data

4 years agoppc: More interleaving of chacha_4core.
Niels Möller [Sat, 12 Dec 2020 15:46:51 +0000 (16:46 +0100)] 
ppc: More interleaving of chacha_4core.

4 years agoMerge branch 'ppc-chacha-4core'
Niels Möller [Tue, 8 Dec 2020 19:10:15 +0000 (20:10 +0100)] 
Merge branch 'ppc-chacha-4core'

4 years agoFix comment type
Niels Möller [Tue, 1 Dec 2020 20:24:39 +0000 (21:24 +0100)] 
Fix comment type

4 years agoppc: Save registers below stack pointer, without modifying it. ppc-chacha-4core
Niels Möller [Tue, 1 Dec 2020 17:47:38 +0000 (18:47 +0100)] 
ppc: Save registers below stack pointer, without modifying it.

4 years agoppc: Optimize chacha_4core main loop
Niels Möller [Tue, 1 Dec 2020 17:07:21 +0000 (18:07 +0100)] 
ppc: Optimize chacha_4core main loop

* powerpc64/p7/chacha-4core.asm (QR): Instruction level
interleaving in the main loop, written by Torbjörn Granlund.

4 years agoppc: Workaround using m4_unquote.
Niels Möller [Mon, 30 Nov 2020 20:21:42 +0000 (21:21 +0100)] 
ppc: Workaround using m4_unquote.

4 years agom4: New macro m4_unquote
Niels Möller [Mon, 30 Nov 2020 20:20:42 +0000 (21:20 +0100)] 
m4: New macro m4_unquote

4 years agoppc: Add byte-swapping to chacha_4core, for big-endian builds.
Niels Möller [Mon, 30 Nov 2020 19:23:01 +0000 (20:23 +0100)] 
ppc: Add byte-swapping to chacha_4core, for big-endian builds.

4 years agoDelete _nettle_chacha_crypt_2core and _nettle_chacha_crypt32_2core.
Niels Möller [Mon, 30 Nov 2020 19:05:31 +0000 (20:05 +0100)] 
Delete _nettle_chacha_crypt_2core and _nettle_chacha_crypt32_2core.

4 years agoppc: New assembly for chacha_core4, doing four blocks in parallel.
Niels Möller [Mon, 30 Nov 2020 18:54:10 +0000 (19:54 +0100)] 
ppc: New assembly for chacha_core4, doing four blocks in parallel.

* chacha-crypt.c: (_nettle_chacha_crypt_4core)
(_nettle_chacha_crypt32_4core): New functions.
* chacha-internal.h: Add prototypes for _nettle_chacha_4core and
related functions.
* configure.ac (asm_nettle_optional_list): Add chacha-4core.asm.
* powerpc64/fat/chacha-4core.asm: New file.
* powerpc64/p7/chacha-4core.asm: New file.
* fat-ppc.c (fat_init): When altivec is available, use
_nettle_chacha_crypt_4core and _nettle_chacha_crypt32_4core
instead of _2core variants.

4 years agoFix a ChangeLog typo.
Niels Möller [Sat, 28 Nov 2020 21:12:45 +0000 (22:12 +0100)] 
Fix a ChangeLog typo.

4 years agoAdd missing forward declaration.
Niels Möller [Mon, 30 Nov 2020 15:23:08 +0000 (16:23 +0100)] 
Add missing forward declaration.

4 years agoFix counter bug in _chacha_crypt32_3core.
Niels Möller [Mon, 30 Nov 2020 15:18:00 +0000 (16:18 +0100)] 
Fix counter bug in _chacha_crypt32_3core.

4 years agoDelete name mangling of internal umac symbols delete-internal-name-mangling
Niels Möller [Mon, 30 Nov 2020 14:11:47 +0000 (15:11 +0100)] 
Delete name mangling of internal umac symbols

4 years agoDelete name mangling of internal sha3 symbols
Niels Möller [Mon, 30 Nov 2020 14:03:20 +0000 (15:03 +0100)] 
Delete name mangling of internal sha3 symbols

4 years agoDelete name mangling of internal salsa20 symbols
Niels Möller [Mon, 30 Nov 2020 13:55:06 +0000 (14:55 +0100)] 
Delete name mangling of internal salsa20 symbols

4 years agoDelete name mangling of internal poly1305 symbols
Niels Möller [Mon, 30 Nov 2020 13:49:17 +0000 (14:49 +0100)] 
Delete name mangling of internal poly1305 symbols

4 years agoDelete name mangling of internal gost symbols
Niels Möller [Mon, 30 Nov 2020 13:44:24 +0000 (14:44 +0100)] 
Delete name mangling of internal gost symbols

4 years agoDelete name mangling of internal Chacha symbols
Niels Möller [Mon, 30 Nov 2020 12:44:17 +0000 (13:44 +0100)] 
Delete name mangling of internal Chacha symbols

4 years agoDelete name mangling of internal _nettle_ctr_crypt16 function
Niels Möller [Mon, 30 Nov 2020 12:06:37 +0000 (13:06 +0100)] 
Delete name mangling of internal _nettle_ctr_crypt16 function

4 years agoDelete name mangling of internal _nettle_dsa_hash function
Niels Möller [Mon, 30 Nov 2020 12:04:11 +0000 (13:04 +0100)] 
Delete name mangling of internal _nettle_dsa_hash function

4 years agoDelete name mangling of internal Camellia symbols
Niels Möller [Mon, 30 Nov 2020 11:14:40 +0000 (12:14 +0100)] 
Delete name mangling of internal Camellia symbols

4 years agoDelete name mangling of internal AES symbols
Niels Möller [Mon, 30 Nov 2020 11:10:48 +0000 (12:10 +0100)] 
Delete name mangling of internal AES symbols