]> git.ipfire.org Git - thirdparty/nettle.git/log
thirdparty/nettle.git
12 years agoFix condition for when the block buffer is full.
Edgar E. Iglesias [Sat, 6 Apr 2013 09:30:10 +0000 (11:30 +0200)] 
Fix condition for when the block buffer is full.

12 years agoecc_point_get: Allow NULL x or y.
Niels Möller [Thu, 4 Apr 2013 14:28:40 +0000 (16:28 +0200)] 
ecc_point_get: Allow NULL x or y.

12 years agoUpdate manual with ECC material and some spell checking.
Niels Möller [Thu, 4 Apr 2013 14:27:02 +0000 (16:27 +0200)] 
Update manual with ECC material and some spell checking.

12 years agoAdd a fallback definition for mpn_sqr.
Martin Storsjö [Mon, 25 Mar 2013 09:19:43 +0000 (11:19 +0200)] 
Add a fallback definition for mpn_sqr.

12 years agoAdd fallback functions for mpn_copyd, mpn_copyi and mpn_zero.
Martin Storsjö [Sat, 23 Mar 2013 21:21:09 +0000 (23:21 +0200)] 
Add fallback functions for mpn_copyd, mpn_copyi and mpn_zero.

12 years agoUse mpn_cnd_add_n and mpn_cnd_sub_n when available. Rearrange inclusions of gmp-glue.h.
Niels Möller [Thu, 4 Apr 2013 09:07:31 +0000 (11:07 +0200)] 
Use mpn_cnd_add_n and mpn_cnd_sub_n when available. Rearrange inclusions of gmp-glue.h.

12 years agoImplemented ecc_point_mul and ecc_point_mul_g.
Niels Möller [Wed, 3 Apr 2013 11:53:13 +0000 (13:53 +0200)] 
Implemented ecc_point_mul and ecc_point_mul_g.

12 years agoTests for salsa20r12.
Niels Möller [Wed, 3 Apr 2013 11:43:09 +0000 (13:43 +0200)] 
Tests for salsa20r12.

12 years agoUpdated release plan.
Niels Möller [Tue, 2 Apr 2013 08:34:51 +0000 (10:34 +0200)] 
Updated release plan.

12 years agoUpdated FIPS reference.
Niels Möller [Tue, 26 Mar 2013 13:13:17 +0000 (14:13 +0100)] 
Updated FIPS reference.

12 years agoGenerate Salsa20 intermediate values.
Niels Möller [Tue, 26 Mar 2013 13:12:17 +0000 (14:12 +0100)] 
Generate Salsa20 intermediate values.

12 years agoARM assembly for salsa20.
Niels Möller [Tue, 26 Mar 2013 13:02:34 +0000 (14:02 +0100)] 
ARM assembly for salsa20.

12 years agoChangeLog for Martin's timing changes.
Niels Möller [Mon, 25 Mar 2013 14:18:55 +0000 (15:18 +0100)] 
ChangeLog for Martin's timing changes.

12 years agoTypo fix in file header.
Niels Möller [Mon, 25 Mar 2013 14:18:11 +0000 (15:18 +0100)] 
Typo fix in file header.

12 years agoFactorize timing functions to a separate file
Martin Storsjö [Mon, 25 Mar 2013 10:25:14 +0000 (12:25 +0200)] 
Factorize timing functions to a separate file

This avoids unconditionally using clock_gettime in
{ecc,hogweed}-benchmark, falling back to clock() in these
as well.

This makes building succeed on e.g. OS X.

12 years agoWhitespace cleanup.
Niels Möller [Mon, 25 Mar 2013 14:08:38 +0000 (15:08 +0100)] 
Whitespace cleanup.

12 years agoNiko's salsa20r12 changes.
Niels Möller [Mon, 25 Mar 2013 11:53:34 +0000 (12:53 +0100)] 
Niko's salsa20r12 changes.

12 years agoAdded encryption function for 12-round salsa20.
Nikos Mavrogiannopoulos [Sun, 17 Mar 2013 13:16:09 +0000 (14:16 +0100)] 
Added encryption function for 12-round salsa20.

12 years agoUpdate with Martin Storsjö's changes.
Niels Möller [Mon, 25 Mar 2013 11:47:10 +0000 (12:47 +0100)] 
Update with Martin Storsjö's changes.

12 years agoUse local paths for including headers in examples and tests
Martin Storsjö [Sat, 23 Mar 2013 21:21:35 +0000 (23:21 +0200)] 
Use local paths for including headers in examples and tests

This makes sure a plain "make" succeeds without doing "make install".

12 years agoDo the movd/movq workaround for the osx assembler, for sha3-permute
Martin Storsjö [Mon, 25 Mar 2013 09:38:16 +0000 (10:38 +0100)] 
Do the movd/movq workaround for the osx assembler, for sha3-permute

This is the same workaround as done in f58d1c288f6 for salsa20-crypt.

12 years agoDon't include asm objects twice in shared libhogweed.
Niels Möller [Mon, 25 Mar 2013 09:22:52 +0000 (10:22 +0100)] 
Don't include asm objects twice in shared libhogweed.

12 years agoARM sha3: Use 128-bit xor.
Niels Möller [Fri, 15 Mar 2013 08:09:43 +0000 (09:09 +0100)] 
ARM sha3: Use 128-bit xor.

12 years agoARM sha3 micro optimization: Eliminate a vmov.
Niels Möller [Fri, 15 Mar 2013 07:20:39 +0000 (08:20 +0100)] 
ARM sha3 micro optimization: Eliminate a vmov.

12 years agoInitial ARM assembly for sha3_permute.
Niels Möller [Fri, 15 Mar 2013 07:09:19 +0000 (08:09 +0100)] 
Initial ARM assembly for sha3_permute.

12 years agoARM: New macro QREG.
Niels Möller [Fri, 15 Mar 2013 07:07:26 +0000 (08:07 +0100)] 
ARM: New macro QREG.

12 years agoReenabled sha3-permute.asm.
Niels Möller [Thu, 14 Mar 2013 15:52:06 +0000 (16:52 +0100)] 
Reenabled sha3-permute.asm.

12 years agoReformatted SHA512 intermediate values.
Niels Möller [Thu, 14 Mar 2013 13:50:45 +0000 (14:50 +0100)] 
Reformatted SHA512 intermediate values.

12 years agoImproved ARM sha512 assembly.
Niels Möller [Thu, 14 Mar 2013 13:43:27 +0000 (14:43 +0100)] 
Improved ARM sha512 assembly.

12 years agoUse neon registers for loading the input. Slight slowdown.
Niels Möller [Thu, 14 Mar 2013 09:32:22 +0000 (10:32 +0100)] 
Use neon registers for loading the input. Slight slowdown.

12 years agoAdditional SHA512 tests.
Niels Möller [Thu, 14 Mar 2013 08:57:36 +0000 (09:57 +0100)] 
Additional SHA512 tests.

12 years agoInitial ARM neon assembly for SHA512.
Niels Möller [Wed, 13 Mar 2013 15:16:38 +0000 (16:16 +0100)] 
Initial ARM neon assembly for SHA512.

12 years agoComment fix.
Niels Möller [Wed, 13 Mar 2013 09:38:14 +0000 (10:38 +0100)] 
Comment fix.

12 years agox86_64 assembly for sha512.
Niels Möller [Wed, 13 Mar 2013 09:02:32 +0000 (10:02 +0100)] 
x86_64 assembly for sha512.

12 years agoGenerate SHA512 intermediate values.
Niels Möller [Wed, 13 Mar 2013 09:00:03 +0000 (10:00 +0100)] 
Generate SHA512 intermediate values.

12 years agoEliminated a temporary in the SHA512 round.
Niels Möller [Wed, 13 Mar 2013 08:23:58 +0000 (09:23 +0100)] 
Eliminated a temporary in the SHA512 round.

12 years agox86_64 assembly for sha256.
Niels Möller [Wed, 13 Mar 2013 08:17:43 +0000 (09:17 +0100)] 
x86_64 assembly for sha256.

12 years agoGenerate SHA256 intermediate values.
Niels Möller [Mon, 11 Mar 2013 14:06:47 +0000 (15:06 +0100)] 
Generate SHA256 intermediate values.

12 years agoARM assembly for sha256.
Niels Möller [Mon, 11 Mar 2013 14:00:56 +0000 (15:00 +0100)] 
ARM assembly for sha256.

12 years agoEliminated a temporary in the SHA256 round.
Niels Möller [Mon, 11 Mar 2013 10:08:34 +0000 (11:08 +0100)] 
Eliminated a temporary in the SHA256 round.

12 years agoARM assembly for sha1.
Niels Möller [Mon, 11 Mar 2013 09:21:12 +0000 (10:21 +0100)] 
ARM assembly for sha1.

12 years agoTest different alignment for hash input.
Niels Möller [Mon, 11 Mar 2013 07:54:36 +0000 (08:54 +0100)] 
Test different alignment for hash input.

12 years agoARM assembly for AES.
Niels Möller [Fri, 8 Mar 2013 14:04:29 +0000 (15:04 +0100)] 
ARM assembly for AES.

12 years agoMerge branch 'ecc-support'.
Niels Möller [Thu, 7 Mar 2013 14:43:55 +0000 (15:43 +0100)] 
Merge branch 'ecc-support'.

12 years agoMake gmp-glue.c work in the case that GMP does define mpz_limbs_read and friends. ecc-support
Niels Möller [Thu, 7 Mar 2013 14:10:54 +0000 (15:10 +0100)] 
Make gmp-glue.c work in the case that GMP does define mpz_limbs_read and friends.

12 years agoSetup and use CC_FOR_BUILD.
Niels Möller [Thu, 7 Mar 2013 13:51:02 +0000 (14:51 +0100)] 
Setup and use CC_FOR_BUILD.

12 years agoPrepare data generation programs for compilation with the build system compiler.
Niels Möller [Thu, 7 Mar 2013 13:43:40 +0000 (14:43 +0100)] 
Prepare data generation programs for compilation with the build system compiler.

12 years agox86_64 assembly for ecc_521_modp.
Niels Möller [Thu, 7 Mar 2013 07:56:56 +0000 (08:56 +0100)] 
x86_64 assembly for ecc_521_modp.

12 years agox86_64 assembly for ecc_384_modp.
Niels Möller [Wed, 6 Mar 2013 14:53:01 +0000 (15:53 +0100)] 
x86_64 assembly for ecc_384_modp.

12 years agoComment fixes.
Niels Möller [Wed, 6 Mar 2013 14:51:55 +0000 (15:51 +0100)] 
Comment fixes.

12 years agox86_64 assembly for ecc_256_redc.
Niels Möller [Wed, 6 Mar 2013 09:40:34 +0000 (10:40 +0100)] 
x86_64 assembly for ecc_256_redc.

12 years agox86_64 assembly for ecc_224_modp.
Niels Möller [Wed, 6 Mar 2013 08:33:26 +0000 (09:33 +0100)] 
x86_64 assembly for ecc_224_modp.

12 years agoARM assembly for ecc_521_modp.
Niels Möller [Tue, 5 Mar 2013 10:04:20 +0000 (11:04 +0100)] 
ARM assembly for ecc_521_modp.

12 years agoARM assembly for ecc_384_modp.
Niels Möller [Mon, 4 Mar 2013 14:18:10 +0000 (15:18 +0100)] 
ARM assembly for ecc_384_modp.

12 years agoNote that r14/lr can be used.
Niels Möller [Mon, 4 Mar 2013 14:17:14 +0000 (15:17 +0100)] 
Note that r14/lr can be used.

12 years agoFixed definition of USE_REDC for ecc-256.c.
Niels Möller [Sun, 3 Mar 2013 15:47:06 +0000 (16:47 +0100)] 
Fixed definition of USE_REDC for ecc-256.c.

12 years agoARM assembly for ecc_256_redc.
Niels Möller [Fri, 1 Mar 2013 13:17:36 +0000 (14:17 +0100)] 
ARM assembly for ecc_256_redc.

12 years agoIncrease test count for ecc-redc-test.
Niels Möller [Fri, 1 Mar 2013 13:13:23 +0000 (14:13 +0100)] 
Increase test count for ecc-redc-test.

12 years agoARM assembly for ecc_224_modp.
Niels Möller [Fri, 1 Mar 2013 09:17:27 +0000 (10:17 +0100)] 
ARM assembly for ecc_224_modp.

12 years agoFixed handling of OPT_ASM_SOURCES. Added ecc-224-modp.asm.
Niels Möller [Fri, 1 Mar 2013 09:04:24 +0000 (10:04 +0100)] 
Fixed handling of OPT_ASM_SOURCES. Added ecc-224-modp.asm.

12 years agoReduce number of additions for x86_64 ecc_192_modp.
Niels Möller [Thu, 28 Feb 2013 10:45:44 +0000 (11:45 +0100)] 
Reduce number of additions for x86_64 ecc_192_modp.

12 years agoUpdated x86_64 README.
Niels Möller [Thu, 28 Feb 2013 10:41:33 +0000 (11:41 +0100)] 
Updated x86_64 README.

12 years agoFixed hogweed dependency in examples/Makefile.in.
Niels Möller [Thu, 28 Feb 2013 10:13:37 +0000 (11:13 +0100)] 
Fixed hogweed dependency in examples/Makefile.in.

12 years agoARM assembly for ecc_192_modp.
Niels Möller [Thu, 28 Feb 2013 09:46:18 +0000 (10:46 +0100)] 
ARM assembly for ecc_192_modp.

12 years agoFixed 32-bit ecc_192_modp.
Niels Möller [Wed, 27 Feb 2013 15:20:42 +0000 (16:20 +0100)] 
Fixed 32-bit ecc_192_modp.

12 years agox86_64 assembly for ecc_192_modp
Niels Möller [Wed, 27 Feb 2013 14:56:32 +0000 (15:56 +0100)] 
x86_64 assembly for ecc_192_modp

12 years agoPrepare autoconf and Makefile for optional assembly files.
Niels Möller [Wed, 27 Feb 2013 14:51:51 +0000 (15:51 +0100)] 
Prepare autoconf and Makefile for optional assembly files.

12 years agoIncreased test count for ecc-mod-test.c.
Niels Möller [Wed, 27 Feb 2013 14:43:12 +0000 (15:43 +0100)] 
Increased test count for ecc-mod-test.c.

12 years agoFixed bug in 64-bit ecc_384_modp.
Niels Möller [Wed, 27 Feb 2013 14:15:53 +0000 (15:15 +0100)] 
Fixed bug in 64-bit ecc_384_modp.

12 years agoTypo fix in ecc-benchmark.c
Niels Möller [Wed, 27 Feb 2013 08:26:51 +0000 (09:26 +0100)] 
Typo fix in ecc-benchmark.c

12 years agoRenamed gmp-glue functions. Use new GMP functions if available.
Niels Möller [Wed, 27 Feb 2013 08:11:41 +0000 (09:11 +0100)] 
Renamed gmp-glue functions. Use new GMP functions if available.

12 years agoNew program hogweed-benchmark.
Niels Möller [Wed, 20 Feb 2013 15:28:51 +0000 (16:28 +0100)] 
New program hogweed-benchmark.

12 years agoImplemented ECDSA key generation.
Niels Möller [Wed, 20 Feb 2013 10:27:24 +0000 (11:27 +0100)] 
Implemented ECDSA key generation.

12 years agoFixed TMP_ALLOC, was missing parentheses.
Niels Möller [Wed, 20 Feb 2013 10:22:00 +0000 (11:22 +0100)] 
Fixed TMP_ALLOC, was missing parentheses.

12 years agoMerged some ARM memxor changes.
Niels Möller [Tue, 19 Feb 2013 14:53:02 +0000 (15:53 +0100)] 
Merged some ARM memxor changes.

12 years agoARM memxor: Delay push of registers. Accidentally slowed down memxor3.
Niels Möller [Tue, 19 Feb 2013 12:44:10 +0000 (13:44 +0100)] 
ARM memxor: Delay push of registers. Accidentally slowed down memxor3.

12 years agoOptimized ARM memxor.
Niels Möller [Tue, 19 Feb 2013 12:09:55 +0000 (13:09 +0100)] 
Optimized ARM memxor.

12 years agoAdded ECDSA tests.
Niels Möller [Mon, 18 Feb 2013 14:52:17 +0000 (15:52 +0100)] 
Added ECDSA tests.

12 years agoDeleted const cast in SHEX macro.
Niels Möller [Mon, 18 Feb 2013 14:47:03 +0000 (15:47 +0100)] 
Deleted const cast in SHEX macro.

12 years agoIntegrated ECDSA sign and verify functions.
Niels Möller [Mon, 18 Feb 2013 14:44:47 +0000 (15:44 +0100)] 
Integrated ECDSA sign and verify functions.

12 years agoNew functions in gmp-glue.c.
Niels Möller [Mon, 18 Feb 2013 14:29:00 +0000 (15:29 +0100)] 
New functions in gmp-glue.c.

12 years agoBenchmark program for ECC primitives.
Niels Möller [Mon, 18 Feb 2013 08:33:51 +0000 (09:33 +0100)] 
Benchmark program for ECC primitives.

12 years agoUpdated .gitignore files.
Niels Möller [Fri, 15 Feb 2013 15:38:42 +0000 (16:38 +0100)] 
Updated .gitignore files.

12 years agoIntegrate ecc_mul_a.
Niels Möller [Fri, 15 Feb 2013 15:36:26 +0000 (16:36 +0100)] 
Integrate ecc_mul_a.

12 years agoAdded die function to testutils.c.
Niels Möller [Fri, 15 Feb 2013 15:29:26 +0000 (16:29 +0100)] 
Added die function to testutils.c.

12 years agoWhitespace fixes.
Niels Möller [Fri, 15 Feb 2013 15:15:26 +0000 (16:15 +0100)] 
Whitespace fixes.

12 years agoFixed sec_sub_1 typo, 32-bit case.
Niels Möller [Fri, 15 Feb 2013 10:17:54 +0000 (11:17 +0100)] 
Fixed sec_sub_1 typo, 32-bit case.

12 years agoIntegrate ecc_mul_g.
Niels Möller [Fri, 15 Feb 2013 10:01:13 +0000 (11:01 +0100)] 
Integrate ecc_mul_g.

12 years agoFixed missing include of config.h.
Niels Möller [Fri, 15 Feb 2013 09:36:16 +0000 (10:36 +0100)] 
Fixed missing include of config.h.

12 years agoIntegrated ECC internals.
Niels Möller [Fri, 15 Feb 2013 08:47:14 +0000 (09:47 +0100)] 
Integrated ECC internals.

12 years agoFunctions for mpn <-> mpz conversions.
Niels Möller [Fri, 15 Feb 2013 08:18:46 +0000 (09:18 +0100)] 
Functions for mpn <-> mpz conversions.

12 years agoNew program eccdata, and Makefile rules to use it.
Niels Möller [Fri, 15 Feb 2013 08:12:27 +0000 (09:12 +0100)] 
New program eccdata, and Makefile rules to use it.

12 years agoConfigure check for GMP_NUMB_BITS.
Niels Möller [Thu, 14 Feb 2013 10:58:00 +0000 (11:58 +0100)] 
Configure check for GMP_NUMB_BITS.

12 years agoUpdate of plan.html.
Niels Möller [Thu, 14 Feb 2013 10:32:11 +0000 (11:32 +0100)] 
Update of plan.html.

12 years agoAdded -s and -e options to examples/rsa-keygen.
Niels Möller [Thu, 14 Feb 2013 10:31:22 +0000 (11:31 +0100)] 
Added -s and -e options to examples/rsa-keygen.

12 years agoarmv7: Optimized aligned case of memxor, using 3-way unrolling.
Niels Möller [Tue, 12 Feb 2013 14:57:37 +0000 (15:57 +0100)] 
armv7: Optimized aligned case of memxor, using 3-way unrolling.

12 years agoNotes on using ldmia and stmia.
Niels Möller [Tue, 12 Feb 2013 14:54:34 +0000 (15:54 +0100)] 
Notes on using ldmia and stmia.

12 years agoARM: Optmized aligned case of memxor3.
Niels Möller [Wed, 6 Feb 2013 13:29:08 +0000 (14:29 +0100)] 
ARM: Optmized aligned case of memxor3.

12 years agoMinor tweaks to memxor3.
Niels Möller [Wed, 6 Feb 2013 12:28:12 +0000 (13:28 +0100)] 
Minor tweaks to memxor3.

12 years agoARM: Optmized aligned case of memxor.
Niels Möller [Wed, 6 Feb 2013 12:13:29 +0000 (13:13 +0100)] 
ARM: Optmized aligned case of memxor.