summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Delete the ARM Neon code doing a single block chacha.delete-1-way-neonNiels Möller2021-01-254-192/+3
|
* Delete the ARM Neon code doing a single block salsa20.Niels Möller2021-01-254-253/+13
|
* Add testcase for ecc_ecdsa_verify with zero hash.Niels Möller2021-01-202-3/+12
|
* Fix ecc_ecdsa_verify corner case with all-zero hash.Niels Möller2021-01-202-3/+8
|
* Delete old misleading comment.Niels Möller2021-01-201-1/+1
|
* arm: Unify neon asm for big- and little-endian modesMichael Weiser2021-01-135-89/+95
| | | | | | | | | | | | | | | | | | | | | | | | | 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>
* ppc: Fix use of __GLIBC_PREREQ in fat-ppc.c.Niels Möller2021-01-102-5/+13
| | | | | | | * 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.
* Note 3.7 release.nettle_3.7_release_20210104Niels Möller2021-01-041-0/+4
|
* NEWS: Mention ARM big-endian breakage as a known issue.nettle_3.7rc1Niels Möller2021-01-011-0/+6
|
* gitlab-ci: Use --disable-assembler, for ubsan, asan and static analyzer tests.Niels Möller2020-12-281-3/+3
|
* Update NEWS file. Say that fat builds are now on by default.Niels Möller2020-12-281-5/+14
|
* Enable fat build by default.fat-build-by-defaultNiels Möller2020-12-273-6/+10
|
* News entries for Nettle-3.7.Niels Möller2020-12-262-0/+46
|
* Fix typo in old NEWS entry for Nettle-3.6.Niels Möller2020-12-261-1/+1
|
* Distribute the README files in assembly directories.Niels Möller2020-12-262-1/+4
|
* Increase version numbers, for Nettle-3.7.Niels Möller2020-12-262-3/+9
| | | | | | * configure.ac: Bump package version, to 3.7. (LIBNETTLE_MINOR): Bump minor number, to 8.1. (LIBHOGWEED_MINOR): Bump minor number, to 6.1.
* arm: Fix comment typoNiels Möller2020-12-211-1/+1
| | | | Spotted by Michael Weiser
* ChangeLog entry for previous fat ppc fix.Niels Möller2020-12-211-0/+5
|
* Merge branch 'undefined' into 'master'Niels Möller2020-12-211-2/+4
|\ | | | | | | | | [PowerPC64] Skip using getauxval() when it is not available See merge request nettle/nettle!16
| * combine preprocessor directives to reduce nesting of conditions in fat-ppc.cMaamoun TK2020-12-211-7/+6
| |
| * [PowerPC64] Skip using getauxval() when it is not availableMaamoun TK2020-12-201-3/+6
|/
* Merge branch 'ppc-got-32bit' into 'master'Niels Möller2020-12-193-6/+10
|\ | | | | | | | | [PowerPC64] Use 32-bit offset to load data See merge request nettle/nettle!14
| * [PowerPC64] Use 32-bit offset to load datamamonet2020-12-183-6/+10
|/
* ppc: More interleaving of chacha_4core.Niels Möller2020-12-122-16/+21
|
* Merge branch 'ppc-chacha-4core'Niels Möller2020-12-088-76/+446
|\
| * ppc: Save registers below stack pointer, without modifying it.ppc-chacha-4coreNiels Möller2020-12-012-12/+15
| |
| * ppc: Optimize chacha_4core main loopNiels Möller2020-12-012-9/+47
| | | | | | | | | | * powerpc64/p7/chacha-4core.asm (QR): Instruction level interleaving in the main loop, written by Torbjörn Granlund.
| * ppc: Workaround using m4_unquote.Niels Möller2020-11-301-1/+1
| |
| * m4: New macro m4_unquoteNiels Möller2020-11-302-0/+12
| |
| * ppc: Add byte-swapping to chacha_4core, for big-endian builds.Niels Möller2020-11-301-0/+13
| |
| * Delete _nettle_chacha_crypt_2core and _nettle_chacha_crypt32_2core.Niels Möller2020-11-302-69/+2
| |
| * ppc: New assembly for chacha_core4, doing four blocks in parallel.Niels Möller2020-11-307-17/+388
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Fix comment typeNiels Möller2020-12-011-1/+1
|/
* Fix a ChangeLog typo.Niels Möller2020-11-301-1/+1
|
* Add missing forward declaration.Niels Möller2020-11-301-0/+1
|
* Fix counter bug in _chacha_crypt32_3core.Niels Möller2020-11-302-3/+4
|
* Delete name mangling of internal umac symbolsdelete-internal-name-manglingNiels Möller2020-11-3013-87/+77
|
* Delete name mangling of internal sha3 symbolsNiels Möller2020-11-307-25/+27
|
* Delete name mangling of internal salsa20 symbolsNiels Möller2020-11-306-34/+27
|
* Delete name mangling of internal poly1305 symbolsNiels Möller2020-11-305-22/+18
|
* Delete name mangling of internal gost symbolsNiels Möller2020-11-304-17/+17
|
* Delete name mangling of internal Chacha symbolsNiels Möller2020-11-306-94/+77
|
* Delete name mangling of internal _nettle_ctr_crypt16 functionNiels Möller2020-11-305-14/+12
|
* Delete name mangling of internal _nettle_dsa_hash functionNiels Möller2020-11-305-8/+7
|
* Delete name mangling of internal Camellia symbolsNiels Möller2020-11-3012-33/+28
|
* Delete name mangling of internal AES symbolsNiels Möller2020-11-3013-42/+40
|
* ppc: ChangeLog entry for gcm-hash.asm.Niels Möller2020-11-281-0/+3
|
* Merge branch 'ppc-gcm' into master-updatesNiels Möller2020-11-289-48/+729
|\
| * Simplify ifdefs in gcm-internal.hppc-gcmNiels Möller2020-11-281-10/+0
| |
| * Merge branch 'ppc-gcm' into 'ppc-gcm'Niels Möller2020-11-272-1/+12
| |\ | | | | | | | | | | | | Suppress warnings in certain configuration and fix x86_64 build See merge request nettle/nettle!12