Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Delete the ARM Neon code doing a single block chacha.delete-1-way-neon | Niels Möller | 2021-01-25 | 4 | -192/+3 |
| | |||||
* | Delete the ARM Neon code doing a single block salsa20. | Niels Möller | 2021-01-25 | 4 | -253/+13 |
| | |||||
* | Add testcase for ecc_ecdsa_verify with zero hash. | Niels Möller | 2021-01-20 | 2 | -3/+12 |
| | |||||
* | Fix ecc_ecdsa_verify corner case with all-zero hash. | Niels Möller | 2021-01-20 | 2 | -3/+8 |
| | |||||
* | Delete old misleading comment. | Niels Möller | 2021-01-20 | 1 | -1/+1 |
| | |||||
* | arm: Unify neon asm for big- and little-endian modes | Michael Weiser | 2021-01-13 | 5 | -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öller | 2021-01-10 | 2 | -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_20210104 | Niels Möller | 2021-01-04 | 1 | -0/+4 |
| | |||||
* | NEWS: Mention ARM big-endian breakage as a known issue.nettle_3.7rc1 | Niels Möller | 2021-01-01 | 1 | -0/+6 |
| | |||||
* | gitlab-ci: Use --disable-assembler, for ubsan, asan and static analyzer tests. | Niels Möller | 2020-12-28 | 1 | -3/+3 |
| | |||||
* | Update NEWS file. Say that fat builds are now on by default. | Niels Möller | 2020-12-28 | 1 | -5/+14 |
| | |||||
* | Enable fat build by default.fat-build-by-default | Niels Möller | 2020-12-27 | 3 | -6/+10 |
| | |||||
* | News entries for Nettle-3.7. | Niels Möller | 2020-12-26 | 2 | -0/+46 |
| | |||||
* | Fix typo in old NEWS entry for Nettle-3.6. | Niels Möller | 2020-12-26 | 1 | -1/+1 |
| | |||||
* | Distribute the README files in assembly directories. | Niels Möller | 2020-12-26 | 2 | -1/+4 |
| | |||||
* | Increase version numbers, for Nettle-3.7. | Niels Möller | 2020-12-26 | 2 | -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 typo | Niels Möller | 2020-12-21 | 1 | -1/+1 |
| | | | | Spotted by Michael Weiser | ||||
* | ChangeLog entry for previous fat ppc fix. | Niels Möller | 2020-12-21 | 1 | -0/+5 |
| | |||||
* | Merge branch 'undefined' into 'master' | Niels Möller | 2020-12-21 | 1 | -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.c | Maamoun TK | 2020-12-21 | 1 | -7/+6 |
| | | |||||
| * | [PowerPC64] Skip using getauxval() when it is not available | Maamoun TK | 2020-12-20 | 1 | -3/+6 |
|/ | |||||
* | Merge branch 'ppc-got-32bit' into 'master' | Niels Möller | 2020-12-19 | 3 | -6/+10 |
|\ | | | | | | | | | [PowerPC64] Use 32-bit offset to load data See merge request nettle/nettle!14 | ||||
| * | [PowerPC64] Use 32-bit offset to load data | mamonet | 2020-12-18 | 3 | -6/+10 |
|/ | |||||
* | ppc: More interleaving of chacha_4core. | Niels Möller | 2020-12-12 | 2 | -16/+21 |
| | |||||
* | Merge branch 'ppc-chacha-4core' | Niels Möller | 2020-12-08 | 8 | -76/+446 |
|\ | |||||
| * | ppc: Save registers below stack pointer, without modifying it.ppc-chacha-4core | Niels Möller | 2020-12-01 | 2 | -12/+15 |
| | | |||||
| * | ppc: Optimize chacha_4core main loop | Niels Möller | 2020-12-01 | 2 | -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öller | 2020-11-30 | 1 | -1/+1 |
| | | |||||
| * | m4: New macro m4_unquote | Niels Möller | 2020-11-30 | 2 | -0/+12 |
| | | |||||
| * | ppc: Add byte-swapping to chacha_4core, for big-endian builds. | Niels Möller | 2020-11-30 | 1 | -0/+13 |
| | | |||||
| * | Delete _nettle_chacha_crypt_2core and _nettle_chacha_crypt32_2core. | Niels Möller | 2020-11-30 | 2 | -69/+2 |
| | | |||||
| * | ppc: New assembly for chacha_core4, doing four blocks in parallel. | Niels Möller | 2020-11-30 | 7 | -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 type | Niels Möller | 2020-12-01 | 1 | -1/+1 |
|/ | |||||
* | Fix a ChangeLog typo. | Niels Möller | 2020-11-30 | 1 | -1/+1 |
| | |||||
* | Add missing forward declaration. | Niels Möller | 2020-11-30 | 1 | -0/+1 |
| | |||||
* | Fix counter bug in _chacha_crypt32_3core. | Niels Möller | 2020-11-30 | 2 | -3/+4 |
| | |||||
* | Delete name mangling of internal umac symbolsdelete-internal-name-mangling | Niels Möller | 2020-11-30 | 13 | -87/+77 |
| | |||||
* | Delete name mangling of internal sha3 symbols | Niels Möller | 2020-11-30 | 7 | -25/+27 |
| | |||||
* | Delete name mangling of internal salsa20 symbols | Niels Möller | 2020-11-30 | 6 | -34/+27 |
| | |||||
* | Delete name mangling of internal poly1305 symbols | Niels Möller | 2020-11-30 | 5 | -22/+18 |
| | |||||
* | Delete name mangling of internal gost symbols | Niels Möller | 2020-11-30 | 4 | -17/+17 |
| | |||||
* | Delete name mangling of internal Chacha symbols | Niels Möller | 2020-11-30 | 6 | -94/+77 |
| | |||||
* | Delete name mangling of internal _nettle_ctr_crypt16 function | Niels Möller | 2020-11-30 | 5 | -14/+12 |
| | |||||
* | Delete name mangling of internal _nettle_dsa_hash function | Niels Möller | 2020-11-30 | 5 | -8/+7 |
| | |||||
* | Delete name mangling of internal Camellia symbols | Niels Möller | 2020-11-30 | 12 | -33/+28 |
| | |||||
* | Delete name mangling of internal AES symbols | Niels Möller | 2020-11-30 | 13 | -42/+40 |
| | |||||
* | ppc: ChangeLog entry for gcm-hash.asm. | Niels Möller | 2020-11-28 | 1 | -0/+3 |
| | |||||
* | Merge branch 'ppc-gcm' into master-updates | Niels Möller | 2020-11-28 | 9 | -48/+729 |
|\ | |||||
| * | Simplify ifdefs in gcm-internal.hppc-gcm | Niels Möller | 2020-11-28 | 1 | -10/+0 |
| | | |||||
| * | Merge branch 'ppc-gcm' into 'ppc-gcm' | Niels Möller | 2020-11-27 | 2 | -1/+12 |
| |\ | | | | | | | | | | | | | Suppress warnings in certain configuration and fix x86_64 build See merge request nettle/nettle!12 |