Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'sha256-compress-n' into master-updates | Niels Möller | 2022-08-15 | 1 | -2/+2 |
|\ | |||||
| * | Implement _nettle_sha256_compress_n, C and x86_64 asm | Niels Möller | 2022-07-05 | 1 | -1/+1 |
| | | |||||
| * | New file md-internal.h | Niels Möller | 2022-07-05 | 1 | -1/+1 |
| | | |||||
* | | [PowerPC] Implement Poly1305 single block update based on radix 2^64 | Maamoun TK | 2022-05-29 | 1 | -1/+1 |
|/ | |||||
* | Add missing file fat-arm64.c to tar file. | Niels Möller | 2022-05-23 | 1 | -1/+1 |
| | |||||
* | Refactor GCM C implementation. | Niels Möller | 2022-02-18 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Assembly implementations not yet updated. * Makefile.in (nettle_SOURCES): Add ghash-set-key.c ghash-update.c. (DISTFILES): Replaced gcm-internal.h with ghash-internal.h. * testsuite/gcm-test.c (test_ghash_internal): Updated to use _ghash_set_key and _ghash_update. * gcm.c (INC32): Deleted macro, used in only one place. (gcm_set_key): Update to use _ghash_set_key. (gcm_hash): Renamed, was _gcm_hash, and implemented in terms of _ghash_update. (bswap_if_le): New function (copied from nist-keywrap.c). (gcm_hash_sizes): Use bswap_if_le and _ghash_update. (gcm_set_iv): Updated to use gcm_hash and block16_zero. (gcm_digest): Use _ghash_digest. * ghash-internal.h: New file, declaring new internal ghash interface. * gcm-internal.h: Deleted file. * ghash-update.c (gcm_gf_shift_8): Moved here (from gcm.c) (gcm_gf_mul): Likewise. (_ghash_update): New function, extracted from _nettle_gcm_hash_c. (_ghash_digest): New function. * ghash-set-key.c (_ghash_set_key): New file and function. Extracted from _nettle_gcm_init_key_c and _nettle_gcm_set_key. | ||||
* | x86_64: Initial implementation of gcm using the pclmulqdq instructions. | Niels Möller | 2022-02-15 | 1 | -1/+1 |
| | |||||
* | hmac: add support for SM3 hash function | Tianjia Zhang | 2021-12-01 | 1 | -2/+2 |
| | | | | | | Add support for calculating HMAC using SM3 hash functions. Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com> | ||||
* | Add OSCCA SM3 hash algorithm | Tianjia Zhang | 2021-12-01 | 1 | -1/+2 |
| | | | | | | | Add OSCCA SM3 secure hash (OSCCA GM/T 0004-2012 SM3) generic hash transformation. Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com> | ||||
* | Delete a few old FIXME comments | Niels Möller | 2021-09-24 | 1 | -6/+0 |
| | |||||
* | Use texi2pdf to generate the pdf manual | Niels Möller | 2021-09-21 | 1 | -10/+1 |
| | |||||
* | Add specialized functions for cbc-aes. | Niels Möller | 2021-09-09 | 1 | -1/+2 |
| | |||||
* | [S390x] Optimize SHA1 compress | Mamone Tarsha | 2021-08-10 | 1 | -1/+1 |
| | |||||
* | Merge branch 'mamonet/nettle-s390x-memxor' into master-updates | Niels Möller | 2021-08-06 | 1 | -1/+1 |
|\ | |||||
| * | [S390x] Optimize memxor3 using vector facility with fat support | Mamone Tarsha | 2021-07-22 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 's390x' into master-updates | Niels Möller | 2021-07-24 | 1 | -3/+6 |
|\ \ | |/ | |||||
| * | Add fat-s390x.c to OPT_SOURCES.s390x | Niels Möller | 2021-07-21 | 1 | -1/+1 |
| | | |||||
| * | Fix name of s390x/fat directory in make dist target. | Niels Möller | 2021-07-21 | 1 | -1/+1 |
| | | |||||
| * | [S390x] Fat build support for AES and GHASH | Mamone Tarsha | 2021-07-10 | 1 | -1/+1 |
| | | |||||
| * | [S390x] Update configure.ac and Makefile.in | Mamone Tarsha | 2021-06-27 | 1 | -1/+1 |
| | | |||||
| * | [S390x] Basic AES-192 and AES-256 optimizations | Mamone Tarsha | 2021-05-08 | 1 | -1/+1 |
| | | |||||
| * | [S390x] Basic AES-128 optimization | mamonet | 2021-04-05 | 1 | -1/+1 |
| | | |||||
| * | Split aes-encrypt.c and aes-decrypt.c into one file per key size. | Niels Möller | 2021-04-01 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move aes128_encrypt and similar functions to their own files. To make it easier for assembly implementations to override specific AES variants. * aes-decrypt.c: Split file, keep only legacy function aes_decrypt here. * aes-decrypt-table.c (_nettle_aes_decrypt_table): New file, moved table here. * aes128-decrypt.c (aes128_decrypt): New file, moved function here. * aes192-decrypt.c (aes192_decrypt): New file, moved function here. * aes256-decrypt.c (aes256_decrypt): New file, moved function here. * aes-encrypt.c: Split file, keep only legacy function aes_encrypt here. * aes128-encrypt.c (aes128_encrypt): New file, moved function here. * aes192-encrypt.c (aes192_encrypt): New file, moved function here. * aes256-encrypt.c (aes256_encrypt): New file, moved function here. * Makefile.in (nettle_SOURCES): Add new files. | ||||
| * | Initial config for s390x, contributed by Mamone Tarsha. | Niels Möller | 2021-03-28 | 1 | -1/+2 |
| | | | | | | | | | | | | | | * 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 | ||||
* | | Implement aes key wrap and key unwrap (RFC 3394) | Nicolas Mora | 2021-05-23 | 1 | -1/+2 |
|/ | |||||
* | [AArch64] Support fat build for GCM optimization | Maamoun TK | 2021-03-21 | 1 | -1/+1 |
| | |||||
* | Merge branch 'arm64' | Niels Möller | 2021-03-04 | 1 | -0/+1 |
|\ | |||||
| * | aarch64: Rename arm64/v8/ --> arm64/crypto/arm64 | Niels Möller | 2021-02-03 | 1 | -1/+1 |
| | | |||||
| * | aarch64: Implement GHASH using the crypto extension pmul instructions. | Maamoun TK | 2021-01-31 | 1 | -1/+2 |
| | | |||||
| * | Recognize arm64 in configure | Niels Möller | 2021-01-05 | 1 | -1/+1 |
| | | |||||
* | | Implement pbkdf2_hmac_sha384 and pbkdf2_hmac_sha512 | Nicolas Mora | 2021-02-01 | 1 | -1/+1 |
|/ | |||||
* | Distribute the README files in assembly directories. | Niels Möller | 2020-12-26 | 1 | -1/+1 |
| | |||||
* | ppc: Enable gcm code in fat builds. Based on patch by Mamone Tarsha. | Niels Möller | 2020-11-26 | 1 | -2/+2 |
| | |||||
* | ppc: Assembly implementation of _chacha_core. | 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 | -2/+2 |
| | | | | | | | | | | | | | * 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. | ||||
* | M4 utilities, from GMP. | Niels Möller | 2020-09-21 | 1 | -1/+1 |
| | | | | | | * m4-utils.m4: New file with m4 utilities, copied from GMP's mpn/asm-defs.m4. * Makefile.in (DISTFILES): Add m4-utils.m4. | ||||
* | Add missing file blowfish-internal.h to DISTFILES. | Niels Möller | 2020-09-15 | 1 | -1/+1 |
| | |||||
* | Add support for powerpc64 fat build | Niels Möller | 2020-08-26 | 1 | -1/+1 |
| | | | | 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 | -1/+2 |
| | |||||
* | New make target check-fat | Niels Möller | 2020-07-31 | 1 | -0/+12 |
| | |||||
* | Rearrange salsa20, enabling ARM fat builds to use sala20_2core.salsa20-2core-neon | Niels Möller | 2020-07-08 | 1 | -1/+1 |
| | |||||
* | blowfish: Add bcrypt support. | Stephen R. van den Berg | 2020-06-30 | 1 | -1/+1 |
| | |||||
* | hmac: add support for streebog256/512 hash function | Dmitry Baryshkov | 2020-06-08 | 1 | -2/+2 |
| | | | | | | Add support for calculating HMAC using Streebog hash functions. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com> | ||||
* | Implement GOST R 34.11-2012 (Streebog) hash function | Dmitry Baryshkov | 2020-06-06 | 1 | -1/+2 |
| | | | | | | Also add nettle_streebog256 and nettle_streebog512 to nettle meta interface. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com> | ||||
* | DISTFILES fixes.nettle_3.6rc2 | Niels Möller | 2020-04-25 | 1 | -1/+1 |
| | |||||
* | Implement GOST VKO key derivation algorithm | Dmitry Eremin-Solenikov | 2020-04-21 | 1 | -1/+1 |
| | | | | Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com> | ||||
* | Reorder DISTFILES to avoid wrong timestamp order in tar file. | Niels Möller | 2020-04-15 | 1 | -1/+1 |
| | |||||
* | cmac-des3: add meta declaration to Nettle library | Dmitry Baryshkov | 2020-03-08 | 1 | -1/+1 |
| | | | | | | | Move cmac-des3 meta information from testsuite/cmac-test.c to main Nettle library. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com> | ||||
* | nettle-meta: Expose defined MACs through nettle_macsmove-nettle_mac | Niels Möller | 2020-02-09 | 1 | -1/+1 |
| | | | | Based on patches by Daiki Ueno. |