summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* aarch64: Rename arm64/v8/ --> arm64/crypto/arm64Niels Möller2021-02-031-5/+5
|
* aarch64: Use .arch armv8-a+crypto directive.Niels Möller2021-02-021-1/+0
|
* arch64: Fix clang buildMaamoun TK2021-01-311-1/+1
|
* aarch64: Implement GHASH using the crypto extension pmul instructions.Maamoun TK2021-01-311-3/+10
|
* Recognize arm64 in configureNiels Möller2021-01-051-0/+23
|
* Enable fat build by default.fat-build-by-defaultNiels Möller2020-12-271-2/+2
|
* Increase version numbers, for Nettle-3.7.Niels Möller2020-12-261-3/+3
| | | | | | * configure.ac: Bump package version, to 3.7. (LIBNETTLE_MINOR): Bump minor number, to 8.1. (LIBHOGWEED_MINOR): Bump minor number, to 6.1.
* ppc: New assembly for chacha_core4, doing four blocks in parallel.Niels Möller2020-11-301-2/+5
| | | | | | | | | | | | | * 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.
* Merge branch 'ppc-gcm' into master-updatesNiels Möller2020-11-281-3/+5
|\
| * ppc: Enable gcm code in fat builds. Based on patch by Mamone Tarsha.Niels Möller2020-11-261-0/+2
| |
| * ppc: Assembly implementation of gcm_hash.Maamoun TK2020-11-121-3/+3
| |
* | ppc: Enable _chacha_2core in fat builds.Niels Möller2020-11-241-0/+1
| |
* | Prepare for using assembly function _chacha_2core.Niels Möller2020-11-231-1/+2
|/ | | | | | | | * chacha-crypt.c (_chacha_crypt_2core, _chacha_crypt32_2core): New variants of chacha_crypt, using _chacha_2core to do two blocks at a time. * chacha-internal.h (_chacha_2core, _chacha_2core32): Add declarations. * configure.ac (asm_nettle_optional_list): Add chacha-2core.asm.
* ppc: Add altivec detection to fat buildsNiels Möller2020-11-071-4/+13
|
* ppc: Add powerpc64/p7 to asm_path.Niels Möller2020-09-251-1/+1
|
* ppc: Add configure test and macros to replace register names.Niels Möller2020-09-211-0/+3
| | | | | | | | | | | | | * aclocal.m4 (GMP_ASM_POWERPC_R_REGISTERS): New configure test, adapted from corresponding test in GMP's acinlude.m4. * configure.ac (ASM_PPC_WANT_R_REGISTERS): New substituted variable. Set using GMP_ASM_POWERPC_R_REGISTERS, when powerpc64 assembly code is enabled. * config.m4.in: Substituted here. * powerpc64/machine.m4: Check ASM_PPC_WANT_R_REGISTERS, and if needed, replace register names like r0, r1, ... with integers. * Makefile.in (%.asm): Include m4-utils.m4 for preprocessing of .asm files, and include config.m4 before machine.m4.
* Enable powerpc64 assembly only for 64-bit builds.Niels Möller2020-08-291-7/+20
| | | | Based on patch by Mamone Tarsha.
* Fix syntax error in configure.acpower-asm-wipNiels Möller2020-08-261-1/+0
|
* Add power FAT_TEST_LIST, and make --enable-power-crypto-ext default to false.Niels Möller2020-08-261-4/+4
|
* Fix definition of HAVE_NATIVE_aes_decrypt and HAVE_NATIVE_aes_encryptNiels Möller2020-08-261-0/+2
|
* Add support for powerpc64 fat buildNiels Möller2020-08-261-2/+6
| | | | Based on patch by Mamone Tarsha
* Rename powerpc64/P8 to powerpc64/p8Niels Möller2020-08-261-1/+1
|
* Enable powerpc64 assemblyNiels Möller2020-08-261-0/+12
|
* New make target check-fatNiels Möller2020-07-311-0/+6
|
* Rearrange chacha_crypt and chacha_crypt32, enabling fat builds to use ↵chacha-3core-neonNiels Möller2020-07-141-0/+1
| | | | chacha_3core
* Three-way interleaving of chacha on NeonNiels Möller2020-07-131-1/+2
|
* Add missing undef directives in configure.acMaamoun TK2020-07-091-0/+2
|
* Rearrange salsa20, enabling ARM fat builds to use sala20_2core.salsa20-2core-neonNiels Möller2020-07-081-0/+1
|
* Two-way interleaving of salsa20 on NeonNiels Möller2020-07-061-1/+2
|
* Obey --enable-arm-neon=yes, even if not explicitly targetting ARM v6 or later.Niels Möller2020-07-061-4/+3
|
* Tweak gcc command like flagsnettle_3.6rc3Niels Möller2020-04-271-12/+1
|
* Require gmp-6.1.0 or later, for mpn_zero_p.Niels Möller2020-04-251-2/+3
|
* Bump libnettle soname, libnettle version is now 8.0.Niels Möller2020-04-171-2/+2
|
* Increase hogweed version number to 6.0, at request of Gnutls team.Niels Möller2020-04-061-2/+2
|
* Version number update for Nettle-3.6Niels Möller2020-03-261-3/+3
| | | | | | * configure.ac: Bump package version to 3.6. (LIBNETTLE_MINOR): Bump minor number, now 7.1. (LIBHOGWEED_MINOR): Bump minor numbers, now 5.1
* x86: Add ASM_X86_ENDBR and x86 CET marker to config.m4.inH.J. Lu2020-03-141-0/+65
| | | | | | | | | | | | | | | | | | Intel Control-flow Enforcement Technology (CET): https://software.intel.com/en-us/articles/intel-sdm contains shadow stack (SHSTK) and indirect branch tracking (IBT). When CET is enabled, ELF object files must be marked with .note.gnu.property section. Also when IBT is enabled, all indirect branch targets must start with ENDBR instruction. This patch adds ASM_X86_ENDBR and the x86 CET marker to config.m4.in when CET is enabled. It updates PROLOGUE with ASM_X86_ENDBR. Tested on CET machine with i686 and x86-64. Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
* On Solaris, link shared libraries with --shared rather than -G.Niels Möller2020-02-051-2/+2
|
* Simplify dependency rules using GNU make -include.Niels Möller2020-01-151-13/+0
| | | | | | | | | | | | * aclocal.m4 (DEP_INCLUDE): Delete substituted variable. * Makefile.in: Use the GNU make directive -include to include dependency .d files. Delete dependency files on make clean. * examples/Makefile.in: Likewise. * testsuite/Makefile.in: Likewise. Also use $(OBJEXT) properly. * tools/Makefile.in: Likewise. * configure.ac (dummy-dep-files): Delete these config commands.
* ecc: rename functions to contain curve names instead of bitsDmitry Eremin-Solenikov2020-01-101-11/+11
| | | | | | | | Rename curve functions to use curve names instead of just bits. Otherwise function names can easily become confusing after adding other curves. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* ecc: rename source files with curves dataDmitry Eremin-Solenikov2020-01-101-3/+3
| | | | | | | In preparation to adding GOST curves support, rename source files and use curve name as eccdata parameter. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
* Merge branch 'curve448' into masterNiels Möller2019-12-131-1/+3
|\
| * x86_64 implementation of nettle_ecc_curve448_modpNiels Möller2019-12-081-1/+3
| | | | | | | | | | | | | | | | | | * x86_64/ecc-curve448-modp.asm (nettle_ecc_curve448_modp): New assembly function. * ecc-448.c (ecc_448_modp) [HAVE_NATIVE_ecc_curve448_modp]: Use native nettle_ecc_curve448_modp if available. * configure.ac (asm_hogweed_optional_list): Add ecc-curve448-modp.asm. (HAVE_NATIVE_ecc_curve448_modp): New config.h define.
* | Fix configure check for __builtin_bswap64.Niels Möller2019-12-051-1/+1
|/ | | | | | | * configure.ac: Use AC_TRY_LINK rather than AC_TRY_COMPILE to check for __builtin_bswap64. Since calling an non-existing function typically results in a warning only at compile time, but fails at link time. Patch contributed by by George Koehler.
* Fixes for Nettle 3.5.1nettle_3.5.1_release_20190627Niels Möller2019-06-261-1/+1
|
* Merge branch 'delete-nettle-stdint-h' into masterNiels Möller2019-01-221-4/+0
|\
| * Delete nettle-stdint.hNiels Möller2019-01-061-4/+0
| |
* | Add --enable-fat support for arm neon chacha20Yuriy M. Kaminskiy2019-01-191-0/+2
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | On BCM2837B0 (Cortex-A53) @1.4GHz (Raspberry Pi 3B+), Before: `gnutls-cli --benchmark-ciphers` CHACHA20-POLY1305 (16384) 51.54 MB/sec `gnutls-cli --benchmark-tls-ciphers`: ECDHE_RSA_CHACHA20_POLY1305 (payload 1400) 21.31 MB/sec ECDHE_RSA_CHACHA20_POLY1305 (payload 15360) 24.60 MB/sec `nettle-benchmark` chacha encrypt 71.90 chacha decrypt 71.89 chacha_poly1305 encrypt 48.17 chacha_poly1305 decrypt 48.17 chacha_poly1305 update 146.03 After: `gnutls-cli --benchmark-ciphers` CHACHA20-POLY1305 (16384) 68.44 MB/sec `gnutls-cli --benchmark-tls-ciphers`: ECDHE_RSA_CHACHA20_POLY1305 (payload 1400) 27.25 MB/sec ECDHE_RSA_CHACHA20_POLY1305 (payload 15360) 32.41 MB/sec `nettle-benchmark` chacha encrypt 106.00 chacha decrypt 105.94 chacha_poly1305 encrypt 65.94 chacha_poly1305 decrypt 65.96 chacha_poly1305 update 175.24
* Bump version number and sonames, for Nettle-3.5Niels Möller2018-12-261-5/+5
|
* Merge branch 'release-3.4-fixes' into masterNiels Möller2018-12-261-5/+5
|\
| * Update configure check to require GMP-6.0.0 or later.Niels Möller2018-11-281-2/+2
| |