summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* x86_64: Fat setup for assembly CBC AES.Niels Möller2021-09-091-0/+4
|
* x86_64: Assembly CBC AES aesni functions.Niels Möller2021-09-091-0/+2
|
* [S390x] Optimize SHA1 compressMamone Tarsha2021-08-101-2/+2
|
* Merge branch 'arm64-aes' into 'master'Niels Möller2021-08-091-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [AArch64] Optimize AES with fat build support This patch optimizes AES encrypt/decrypt functions with each key size has its own implementation to load the key expansion just once at function prologue which yields a considerable performance increase over loading the key expansion for every block iteration. The patch also adds fat build support for the AES functions. `make check` passes all tests. Benchmark of executing `examples/nettle-benchmark`: | Algorithm | mode | C (Mbyte/s) | OpenSSL (Mbyte/s) | This patch (Mbyte/s) | | ------ | ------ | ------ | ------ | ------ | | aes128 | ECB encrypt | 95.01 | 1037.85 | 2579.62 | | aes128 | ECB decrypt | 93.47 | 1005.15 | 2577.53 | | aes192 | ECB encrypt | 79.60 | 893.34 | 2205.53 | | aes192 | ECB decrypt | 78.34 | 889.17 | 2204.41 | | aes256 | ECB encrypt | 66.64 | 782.21 | 1925.73 | | aes256 | ECB decrypt | 65.81 | 781.37 | 1925.79 | See merge request nettle/nettle!34
| * [AArch64] Optimize AES with fat build supportMamone Tarsha2021-07-301-1/+1
| |
* | Merge branch 'mamonet/nettle-s390x-memxor' into master-updatesNiels Möller2021-08-061-2/+10
|\ \ | |/ |/|
| * [S390x] Optimize memxor3 using vector facility with fat supportMamone Tarsha2021-07-221-2/+10
| |
* | Merge branch 's390x' into master-updatesNiels Möller2021-07-241-2/+57
|\ \ | |/
| * [S390x] add FAT_TEST_LIST variable to enable fat build testingMamone Tarsha2021-07-211-0/+1
| |
| * [S390x] Replace inline assembly and fix fat filenamesMamone Tarsha2021-07-211-1/+22
| |
| * [S390x] Fat build support for AES and GHASHMamone Tarsha2021-07-101-4/+9
| |
| * [S390x] Update configure.ac and Makefile.inMamone Tarsha2021-06-271-1/+1
| |
| * Reorder and indent asm_replace_list.Niels Möller2021-05-091-5/+7
| |
| * Append s390x-specific asm file names to asm_replace_list in configure.acMamone Tarsha2021-05-091-8/+5
| |
| * [S390x] Basic AES-192 and AES-256 optimizationsMamone Tarsha2021-05-081-6/+9
| |
| * [S390x] Basic AES-128 optimizationmamonet2021-04-051-0/+4
| |
| * Initial config for s390x, contributed by Mamone Tarsha.Niels Möller2021-03-281-1/+23
| | | | | | | | | | | | | | * configure.ac: Add flag --enable-s390x-msa-x1. Add ABI check for s390x, and setup asm_path. * Makefile.in (distdir): Add s390x directory. * s390x/README: New file
* | arm64: Add sha2 to aarch64 fat tests.arm64-sha1Niels Möller2021-07-081-1/+1
| |
* | Add sha1 to aarch64 fat tests.Niels Möller2021-06-301-1/+1
|/
* [AArch64] Support fat build for GCM optimizationMaamoun TK2021-03-211-3/+9
|
* Merge branch 'arm64'Niels Möller2021-03-041-0/+29
|\
| * 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
| |
* | Increase version numbers, for Nettle-3.7.1.Niels Möller2021-02-131-3/+3
|/ | | | | | * 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.
* 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
|