]> git.ipfire.org Git - thirdparty/nettle.git/log
thirdparty/nettle.git
10 years agoChangeLog entry for Martin's arm .arch fix. fat-library
Niels Möller [Sun, 25 Jan 2015 19:12:00 +0000 (20:12 +0100)] 
ChangeLog entry for Martin's arm .arch fix.

10 years agoarm: Add .arch directives for armv6
Martin Storsjö [Sat, 24 Jan 2015 12:22:07 +0000 (14:22 +0200)] 
arm: Add .arch directives for armv6

This allows building these files as part of a fat build, even if
the assembler by default targets a lower architecture version.

10 years agoMade fat initialization more robust.
Niels Möller [Fri, 23 Jan 2015 20:01:30 +0000 (21:01 +0100)] 
Made fat initialization more robust.

10 years agoFat functions for arm neon.
Niels Möller [Wed, 21 Jan 2015 20:23:28 +0000 (21:23 +0100)] 
Fat functions for arm neon.

10 years agoPrepare for additional fat functions.
Niels Möller [Wed, 21 Jan 2015 20:17:46 +0000 (21:17 +0100)] 
Prepare for additional fat functions.

10 years agoImplemented handling of NETTLE_FAT_OVERRIDE, for arm.
Niels Möller [Tue, 20 Jan 2015 19:52:59 +0000 (20:52 +0100)] 
Implemented handling of NETTLE_FAT_OVERRIDE, for arm.

10 years agoImplemented handling of NETTLE_FAT_OVERRIDE.
Niels Möller [Tue, 20 Jan 2015 19:25:06 +0000 (20:25 +0100)] 
Implemented handling of NETTLE_FAT_OVERRIDE.

10 years agoCheck for secure_getenv function.
Niels Möller [Tue, 20 Jan 2015 19:21:17 +0000 (20:21 +0100)] 
Check for secure_getenv function.

10 years agoInitial fat library support for arm.
Niels Möller [Mon, 19 Jan 2015 20:34:27 +0000 (21:34 +0100)] 
Initial fat library support for arm.

10 years agoAdded FIXME comment.
Niels Möller [Mon, 19 Jan 2015 20:23:28 +0000 (21:23 +0100)] 
Added FIXME comment.

10 years agoMoved fat declarations and macros to fat-setup.h.
Niels Möller [Mon, 19 Jan 2015 20:16:27 +0000 (21:16 +0100)] 
Moved fat declarations and macros to fat-setup.h.

10 years agoNew macros to help define resolver and wrappers for fat functions.
Niels Möller [Sat, 17 Jan 2015 21:59:26 +0000 (22:59 +0100)] 
New macros to help define resolver and wrappers for fat functions.

10 years agoReorganize symbols for fat routines.
Niels Möller [Sat, 17 Jan 2015 20:31:47 +0000 (21:31 +0100)] 
Reorganize symbols for fat routines.

10 years agoFat setup of memxor, based on patch by Nikos Mavrogiannopoulos.
Niels Möller [Sat, 17 Jan 2015 09:53:28 +0000 (10:53 +0100)] 
Fat setup of memxor, based on patch by Nikos Mavrogiannopoulos.

10 years agoMove x86_64/fat/fat.c -> fat-x86_64.c. Fix asm_path setup.
Niels Möller [Fri, 16 Jan 2015 21:31:11 +0000 (22:31 +0100)] 
Move x86_64/fat/fat.c -> fat-x86_64.c. Fix asm_path setup.

10 years agoExplain why x86_64 fat initialization doesn't need any memory barrier.
Niels Möller [Tue, 13 Jan 2015 16:43:07 +0000 (17:43 +0100)] 
Explain why x86_64 fat initialization doesn't need any memory barrier.

10 years agoMake constructor hack less gcc-specific.
Niels Möller [Tue, 13 Jan 2015 13:08:24 +0000 (14:08 +0100)] 
Make constructor hack less gcc-specific.

10 years agoInitial support for fat x86_64 build.
Niels Möller [Tue, 13 Jan 2015 09:52:35 +0000 (10:52 +0100)] 
Initial support for fat x86_64 build.

10 years agoUse explicit .byte sequences when assembling aes instructions.
Niels Möller [Tue, 13 Jan 2015 09:01:04 +0000 (10:01 +0100)] 
Use explicit .byte sequences when assembling aes instructions.

10 years agoAutoconf check for ifunc support.
Niels Möller [Tue, 13 Jan 2015 08:57:29 +0000 (09:57 +0100)] 
Autoconf check for ifunc support.

10 years agoRefactor PROLOGUE macro in asm.m4.
Niels Möller [Mon, 12 Jan 2015 18:06:03 +0000 (19:06 +0100)] 
Refactor PROLOGUE macro in asm.m4.

10 years agoReplace OPT_ASM_NETTLE_SOURCES by OPT_NETTLE_OBJS, and similarly for hogweed.
Niels Möller [Mon, 12 Jan 2015 16:01:31 +0000 (17:01 +0100)] 
Replace OPT_ASM_NETTLE_SOURCES by OPT_NETTLE_OBJS, and similarly for hogweed.

10 years agox86_64: new aes assembly, using aesni instructions.
Niels Möller [Sun, 11 Jan 2015 13:48:11 +0000 (14:48 +0100)] 
x86_64: new aes assembly, using aesni instructions.

10 years agofreebsd: Use -Wl,-rpath to set rpath.
Niels Möller [Sun, 11 Jan 2015 10:51:05 +0000 (11:51 +0100)] 
freebsd: Use -Wl,-rpath to set rpath.

10 years agoMerge branch 'memxor-reorg' into master.
Niels Möller [Sun, 11 Jan 2015 10:45:56 +0000 (11:45 +0100)] 
Merge branch 'memxor-reorg' into master.

10 years agoarm: Moved memxor3 to new file, arm/memxor3.asm.
Niels Möller [Sat, 10 Jan 2015 15:56:36 +0000 (16:56 +0100)] 
arm: Moved memxor3 to new file, arm/memxor3.asm.

10 years agoImproved type-checking hack in CBC_ENCRYPT and similar macros.
Niels Möller [Fri, 12 Dec 2014 18:57:35 +0000 (19:57 +0100)] 
Improved type-checking hack in CBC_ENCRYPT and similar macros.

10 years agoGCM_SET_KEY: Rename macro argument to avoid collision with struct tag.
Niels Möller [Mon, 24 Nov 2014 20:11:03 +0000 (21:11 +0100)] 
GCM_SET_KEY: Rename macro argument to avoid collision with struct tag.

Spotted by Nikos Mavrogiannopoulos.

10 years agoFixed eddsa test case.
Niels Möller [Mon, 24 Nov 2014 20:05:29 +0000 (21:05 +0100)] 
Fixed eddsa test case.

10 years agoReorganized x86_64 memxor.
Niels Möller [Mon, 24 Nov 2014 19:17:59 +0000 (20:17 +0100)] 
Reorganized x86_64 memxor.

10 years agoFixed header comment.
Niels Möller [Mon, 17 Nov 2014 21:01:19 +0000 (22:01 +0100)] 
Fixed header comment.

10 years agoEnable valgrind's --partial-loads-ok only when build includes assembly files.
Niels Möller [Thu, 23 Oct 2014 13:59:35 +0000 (15:59 +0200)] 
Enable valgrind's --partial-loads-ok only when build includes assembly files.

10 years agoFixed out-of-bounds reads in memxor3.
Niels Möller [Thu, 23 Oct 2014 13:56:33 +0000 (15:56 +0200)] 
Fixed out-of-bounds reads in memxor3.

10 years agoSimplify unaligned memxor using READ_PARTIAL macro.
Niels Möller [Thu, 23 Oct 2014 13:26:38 +0000 (15:26 +0200)] 
Simplify unaligned memxor using READ_PARTIAL macro.

10 years agoFixed out-of-bounds reads in memxor.
Niels Möller [Thu, 23 Oct 2014 13:12:49 +0000 (15:12 +0200)] 
Fixed out-of-bounds reads in memxor.

10 years agoSplit memxor.c into memxor.c and memxor3.c.
Niels Möller [Thu, 23 Oct 2014 12:15:41 +0000 (14:15 +0200)] 
Split memxor.c into memxor.c and memxor3.c.

10 years agoFor memxor, make word_t be always 64 bits on x86_64.
Niels Möller [Thu, 23 Oct 2014 11:14:31 +0000 (13:14 +0200)] 
For memxor, make word_t be always 64 bits on x86_64.

10 years agoTwo-way unrolling of aligned memxor3.
Niels Möller [Thu, 23 Oct 2014 11:07:36 +0000 (13:07 +0200)] 
Two-way unrolling of aligned memxor3.

10 years agoChange loop order in memxor.
Niels Möller [Thu, 23 Oct 2014 11:04:30 +0000 (13:04 +0200)] 
Change loop order in memxor.

10 years agoUse unsigned long arrays for memxor benchmark.
Niels Möller [Thu, 23 Oct 2014 06:33:30 +0000 (08:33 +0200)] 
Use unsigned long arrays for memxor benchmark.

10 years agoFallback for missing getline (used in the testsuite).
Niels Möller [Wed, 22 Oct 2014 17:30:02 +0000 (19:30 +0200)] 
Fallback for missing getline (used in the testsuite).

10 years agoUnconditionally delete shared libraries for make clean.
Niels Möller [Wed, 22 Oct 2014 09:21:24 +0000 (11:21 +0200)] 
Unconditionally delete shared libraries for make clean.

10 years agoUpdated release plan
Niels Möller [Wed, 22 Oct 2014 07:34:43 +0000 (09:34 +0200)] 
Updated release plan

10 years agoTestcases for ed25519.
Niels Möller [Tue, 21 Oct 2014 11:17:07 +0000 (13:17 +0200)] 
Testcases for ed25519.

10 years agoRewrote hex decoding for test programs.
Niels Möller [Tue, 21 Oct 2014 05:53:25 +0000 (07:53 +0200)] 
Rewrote hex decoding for test programs.

10 years agoImplemented high level functions for ed25519-sha512.
Niels Möller [Mon, 20 Oct 2014 19:46:05 +0000 (21:46 +0200)] 
Implemented high level functions for ed25519-sha512.

10 years agoTweaked argument order for _eddsa_verify.
Niels Möller [Sat, 18 Oct 2014 20:26:01 +0000 (22:26 +0200)] 
Tweaked argument order for _eddsa_verify.

10 years agoBetter point compare for _eddsa_varify.
Niels Möller [Tue, 14 Oct 2014 19:54:09 +0000 (21:54 +0200)] 
Better point compare for _eddsa_varify.

10 years agoNote the Edwards curve neutral point.
Niels Möller [Tue, 14 Oct 2014 19:21:35 +0000 (21:21 +0200)] 
Note the Edwards curve neutral point.

10 years agoTestcase for _eddsa_verify.
Niels Möller [Tue, 14 Oct 2014 19:20:38 +0000 (21:20 +0200)] 
Testcase for _eddsa_verify.

10 years agoImplemented _eddsa_verify. Almost correct.
Niels Möller [Tue, 14 Oct 2014 19:17:04 +0000 (21:17 +0200)] 
Implemented _eddsa_verify. Almost correct.

10 years agoUse _eddsa_expand_key in the tests.
Niels Möller [Wed, 8 Oct 2014 20:46:38 +0000 (22:46 +0200)] 
Use _eddsa_expand_key in the tests.

10 years agoNew function _eddsa_expand_key.
Niels Möller [Wed, 8 Oct 2014 20:44:49 +0000 (22:44 +0200)] 
New function _eddsa_expand_key.

10 years agoDrop unneeded #include.
Niels Möller [Wed, 8 Oct 2014 20:36:25 +0000 (22:36 +0200)] 
Drop unneeded #include.

10 years agoTests for _eddsa_sign.
Niels Möller [Sat, 4 Oct 2014 19:24:42 +0000 (21:24 +0200)] 
Tests for _eddsa_sign.

10 years agoImplemented eddsa signature internals.
Niels Möller [Sat, 4 Oct 2014 19:21:48 +0000 (21:21 +0200)] 
Implemented eddsa signature internals.

10 years agoDrop an unneeded local cy variable.
Niels Möller [Sat, 4 Oct 2014 19:17:08 +0000 (21:17 +0200)] 
Drop an unneeded local cy variable.

10 years agoEnable ecc-mul-g-test, also with mini-gmp.
Niels Möller [Fri, 3 Oct 2014 14:44:45 +0000 (16:44 +0200)] 
Enable ecc-mul-g-test, also with mini-gmp.

10 years agoEnable ecc-mul-a-test, also with mini-gmp.
Niels Möller [Fri, 3 Oct 2014 14:43:47 +0000 (16:43 +0200)] 
Enable ecc-mul-a-test, also with mini-gmp.

10 years agoEnable ecc-redc-test, also with mini-gmp.
Niels Möller [Fri, 3 Oct 2014 14:42:19 +0000 (16:42 +0200)] 
Enable ecc-redc-test, also with mini-gmp.

10 years agoEnable ecc-modinv-test, also with mini-gmp.
Niels Möller [Fri, 3 Oct 2014 14:39:56 +0000 (16:39 +0200)] 
Enable ecc-modinv-test, also with mini-gmp.

10 years agoEnable ecc-mod-test, also with mini-gmp.
Niels Möller [Fri, 3 Oct 2014 14:37:33 +0000 (16:37 +0200)] 
Enable ecc-mod-test, also with mini-gmp.

10 years agoNew function mpn_out_str, for use in the testsuite.
Niels Möller [Fri, 3 Oct 2014 14:33:25 +0000 (16:33 +0200)] 
New function mpn_out_str, for use in the testsuite.

10 years agoMake ecc-sqrt-test work with mini-gmp.
Niels Möller [Fri, 3 Oct 2014 14:19:58 +0000 (16:19 +0200)] 
Make ecc-sqrt-test work with mini-gmp.

10 years agoNotes on EdDSA decompression.
Niels Möller [Thu, 2 Oct 2014 13:55:41 +0000 (15:55 +0200)] 
Notes on EdDSA decompression.

10 years agoTests for eddsa compression and decompression.
Niels Möller [Thu, 2 Oct 2014 13:54:27 +0000 (15:54 +0200)] 
Tests for eddsa compression and decompression.

10 years agoImplemented eddsa compression and decompression.
Niels Möller [Thu, 2 Oct 2014 13:51:42 +0000 (15:51 +0200)] 
Implemented eddsa compression and decompression.

10 years agoNew testcase for modular sqrt.
Niels Möller [Thu, 2 Oct 2014 08:45:01 +0000 (10:45 +0200)] 
New testcase for modular sqrt.

10 years agoAdded sqrt function to struct ecc_modulo.
Niels Möller [Thu, 2 Oct 2014 08:41:31 +0000 (10:41 +0200)] 
Added sqrt function to struct ecc_modulo.

Reorganized curve25519 implementation to take a ratio as input.

10 years agoWhitespace tweaks.
Niels Möller [Wed, 24 Sep 2014 18:43:41 +0000 (20:43 +0200)] 
Whitespace tweaks.

10 years agoFixed extern "C" block.
Niels Möller [Wed, 24 Sep 2014 18:42:18 +0000 (20:42 +0200)] 
Fixed extern "C" block.

10 years agoChanged ecc_hash argument type from struct ecc_curve to struct ecc_modulo.
Niels Möller [Tue, 23 Sep 2014 18:33:12 +0000 (20:33 +0200)] 
Changed ecc_hash argument type from struct ecc_curve to struct ecc_modulo.

10 years agocurve25519: Use powering to compute modp inverses, 5.5 times faster than ecc_mod_inv.
Niels Möller [Tue, 23 Sep 2014 12:04:25 +0000 (14:04 +0200)] 
curve25519: Use powering to compute modp inverses, 5.5 times faster than ecc_mod_inv.

10 years agoFixed scratch allocation in test_ecc_mul_h.
Niels Möller [Tue, 23 Sep 2014 11:49:07 +0000 (13:49 +0200)] 
Fixed scratch allocation in test_ecc_mul_h.

10 years agoecc_mod_inv interface and allocation changes.
Niels Möller [Tue, 23 Sep 2014 11:14:02 +0000 (13:14 +0200)] 
ecc_mod_inv interface and allocation changes.

10 years agoRenamed and generalized ecc_modq_random -> ecc_mod_random.
Niels Möller [Mon, 22 Sep 2014 20:07:41 +0000 (22:07 +0200)] 
Renamed and generalized ecc_modq_random -> ecc_mod_random.

10 years agoNew ecc_mod_* functions, replacing ecc_modp_* and ecc_modq_*.
Niels Möller [Mon, 22 Sep 2014 19:56:24 +0000 (21:56 +0200)] 
New ecc_mod_* functions, replacing ecc_modp_* and ecc_modq_*.

10 years agoDo some more tests in ecc-redc-test.
Niels Möller [Mon, 22 Sep 2014 19:34:20 +0000 (21:34 +0200)] 
Do some more tests in ecc-redc-test.

10 years agoSimplified ecc-modinv-test.
Niels Möller [Mon, 22 Sep 2014 19:19:24 +0000 (21:19 +0200)] 
Simplified ecc-modinv-test.

10 years agoSimplified ecc-mod-test.
Niels Möller [Mon, 22 Sep 2014 19:09:05 +0000 (21:09 +0200)] 
Simplified ecc-mod-test.

10 years agoAdded invert function pointer to struct ecc_modulo.
Niels Möller [Mon, 22 Sep 2014 18:58:12 +0000 (20:58 +0200)] 
Added invert function pointer to struct ecc_modulo.

Updated and renamed sec_modinv -> ecc_mod_inv, and deleted the
ecc_modp_inv and ecc_modq_inv wrapper functions.

10 years agoUpdated benchmarking of mpn_sec_powm.
Niels Möller [Mon, 22 Sep 2014 15:02:26 +0000 (17:02 +0200)] 
Updated benchmarking of mpn_sec_powm.

10 years agoFixed prototypes for native ecc_25519_modp, ecc_256_redc, and ecc_521_modp.
Niels Möller [Mon, 22 Sep 2014 15:00:53 +0000 (17:00 +0200)] 
Fixed prototypes for native ecc_25519_modp, ecc_256_redc, and ecc_521_modp.

10 years agoFixed prototype for native ecc_384_modp.
Niels Möller [Mon, 22 Sep 2014 12:50:12 +0000 (14:50 +0200)] 
Fixed prototype for native ecc_384_modp.

10 years agoMoved mod and reduce function pointers to struct ecc_modulo.
Niels Möller [Mon, 22 Sep 2014 12:41:33 +0000 (14:41 +0200)] 
Moved mod and reduce function pointers to struct ecc_modulo.

10 years agoDeleted redc function pointer.
Niels Möller [Mon, 22 Sep 2014 12:18:05 +0000 (14:18 +0200)] 
Deleted redc function pointer.

10 years agoComment updates.
Niels Möller [Mon, 22 Sep 2014 11:48:39 +0000 (13:48 +0200)] 
Comment updates.

10 years agoUse struct ecc_modulo for all mod and redc functions.
Niels Möller [Mon, 22 Sep 2014 11:47:43 +0000 (13:47 +0200)] 
Use struct ecc_modulo for all mod and redc functions.

10 years agoIntroduced struct ecc_modulo.
Niels Möller [Mon, 22 Sep 2014 10:39:19 +0000 (12:39 +0200)] 
Introduced struct ecc_modulo.

10 years agoFixed mpn_get_base256_le buffer overwrite.
Niels Möller [Wed, 17 Sep 2014 19:51:46 +0000 (21:51 +0200)] 
Fixed mpn_get_base256_le buffer overwrite.

10 years agoDeleted duplicate function point_zero_p. Support n == 0 in test_ecc_mul_h instead.
Niels Möller [Wed, 17 Sep 2014 19:43:19 +0000 (21:43 +0200)] 
Deleted duplicate function point_zero_p. Support n == 0 in test_ecc_mul_h instead.

10 years agoMove mpn_zero_p to testutils.c.
Niels Möller [Wed, 17 Sep 2014 19:37:19 +0000 (21:37 +0200)] 
Move mpn_zero_p to testutils.c.

10 years agoExtend general ecc testcases to also test curve25519.
Niels Möller [Wed, 17 Sep 2014 19:19:20 +0000 (21:19 +0200)] 
Extend general ecc testcases to also test curve25519.

10 years agoDeleted ecc_a_to_eh.
Niels Möller [Wed, 17 Sep 2014 19:12:36 +0000 (21:12 +0200)] 
Deleted ecc_a_to_eh.

10 years agoLet "affine" points for curve25519 be Edwards coordinates rather than Montgomery...
Niels Möller [Wed, 17 Sep 2014 18:58:41 +0000 (20:58 +0200)] 
Let "affine" points for curve25519 be Edwards coordinates rather than Montgomery coordinates.

10 years agoUse struct ecc_curve function pointers also in ecdsa_generate_keypair.
Niels Möller [Wed, 17 Sep 2014 17:31:31 +0000 (19:31 +0200)] 
Use struct ecc_curve function pointers also in ecdsa_generate_keypair.

10 years agoDeleted curve25519-add-test and curve25519-dup-test.
Niels Möller [Wed, 17 Sep 2014 17:24:06 +0000 (19:24 +0200)] 
Deleted curve25519-add-test and curve25519-dup-test.

10 years agoNew test case for ecc_add_jj, ecc_add_eh and ecc_add_ehh (latter tests currently...
Niels Möller [Tue, 16 Sep 2014 19:33:34 +0000 (21:33 +0200)] 
New test case for ecc_add_jj, ecc_add_eh and ecc_add_ehh (latter tests currently not exercised).

10 years agoNew test case for ecc_dup_jj and ecc_dup_eh (latter test currently not exercised).
Niels Möller [Tue, 16 Sep 2014 19:04:45 +0000 (21:04 +0200)] 
New test case for ecc_dup_jj and ecc_dup_eh (latter test currently not exercised).

10 years agoUse struct ecc_curve function pointers.
Niels Möller [Mon, 15 Sep 2014 15:34:16 +0000 (17:34 +0200)] 
Use struct ecc_curve function pointers.