Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | x86_64: Fat setup for assembly CBC AES. | Niels Möller | 2021-09-09 | 1 | -0/+4 |
| | |||||
* | x86_64: Assembly CBC AES aesni functions. | Niels Möller | 2021-09-09 | 1 | -0/+2 |
| | |||||
* | [S390x] Optimize SHA1 compress | Mamone Tarsha | 2021-08-10 | 1 | -2/+2 |
| | |||||
* | Merge branch 'arm64-aes' into 'master' | Niels Möller | 2021-08-09 | 1 | -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 support | Mamone Tarsha | 2021-07-30 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'mamonet/nettle-s390x-memxor' into master-updates | Niels Möller | 2021-08-06 | 1 | -2/+10 |
|\ \ | |/ |/| | |||||
| * | [S390x] Optimize memxor3 using vector facility with fat support | Mamone Tarsha | 2021-07-22 | 1 | -2/+10 |
| | | |||||
* | | Merge branch 's390x' into master-updates | Niels Möller | 2021-07-24 | 1 | -2/+57 |
|\ \ | |/ | |||||
| * | [S390x] add FAT_TEST_LIST variable to enable fat build testing | Mamone Tarsha | 2021-07-21 | 1 | -0/+1 |
| | | |||||
| * | [S390x] Replace inline assembly and fix fat filenames | Mamone Tarsha | 2021-07-21 | 1 | -1/+22 |
| | | |||||
| * | [S390x] Fat build support for AES and GHASH | Mamone Tarsha | 2021-07-10 | 1 | -4/+9 |
| | | |||||
| * | [S390x] Update configure.ac and Makefile.in | Mamone Tarsha | 2021-06-27 | 1 | -1/+1 |
| | | |||||
| * | Reorder and indent asm_replace_list. | Niels Möller | 2021-05-09 | 1 | -5/+7 |
| | | |||||
| * | Append s390x-specific asm file names to asm_replace_list in configure.ac | Mamone Tarsha | 2021-05-09 | 1 | -8/+5 |
| | | |||||
| * | [S390x] Basic AES-192 and AES-256 optimizations | Mamone Tarsha | 2021-05-08 | 1 | -6/+9 |
| | | |||||
| * | [S390x] Basic AES-128 optimization | mamonet | 2021-04-05 | 1 | -0/+4 |
| | | |||||
| * | Initial config for s390x, contributed by Mamone Tarsha. | Niels Möller | 2021-03-28 | 1 | -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-sha1 | Niels Möller | 2021-07-08 | 1 | -1/+1 |
| | | |||||
* | | Add sha1 to aarch64 fat tests. | Niels Möller | 2021-06-30 | 1 | -1/+1 |
|/ | |||||
* | [AArch64] Support fat build for GCM optimization | Maamoun TK | 2021-03-21 | 1 | -3/+9 |
| | |||||
* | Merge branch 'arm64' | Niels Möller | 2021-03-04 | 1 | -0/+29 |
|\ | |||||
| * | aarch64: Rename arm64/v8/ --> arm64/crypto/arm64 | Niels Möller | 2021-02-03 | 1 | -5/+5 |
| | | |||||
| * | aarch64: Use .arch armv8-a+crypto directive. | Niels Möller | 2021-02-02 | 1 | -1/+0 |
| | | |||||
| * | arch64: Fix clang build | Maamoun TK | 2021-01-31 | 1 | -1/+1 |
| | | |||||
| * | aarch64: Implement GHASH using the crypto extension pmul instructions. | Maamoun TK | 2021-01-31 | 1 | -3/+10 |
| | | |||||
| * | Recognize arm64 in configure | Niels Möller | 2021-01-05 | 1 | -0/+23 |
| | | |||||
* | | Increase version numbers, for Nettle-3.7.1. | Niels Möller | 2021-02-13 | 1 | -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-default | Niels Möller | 2020-12-27 | 1 | -2/+2 |
| | |||||
* | Increase version numbers, for Nettle-3.7. | Niels Möller | 2020-12-26 | 1 | -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öller | 2020-11-30 | 1 | -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-updates | Niels Möller | 2020-11-28 | 1 | -3/+5 |
|\ | |||||
| * | ppc: Enable gcm code in fat builds. Based on patch by Mamone Tarsha. | Niels Möller | 2020-11-26 | 1 | -0/+2 |
| | | |||||
| * | ppc: Assembly implementation of gcm_hash. | Maamoun TK | 2020-11-12 | 1 | -3/+3 |
| | | |||||
* | | ppc: Enable _chacha_2core in fat builds. | Niels Möller | 2020-11-24 | 1 | -0/+1 |
| | | |||||
* | | Prepare for using assembly function _chacha_2core. | Niels Möller | 2020-11-23 | 1 | -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 builds | Niels Möller | 2020-11-07 | 1 | -4/+13 |
| | |||||
* | ppc: Add powerpc64/p7 to asm_path. | Niels Möller | 2020-09-25 | 1 | -1/+1 |
| | |||||
* | ppc: Add configure test and macros to replace register names. | Niels Möller | 2020-09-21 | 1 | -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öller | 2020-08-29 | 1 | -7/+20 |
| | | | | Based on patch by Mamone Tarsha. | ||||
* | Fix syntax error in configure.acpower-asm-wip | Niels Möller | 2020-08-26 | 1 | -1/+0 |
| | |||||
* | Add power FAT_TEST_LIST, and make --enable-power-crypto-ext default to false. | Niels Möller | 2020-08-26 | 1 | -4/+4 |
| | |||||
* | Fix definition of HAVE_NATIVE_aes_decrypt and HAVE_NATIVE_aes_encrypt | Niels Möller | 2020-08-26 | 1 | -0/+2 |
| | |||||
* | Add support for powerpc64 fat build | Niels Möller | 2020-08-26 | 1 | -2/+6 |
| | | | | Based on patch by Mamone Tarsha | ||||
* | Rename powerpc64/P8 to powerpc64/p8 | Niels Möller | 2020-08-26 | 1 | -1/+1 |
| | |||||
* | Enable powerpc64 assembly | Niels Möller | 2020-08-26 | 1 | -0/+12 |
| | |||||
* | New make target check-fat | Niels Möller | 2020-07-31 | 1 | -0/+6 |
| | |||||
* | Rearrange chacha_crypt and chacha_crypt32, enabling fat builds to use ↵chacha-3core-neon | Niels Möller | 2020-07-14 | 1 | -0/+1 |
| | | | | chacha_3core | ||||
* | Three-way interleaving of chacha on Neon | Niels Möller | 2020-07-13 | 1 | -1/+2 |
| | |||||
* | Add missing undef directives in configure.ac | Maamoun TK | 2020-07-09 | 1 | -0/+2 |
| | |||||
* | Rearrange salsa20, enabling ARM fat builds to use sala20_2core.salsa20-2core-neon | Niels Möller | 2020-07-08 | 1 | -0/+1 |
| |