]> git.ipfire.org Git - thirdparty/nettle.git/log
thirdparty/nettle.git
11 years agoMove block buffer from poly1305_ctx to poly1305_aes_ctx. Simplify poly1305_digest. poly1305
Niels Möller [Mon, 20 Jan 2014 13:14:40 +0000 (14:14 +0100)] 
Move block buffer from poly1305_ctx to poly1305_aes_ctx. Simplify poly1305_digest.

11 years agopoly1305_block: New argument for the high bit.
Niels Möller [Fri, 17 Jan 2014 15:59:52 +0000 (16:59 +0100)] 
poly1305_block: New argument for the high bit.

11 years agoMove nonce from poly1305_ctx to poly1305_aes_ctx.
Niels Möller [Fri, 17 Jan 2014 07:52:10 +0000 (08:52 +0100)] 
Move nonce from poly1305_ctx to poly1305_aes_ctx.

11 years agoMove poly1305-aes.h declarations into poly1305.h. Deleted POLY1305_* macros.
Niels Möller [Thu, 16 Jan 2014 16:15:28 +0000 (17:15 +0100)] 
Move poly1305-aes.h declarations into poly1305.h. Deleted POLY1305_* macros.

11 years agoTypo fix for poly1305 C implementation.
Niels Möller [Thu, 16 Jan 2014 16:05:46 +0000 (17:05 +0100)] 
Typo fix for poly1305 C implementation.

11 years agoReorder declarations.
Niels Möller [Thu, 16 Jan 2014 15:45:59 +0000 (16:45 +0100)] 
Reorder declarations.

11 years agoMake poly1305 code use struct aes128_ctx.
Niels Möller [Thu, 16 Jan 2014 15:18:25 +0000 (16:18 +0100)] 
Make poly1305 code use struct aes128_ctx.

11 years agoNew function poly1305_update.
Niels Möller [Thu, 19 Dec 2013 12:07:18 +0000 (13:07 +0100)] 
New function poly1305_update.

11 years agox86_64 assembly for poly1305.
Niels Möller [Thu, 21 Nov 2013 22:04:09 +0000 (23:04 +0100)] 
x86_64 assembly for poly1305.

11 years agoPreparations for 64-bit poly1305.
Niels Möller [Thu, 21 Nov 2013 22:00:15 +0000 (23:00 +0100)] 
Preparations for 64-bit poly1305.

11 years agoUpdated copyright header.
Niels Möller [Tue, 12 Nov 2013 19:33:35 +0000 (20:33 +0100)] 
Updated copyright header.

11 years agoNew function poly1305_block_internal.
Niels Möller [Tue, 12 Nov 2013 16:23:43 +0000 (17:23 +0100)] 
New function poly1305_block_internal.

11 years agoNew file poly1305-internal.c
Niels Möller [Tue, 12 Nov 2013 16:14:24 +0000 (17:14 +0100)] 
New file poly1305-internal.c

11 years agoRe-indent poly1305 code.
Niels Möller [Sun, 10 Nov 2013 19:30:49 +0000 (20:30 +0100)] 
Re-indent poly1305 code.

11 years agoFirst implementation of poly1305.
Nikos Mavrogiannopoulos [Sat, 9 Nov 2013 07:07:21 +0000 (08:07 +0100)] 
First implementation of poly1305.

11 years agoUpdated plan.html.
Niels Möller [Sat, 5 Oct 2013 18:54:16 +0000 (20:54 +0200)] 
Updated plan.html.

11 years agoImplemented EAX.
Niels Möller [Sat, 5 Oct 2013 18:52:11 +0000 (20:52 +0200)] 
Implemented EAX.

11 years agoFixed aes name mangling.
Niels Möller [Sat, 5 Oct 2013 18:38:32 +0000 (20:38 +0200)] 
Fixed aes name mangling.

11 years agoMerged aes-reorg branch.
Niels Möller [Sat, 28 Sep 2013 10:01:07 +0000 (12:01 +0200)] 
Merged aes-reorg branch.

11 years agoUpdated plan.
Niels Möller [Sat, 28 Sep 2013 08:02:46 +0000 (10:02 +0200)] 
Updated plan.

11 years agoMade hash functions use an uint64_t for the block count.
Niels Möller [Sat, 28 Sep 2013 07:43:12 +0000 (09:43 +0200)] 
Made hash functions use an uint64_t for the block count.

11 years agoSome whitespace and comment fixes.
Niels Möller [Sat, 28 Sep 2013 07:27:58 +0000 (09:27 +0200)] 
Some whitespace and comment fixes.

11 years agoProgress indicator for test_hash_large.
Niels Möller [Sat, 28 Sep 2013 07:23:19 +0000 (09:23 +0200)] 
Progress indicator for test_hash_large.

11 years agoMD_PAD: Don't depend on sizeof of the count field(s).
Niels Möller [Sat, 28 Sep 2013 07:21:38 +0000 (09:21 +0200)] 
MD_PAD: Don't depend on sizeof of the count field(s).

11 years agoNew x86_64 assembly for gcm hashing.
Niels Möller [Sun, 22 Sep 2013 18:48:57 +0000 (20:48 +0200)] 
New x86_64 assembly for gcm hashing.

11 years agoFixed dependencies for des.po.
Niels Möller [Sat, 21 Sep 2013 19:54:47 +0000 (21:54 +0200)] 
Fixed dependencies for des.po.

11 years agoMore tests for gcm_hash.
Niels Möller [Fri, 20 Sep 2013 12:56:34 +0000 (14:56 +0200)] 
More tests for gcm_hash.

11 years agoFixed link dependency problems with --disable-static.
Niels Möller [Wed, 18 Sep 2013 18:53:36 +0000 (20:53 +0200)] 
Fixed link dependency problems with --disable-static.

11 years agoSupport optional assembly files for both nettle and hogweed.
Niels Möller [Mon, 9 Sep 2013 04:24:53 +0000 (06:24 +0200)] 
Support optional assembly files for both nettle and hogweed.
Prepare for assembly gcm_gf_mul_8.

11 years agoIgnore nettle-pbkdf2 executable.
Niels Möller [Tue, 3 Sep 2013 18:59:37 +0000 (20:59 +0200)] 
Ignore nettle-pbkdf2 executable.

11 years agoTypo fix, spotted by Bruce Korb.
Niels Möller [Tue, 3 Sep 2013 18:58:03 +0000 (20:58 +0200)] 
Typo fix, spotted by Bruce Korb.

11 years agoAdapted yarrow code to use new aes256 interface. aes-reorg
Niels Möller [Tue, 13 Aug 2013 07:19:00 +0000 (09:19 +0200)] 
Adapted yarrow code to use new aes256 interface.

12 years agoAdapted umac code to use new aes128 interface.
Niels Möller [Wed, 7 Aug 2013 07:58:18 +0000 (09:58 +0200)] 
Adapted umac code to use new aes128 interface.

12 years agoUpdated copyright year.
Niels Möller [Tue, 25 Jun 2013 20:41:56 +0000 (22:41 +0200)] 
Updated copyright year.

12 years agoNew interface for AES-256. Also deleted old aes-meta.c.
Niels Möller [Tue, 25 Jun 2013 20:35:05 +0000 (22:35 +0200)] 
New interface for AES-256. Also deleted old aes-meta.c.

12 years agoNew interface for AES-192.
Niels Möller [Tue, 25 Jun 2013 20:19:36 +0000 (22:19 +0200)] 
New interface for AES-192.

12 years agoNew interface for AES-128.
Niels Möller [Tue, 25 Jun 2013 19:40:49 +0000 (21:40 +0200)] 
New interface for AES-128.

12 years agoDeleted redundant include.
Niels Möller [Tue, 25 Jun 2013 15:14:11 +0000 (17:14 +0200)] 
Deleted redundant include.

12 years agotest_aead: Allow digest size smaller than the block size.
Niels Möller [Tue, 25 Jun 2013 15:11:48 +0000 (17:11 +0200)] 
test_aead: Allow digest size smaller than the block size.

12 years agoMinor typo fix in comment.
Niels Möller [Tue, 25 Jun 2013 15:05:05 +0000 (17:05 +0200)] 
Minor typo fix in comment.

12 years agoNew program nettle-pbkdf2.
Niels Möller [Tue, 25 Jun 2013 11:47:08 +0000 (13:47 +0200)] 
New program nettle-pbkdf2.

12 years agonettle-hash.c: Use stack allocation for the small hex output buffer.
Niels Möller [Tue, 25 Jun 2013 11:07:02 +0000 (13:07 +0200)] 
nettle-hash.c: Use stack allocation for the small hex output buffer.

12 years agoDeleted unused macro.
Niels Möller [Tue, 25 Jun 2013 10:01:39 +0000 (12:01 +0200)] 
Deleted unused macro.

12 years agoUpdated plan.html.
Niels Möller [Tue, 25 Jun 2013 05:22:18 +0000 (07:22 +0200)] 
Updated plan.html.

12 years agoDistribute files in arm/v6 subdirectory.
Niels Möller [Tue, 28 May 2013 14:24:31 +0000 (16:24 +0200)] 
Distribute files in arm/v6 subdirectory.

12 years agoNew internal functions _aes_set_key and _aes_invert.
Niels Möller [Wed, 22 May 2013 18:14:14 +0000 (20:14 +0200)] 
New internal functions _aes_set_key and _aes_invert.

12 years agoarm: Adapted AES assembly to new interface.
Niels Möller [Wed, 22 May 2013 09:27:58 +0000 (11:27 +0200)] 
arm: Adapted AES assembly to new interface.

12 years agoAdapted sparc32 and sparc64 aes assembly to new interface.
Niels Möller [Tue, 21 May 2013 20:04:21 +0000 (22:04 +0200)] 
Adapted sparc32 and sparc64 aes assembly to new interface.

12 years agox86: Adapted aes assembly to new interface.
Niels Möller [Tue, 21 May 2013 17:14:43 +0000 (19:14 +0200)] 
x86: Adapted aes assembly to new interface.

12 years agox86_64: Adapted aes assembly to new interrface.
Niels Möller [Mon, 20 May 2013 18:36:25 +0000 (20:36 +0200)] 
x86_64: Adapted aes assembly to new interrface.

12 years agoarm: Moved sha1 and sha256 assembly into v6 subdirectory.
Niels Möller [Mon, 20 May 2013 08:28:25 +0000 (10:28 +0200)] 
arm: Moved sha1 and sha256 assembly into v6 subdirectory.

12 years agoInclude <stddef.h> in nettle-types.h, for size_t.
Niels Möller [Mon, 20 May 2013 08:21:01 +0000 (10:21 +0200)] 
Include <stddef.h> in nettle-types.h, for size_t.

12 years agoExpanded comment.
Niels Möller [Mon, 20 May 2013 08:12:58 +0000 (10:12 +0200)] 
Expanded comment.

12 years agoRearranged struct aes_ctx.
Niels Möller [Fri, 17 May 2013 15:35:36 +0000 (17:35 +0200)] 
Rearranged struct aes_ctx.

12 years agoSeparate rounds and key arguments to _aes_encrypt and _aes_decrypt.
Niels Möller [Fri, 17 May 2013 15:31:08 +0000 (17:31 +0200)] 
Separate rounds and key arguments to _aes_encrypt and _aes_decrypt.

12 years agoFix rotation macros to portably support zero rotation count.
Niels Möller [Fri, 17 May 2013 11:47:43 +0000 (13:47 +0200)] 
Fix rotation macros to portably support zero rotation count.

12 years agoFixed ECC bug with overlapping arguments to mpn_mul_n.
Niels Möller [Fri, 17 May 2013 08:09:17 +0000 (10:09 +0200)] 
Fixed ECC bug with overlapping arguments to mpn_mul_n.

12 years agoarm: Added AES code for pre-v6 processors.
Niels Möller [Thu, 16 May 2013 14:28:37 +0000 (16:28 +0200)] 
arm: Added AES code for pre-v6 processors.

12 years agoarm: Renamed AES_FINAL_ROUND.
Niels Möller [Thu, 16 May 2013 13:56:41 +0000 (15:56 +0200)] 
arm: Renamed AES_FINAL_ROUND.

12 years agoarm/v6: AES microptimization.
Niels Möller [Thu, 16 May 2013 09:09:30 +0000 (11:09 +0200)] 
arm/v6: AES microptimization.

12 years agoarm: Moved AES round macros from aes.m4 to the files using them.
Niels Möller [Thu, 16 May 2013 09:00:44 +0000 (11:00 +0200)] 
arm: Moved AES round macros from aes.m4 to the files using them.

12 years agoarm/v6: Alignment tweaks to aes code.
Niels Möller [Thu, 16 May 2013 08:32:45 +0000 (10:32 +0200)] 
arm/v6: Alignment tweaks to aes code.

12 years agoNew asm directory arm/v6. Moved aes functions using the uxtb instruction there.
Niels Möller [Wed, 15 May 2013 11:44:09 +0000 (13:44 +0200)] 
New asm directory arm/v6. Moved aes functions using the uxtb instruction there.

12 years agoUpdated release plan for 2.8.
Niels Möller [Fri, 3 May 2013 11:15:32 +0000 (13:15 +0200)] 
Updated release plan for 2.8.

12 years agocast128: Reorganized context struct. Rewrite of key schedule.
Niels Möller [Fri, 3 May 2013 09:42:17 +0000 (11:42 +0200)] 
cast128: Reorganized context struct. Rewrite of key schedule.

12 years agoUse GMP's mpz_combit if available.
Niels Möller [Thu, 2 May 2013 11:51:21 +0000 (13:51 +0200)] 
Use GMP's mpz_combit if available.

12 years agoReplaced use of old gmp-1 type MP_INT.
Niels Möller [Thu, 2 May 2013 09:55:21 +0000 (11:55 +0200)] 
Replaced use of old gmp-1 type MP_INT.

12 years agoUse size_t in testsuite. size_t-changes
Niels Möller [Thu, 2 May 2013 07:43:27 +0000 (09:43 +0200)] 
Use size_t in testsuite.

12 years agoUse size_t for ecc functions.
Niels Möller [Fri, 26 Apr 2013 12:51:49 +0000 (14:51 +0200)] 
Use size_t for ecc functions.

12 years agoUse size_t for pbkdf2.
Niels Möller [Fri, 26 Apr 2013 12:47:42 +0000 (14:47 +0200)] 
Use size_t for pbkdf2.

12 years agoUse size_t for _nettle_write functions.
Niels Möller [Fri, 26 Apr 2013 12:43:44 +0000 (14:43 +0200)] 
Use size_t for _nettle_write functions.

12 years agoUse size_t for bignums, rsa and dsa.
Niels Möller [Fri, 26 Apr 2013 12:39:27 +0000 (14:39 +0200)] 
Use size_t for bignums, rsa and dsa.

12 years agoUse size_t for asn1 parser.
Niels Möller [Fri, 26 Apr 2013 12:09:12 +0000 (14:09 +0200)] 
Use size_t for asn1 parser.

12 years agoUse size_t for realloc functions.
Niels Möller [Fri, 26 Apr 2013 11:57:08 +0000 (13:57 +0200)] 
Use size_t for realloc functions.

12 years agoUse size_t rather than unsigned for base16, base64, nettle_bufer and sexp related...
Niels Möller [Fri, 26 Apr 2013 11:43:57 +0000 (13:43 +0200)] 
Use size_t rather than unsigned for base16, base64, nettle_bufer and sexp related functions.

12 years agoUse size_t rather than unsigned for randomness related functions.
Niels Möller [Fri, 26 Apr 2013 08:53:36 +0000 (10:53 +0200)] 
Use size_t rather than unsigned for randomness related functions.

12 years agoComment updates in umac asm files.
Niels Möller [Fri, 26 Apr 2013 08:29:27 +0000 (10:29 +0200)] 
Comment updates in umac asm files.

12 years agoUse size_t rather than unsigned for all hash-related functions.
Niels Möller [Fri, 26 Apr 2013 08:28:57 +0000 (10:28 +0200)] 
Use size_t rather than unsigned for all hash-related functions.

12 years agoRevert to unsigned in struct nettle_cipher.
Niels Möller [Fri, 26 Apr 2013 08:15:44 +0000 (10:15 +0200)] 
Revert to unsigned in struct nettle_cipher.

12 years agoComment updates in asm files.
Niels Möller [Fri, 26 Apr 2013 07:30:03 +0000 (09:30 +0200)] 
Comment updates in asm files.

12 years agoUse size_t rather than unsigned for all cipher-related functions.
Niels Möller [Fri, 26 Apr 2013 07:23:44 +0000 (09:23 +0200)] 
Use size_t rather than unsigned for all cipher-related functions.

12 years agoIncrease version number, to 2.8, and bump nettle library major number to 5.
Niels Möller [Thu, 25 Apr 2013 07:15:00 +0000 (09:15 +0200)] 
Increase version number, to 2.8, and bump nettle library major number to 5.

12 years agoDeleted unneeded casts in benchmark program.
Niels Möller [Thu, 25 Apr 2013 07:10:54 +0000 (09:10 +0200)] 
Deleted unneeded casts in benchmark program.

12 years agoAdd benchmarking of OpenSSL's RSA functions.
Niels Möller [Thu, 25 Apr 2013 06:59:21 +0000 (08:59 +0200)] 
Add benchmarking of OpenSSL's RSA functions.

12 years agoUpdated some memxor comments.
Niels Möller [Wed, 24 Apr 2013 21:20:13 +0000 (23:20 +0200)] 
Updated some memxor comments.

12 years agoUpdated memxor documentation.
Niels Möller [Wed, 24 Apr 2013 21:18:03 +0000 (23:18 +0200)] 
Updated memxor documentation.

12 years agoDeleted unneeded casts of memxor arguments.
Niels Möller [Wed, 24 Apr 2013 21:14:21 +0000 (23:14 +0200)] 
Deleted unneeded casts of memxor arguments.

12 years agoChanged memxor functions to take void * arguments.
Niels Möller [Wed, 24 Apr 2013 21:02:34 +0000 (23:02 +0200)] 
Changed memxor functions to take void * arguments.

12 years agoAdded nettle_ prefix to memxor symbols.
Niels Möller [Wed, 24 Apr 2013 20:43:40 +0000 (22:43 +0200)] 
Added nettle_ prefix to memxor symbols.

12 years agoInclude memxor unconditionally, not via LIBOBJS.
Niels Möller [Wed, 24 Apr 2013 20:28:47 +0000 (22:28 +0200)] 
Include memxor unconditionally, not via LIBOBJS.

12 years agoLink to perl bindings.
Niels Möller [Wed, 24 Apr 2013 14:13:07 +0000 (16:13 +0200)] 
Link to perl bindings.

12 years agoNote 2.7 release in ChangeLog. nettle_2.7_release_20130424
Niels Möller [Wed, 24 Apr 2013 13:23:20 +0000 (15:23 +0200)] 
Note 2.7 release in ChangeLog.

12 years agowin64: Correctly read the fifth parameter from the stack if we've pushed xmm registers
Martin Storsjö [Tue, 23 Apr 2013 14:55:00 +0000 (17:55 +0300)] 
win64: Correctly read the fifth parameter from the stack if we've pushed xmm registers

This fixes the umac test on win64.

12 years agosha: Add the missing W64_EXIT epilogue macro
Martin Storsjö [Tue, 23 Apr 2013 14:54:59 +0000 (17:54 +0300)] 
sha: Add the missing W64_EXIT epilogue macro

12 years agosalsa20: Don't return via W64_EXIT within the Lpartial subfunction
Martin Storsjö [Tue, 23 Apr 2013 14:12:45 +0000 (17:12 +0300)] 
salsa20: Don't return via W64_EXIT within the Lpartial subfunction

The Lpartial subfunction is entered with plain call instructions,
and the win64 epilogue should only run when actually exiting the
whole salsa20_crypt function.

12 years agoUse movdqu instead of movdqa for saving xmm registers
Martin Storsjö [Tue, 23 Apr 2013 16:35:53 +0000 (18:35 +0200)] 
Use movdqu instead of movdqa for saving xmm registers

The stack is not guaranteed to be 16-byte aligned on win64.

12 years agoMention South Pole AB in NEWS.
Niels Möller [Tue, 23 Apr 2013 12:07:35 +0000 (14:07 +0200)] 
Mention South Pole AB in NEWS.

12 years agoIgnore the umac-test binary
Martin Storsjö [Tue, 23 Apr 2013 11:19:50 +0000 (14:19 +0300)] 
Ignore the umac-test binary

12 years agoConsistently use EXEEXT_FOR_BUILD
Martin Storsjö [Tue, 23 Apr 2013 11:19:49 +0000 (14:19 +0300)] 
Consistently use EXEEXT_FOR_BUILD

This fixes cross building for cases where EXEEXT differs from
EXEEXT_FOR_BUILD, such as when building for windows from unix.

12 years agoMinor typographic fixes.
Niels Möller [Sun, 21 Apr 2013 19:42:14 +0000 (21:42 +0200)] 
Minor typographic fixes.