]> git.ipfire.org Git - thirdparty/nettle.git/log
thirdparty/nettle.git
11 years agoFixed declarations for ecc_mul_a_eh.
Niels Möller [Thu, 31 Jul 2014 07:53:47 +0000 (09:53 +0200)] 
Fixed declarations for ecc_mul_a_eh.

11 years agoImplemented ecc_a_to_eh and ecc_mul_a_eh, for curve25519.
Niels Möller [Tue, 29 Jul 2014 13:53:16 +0000 (15:53 +0200)] 
Implemented ecc_a_to_eh and ecc_mul_a_eh, for curve25519.

11 years agoReduce ecc_add_ehh scratch need.
Niels Möller [Sat, 26 Jul 2014 20:32:06 +0000 (22:32 +0200)] 
Reduce ecc_add_ehh scratch need.

11 years agoNew curve25519 test case.
Niels Möller [Wed, 23 Jul 2014 21:21:16 +0000 (23:21 +0200)] 
New curve25519 test case.

11 years agoComment fix.
Niels Möller [Wed, 23 Jul 2014 21:17:38 +0000 (23:17 +0200)] 
Comment fix.

11 years agoImplemented ecc_mul_g_eh. Untested.
Niels Möller [Fri, 18 Jul 2014 20:52:36 +0000 (22:52 +0200)] 
Implemented ecc_mul_g_eh. Untested.

11 years agoReduce ecc_add_eh scratch need.
Niels Möller [Thu, 17 Jul 2014 20:28:47 +0000 (22:28 +0200)] 
Reduce ecc_add_eh scratch need.

11 years agoFix memory leak in test case.
Niels Möller [Thu, 17 Jul 2014 20:22:51 +0000 (22:22 +0200)] 
Fix memory leak in test case.

11 years agoImplemented ecc_add_eh.
Niels Möller [Tue, 15 Jul 2014 20:08:45 +0000 (22:08 +0200)] 
Implemented ecc_add_eh.

11 years agoMinor improvement of curve25519-add-test.
Niels Möller [Tue, 15 Jul 2014 19:51:43 +0000 (21:51 +0200)] 
Minor improvement of curve25519-add-test.

11 years agoComment fixes.
Niels Möller [Tue, 15 Jul 2014 19:47:41 +0000 (21:47 +0200)] 
Comment fixes.

11 years agoNew testcase for curve25519 add.
Niels Möller [Mon, 14 Jul 2014 19:53:08 +0000 (21:53 +0200)] 
New testcase for curve25519 add.

11 years agoImplemented point addition for Edwards curves.
Niels Möller [Mon, 14 Jul 2014 19:50:53 +0000 (21:50 +0200)] 
Implemented point addition for Edwards curves.

11 years agoeccdata: For curve25519, output the Edwards curve constant.
Niels Möller [Mon, 14 Jul 2014 19:40:28 +0000 (21:40 +0200)] 
eccdata: For curve25519, output the Edwards curve constant.

11 years agoImproved curve25519-dup-test.
Niels Möller [Mon, 14 Jul 2014 19:36:49 +0000 (21:36 +0200)] 
Improved curve25519-dup-test.

11 years agoAdded some ECC notes.
Niels Möller [Fri, 11 Jul 2014 21:05:12 +0000 (23:05 +0200)] 
Added some ECC notes.

11 years agoNew testcase for curve25519 dup.
Niels Möller [Fri, 11 Jul 2014 21:03:12 +0000 (23:03 +0200)] 
New testcase for curve25519 dup.

11 years agoMade test_ecc_point non-static in testutils.c.
Niels Möller [Fri, 11 Jul 2014 21:00:22 +0000 (23:00 +0200)] 
Made test_ecc_point non-static in testutils.c.

11 years agoComment on Shanks-Tonelli reference.
Niels Möller [Fri, 11 Jul 2014 20:56:24 +0000 (22:56 +0200)] 
Comment on Shanks-Tonelli reference.

11 years agoImplemented point doubling for Edwards curves.
Niels Möller [Fri, 11 Jul 2014 20:14:19 +0000 (22:14 +0200)] 
Implemented point doubling for Edwards curves.

11 years agoNew struct ecc_curve constant, edwards_root.
Niels Möller [Fri, 11 Jul 2014 20:06:52 +0000 (22:06 +0200)] 
New struct ecc_curve constant, edwards_root.

11 years agoeccdata: Corrected curve25519-related constant. And output the constant.
Niels Möller [Fri, 11 Jul 2014 19:57:50 +0000 (21:57 +0200)] 
eccdata: Corrected curve25519-related constant. And output the constant.

11 years agoDeleted left-over prototypes for ecc_a_to_a and ecc_a_to_a_itch.
Niels Möller [Tue, 8 Jul 2014 08:22:31 +0000 (10:22 +0200)] 
Deleted left-over prototypes for ecc_a_to_a and ecc_a_to_a_itch.

11 years agoeccdata: Support conversion to Edwards form.
Niels Möller [Sun, 6 Jul 2014 21:46:18 +0000 (23:46 +0200)] 
eccdata: Support conversion to Edwards form.

11 years agoeccdata: Use separate is_zero flag to represent the neutral element.
Niels Möller [Sun, 6 Jul 2014 20:14:58 +0000 (22:14 +0200)] 
eccdata: Use separate is_zero flag to represent the neutral element.

11 years agoImplemented the curve25519 modp function.
Niels Möller [Fri, 4 Jul 2014 20:43:07 +0000 (22:43 +0200)] 
Implemented the curve25519 modp function.

11 years agoRenamed gmp_randstate_t variables to "rands".
Niels Möller [Fri, 4 Jul 2014 20:27:29 +0000 (22:27 +0200)] 
Renamed gmp_randstate_t variables to "rands".

11 years agoFix typo in test for ecc_generic_modq.
Niels Möller [Fri, 4 Jul 2014 20:21:11 +0000 (22:21 +0200)] 
Fix typo in test for ecc_generic_modq.

11 years agoFix file header copy&paste errors.
Niels Möller [Fri, 4 Jul 2014 20:17:33 +0000 (22:17 +0200)] 
Fix file header copy&paste errors.

11 years agoSupport curve25519 in the eccdata program.
Niels Möller [Wed, 2 Jul 2014 08:13:58 +0000 (10:13 +0200)] 
Support curve25519 in the eccdata program.

11 years agoUse mpz_submul_ui.
Niels Möller [Wed, 2 Jul 2014 07:59:37 +0000 (09:59 +0200)] 
Use mpz_submul_ui.

11 years agocamellia: Include limits.h, needed for HAVE_NATIVE_64_BIT.
Niels Möller [Sun, 29 Jun 2014 22:35:36 +0000 (00:35 +0200)] 
camellia: Include limits.h, needed for HAVE_NATIVE_64_BIT.

11 years agoChangeLog entries for Martin's and Nikos' previous changes.
Niels Möller [Thu, 26 Jun 2014 20:49:58 +0000 (22:49 +0200)] 
ChangeLog entries for Martin's and Nikos' previous changes.

11 years agoInclude private dependencies automatically in pkg-config for non-shared builds
Martin Storsjö [Thu, 26 Jun 2014 07:30:42 +0000 (10:30 +0300)] 
Include private dependencies automatically in pkg-config for non-shared builds

When a user invokes pkg-config to get the necessary linker flags
for linking to libhogweed, the user can add --static to get the
private dependencies included, which are necessary for static
linking. If the hogweed build contains both static and shared
libraries, this works as intended - if the user explicitly passes
-static to the linker to have it favor static libs over shared
ones, the same user also needs to tell pkg-config about this intention.

If the hogweed build happens to be static-only, the user of the
library might not be aware of this, and might not realize needing
to pass --static to pkg-config. (This is even more an issue in
setups with a large number of libraries, where only a few of them
are built static-only.)

For these cases, where a library is built as only a static library,
one fairly common convention (not used everywhere, but at least in
some libraries I regularly use) is to include the private dependencies
in the non-private section. This makes sure a user of the library
doesn't need to be concerned about which way this library was built
(unless the user intentionally overrides defaults by passing
flags such as -static to the linker).

11 years agoAdd missing entries to .gitignore
Martin Storsjö [Thu, 26 Jun 2014 07:30:41 +0000 (10:30 +0300)] 
Add missing entries to .gitignore

Ignore the newly generated bignum.h, also ignore OS X dylibs
and lib{nettle,hogweed}.stamp.

11 years agoDon't hardcode the -lgmp linker flag in the hogweed pkg-config file
Martin Storsjö [Thu, 26 Jun 2014 07:30:40 +0000 (10:30 +0300)] 
Don't hardcode the -lgmp linker flag in the hogweed pkg-config file

11 years agohogweed-benchmark: do not abort() if an openssl algorithm isn't available
Nikos Mavrogiannopoulos [Thu, 26 Jun 2014 14:56:08 +0000 (16:56 +0200)] 
hogweed-benchmark: do not abort() if an openssl algorithm isn't available

11 years agoSupport for building with mini-gmp.
Niels Möller [Wed, 25 Jun 2014 20:55:10 +0000 (22:55 +0200)] 
Support for building with mini-gmp.

11 years agoUse WITH_HOGWEED instead of HAVE_LIBGMP for preprocessor conditionals.
Niels Möller [Wed, 25 Jun 2014 17:26:43 +0000 (19:26 +0200)] 
Use WITH_HOGWEED instead of HAVE_LIBGMP for preprocessor conditionals.

11 years agoEliminate more uses of gmp_fprintf.
Niels Möller [Wed, 25 Jun 2014 17:17:04 +0000 (19:17 +0200)] 
Eliminate more uses of gmp_fprintf.

11 years agoInclude bignum.h instead of gmp.h.
Niels Möller [Wed, 25 Jun 2014 17:05:50 +0000 (19:05 +0200)] 
Include bignum.h instead of gmp.h.

11 years agoNew function write_mpn, used in the testsuite.
Niels Möller [Wed, 25 Jun 2014 16:39:14 +0000 (18:39 +0200)] 
New function write_mpn, used in the testsuite.

11 years agoDon't use gmp_vfprintf.
Niels Möller [Wed, 25 Jun 2014 16:34:11 +0000 (18:34 +0200)] 
Don't use gmp_vfprintf.

11 years agoDeleted HAVE_LIBGMP conditionals.
Niels Möller [Wed, 25 Jun 2014 16:28:51 +0000 (18:28 +0200)] 
Deleted HAVE_LIBGMP conditionals.

11 years agoTurn RSA blinding off in openssl RSA benchmark.
Nikos Mavrogiannopoulos [Fri, 20 Jun 2014 12:37:13 +0000 (14:37 +0200)] 
Turn RSA blinding off in openssl RSA benchmark.

That allows direct comparison with hogweed's RSA results.

11 years agoUpdated download and git links. List release key fingerprint.
Niels Möller [Tue, 10 Jun 2014 10:04:07 +0000 (12:04 +0200)] 
Updated download and git links. List release key fingerprint.

11 years agoLog entry for 3.0 release. nettle_3.0_release_20140607
Niels Möller [Sat, 7 Jun 2014 06:12:53 +0000 (08:12 +0200)] 
Log entry for 3.0 release.

11 years agoUpdated release plan.
Niels Möller [Wed, 4 Jun 2014 19:32:19 +0000 (21:32 +0200)] 
Updated release plan.

11 years agoNEWS: List des-compat.h as a candidate for removal.
Niels Möller [Wed, 4 Jun 2014 18:11:33 +0000 (20:11 +0200)] 
NEWS: List des-compat.h as a candidate for removal.

11 years agodes-compat-test: Fix out of bounds memory read.
Niels Möller [Wed, 4 Jun 2014 18:09:02 +0000 (20:09 +0200)] 
des-compat-test: Fix out of bounds memory read.

11 years agoAdd missing include of stddef.h.
Niels Möller [Wed, 4 Jun 2014 17:37:37 +0000 (19:37 +0200)] 
Add missing include of stddef.h.

11 years agoFix typo in AX_CREATE_STDINT_H macro.
Niels Möller [Wed, 4 Jun 2014 17:34:11 +0000 (19:34 +0200)] 
Fix typo in AX_CREATE_STDINT_H macro.

11 years agoUpdated release plan.
Niels Möller [Mon, 2 Jun 2014 20:40:47 +0000 (22:40 +0200)] 
Updated release plan.

11 years agoMention M$ Windows shared library fixes.
Niels Möller [Mon, 2 Jun 2014 20:38:43 +0000 (22:38 +0200)] 
Mention M$ Windows shared library fixes.

11 years agoUpdated release plan.
Niels Möller [Sun, 1 Jun 2014 20:52:15 +0000 (22:52 +0200)] 
Updated release plan.

11 years agoFixes for w64 ABI.
Niels Möller [Sun, 1 Jun 2014 20:46:34 +0000 (22:46 +0200)] 
Fixes for w64 ABI.

11 years agoCheck for COFF type directive, and use in assembly RPOLOGUE.
Niels Möller [Sat, 31 May 2014 11:47:55 +0000 (13:47 +0200)] 
Check for COFF type directive, and use in assembly RPOLOGUE.
Fixes problem with windows dll linking.

11 years agoasm.m4: Deleted unused offsets for struct aes_ctx.
Niels Möller [Sat, 31 May 2014 11:43:23 +0000 (13:43 +0200)] 
asm.m4: Deleted unused offsets for struct aes_ctx.

11 years agoDrop single quote in configure warning message.
Niels Möller [Sat, 31 May 2014 11:41:08 +0000 (13:41 +0200)] 
Drop single quote in configure warning message.

11 years agoFix for windows lineending in nettle-pbkdf2-test.
Niels Möller [Wed, 28 May 2014 21:41:12 +0000 (23:41 +0200)] 
Fix for windows lineending in nettle-pbkdf2-test.

11 years agoFixed linker arguments for libhogweed.so
Niels Möller [Wed, 28 May 2014 11:47:31 +0000 (13:47 +0200)] 
Fixed linker arguments for libhogweed.so

11 years agoAdd benchmark for mpn_sec_powm.
Niels Möller [Tue, 27 May 2014 19:08:54 +0000 (21:08 +0200)] 
Add benchmark for mpn_sec_powm.

11 years agoChangeLog for EXEEXT_FOR_BUILD fix.
Niels Möller [Thu, 22 May 2014 18:56:24 +0000 (20:56 +0200)] 
ChangeLog for EXEEXT_FOR_BUILD fix.

11 years agoFix generation of headers when cross compiling
Claudio Bley [Wed, 21 May 2014 13:25:40 +0000 (15:25 +0200)] 
Fix generation of headers when cross compiling

Use the EXEEXT_FOR_BUILD when calling the generated desdata
program, otherwise the build fails when cross compiling because
keymap.h and rotors.h are not found.

Signed-off-by: Claudio Bley <cbley@av-test.de>
11 years agoIgnore .dll files
Claudio Bley [Wed, 21 May 2014 13:25:39 +0000 (15:25 +0200)] 
Ignore .dll files

Signed-off-by: Claudio Bley <cbley@av-test.de>
11 years agoUpdated version numbers, including LIBHOGWEED_MAJOR.
Niels Möller [Thu, 15 May 2014 20:14:02 +0000 (22:14 +0200)] 
Updated version numbers, including LIBHOGWEED_MAJOR.

11 years agoUse a simpler and more portable sed expression for dummy-dep-files.
Niels Möller [Thu, 15 May 2014 20:02:22 +0000 (22:02 +0200)] 
Use a simpler and more portable sed expression for dummy-dep-files.

Problem reported by Peter Eriksson.

11 years agoDrop use of gettext from getopt.c.
Niels Möller [Thu, 15 May 2014 19:33:20 +0000 (21:33 +0200)] 
Drop use of gettext from getopt.c.

11 years agoUpdated getopt files, from glibc-2.19.
Niels Möller [Tue, 13 May 2014 14:31:31 +0000 (16:31 +0200)] 
Updated getopt files, from glibc-2.19.

11 years agoAvoid the bash construction ${#foo}, in nettle-pbkdf2 test.
Niels Möller [Wed, 14 May 2014 18:47:37 +0000 (20:47 +0200)] 
Avoid the bash construction ${#foo}, in nettle-pbkdf2 test.

11 years agoUpdated mini-gmp files, from gmp-6.0.0.
Niels Möller [Fri, 9 May 2014 11:29:14 +0000 (13:29 +0200)] 
Updated mini-gmp files, from gmp-6.0.0.

11 years agoUpdated release plan.
Niels Möller [Fri, 9 May 2014 07:05:16 +0000 (09:05 +0200)] 
Updated release plan.

11 years agoDelay building of test programs until make check.
Niels Möller [Fri, 9 May 2014 07:03:29 +0000 (09:03 +0200)] 
Delay building of test programs until make check.

11 years agoUpdated release plan.
Niels Möller [Thu, 8 May 2014 20:41:03 +0000 (22:41 +0200)] 
Updated release plan.

11 years agoDocument nettle_aead.
Niels Möller [Thu, 8 May 2014 20:38:29 +0000 (22:38 +0200)] 
Document nettle_aead.

11 years agoImplemented algorithm array nettle_aeads.
Niels Möller [Thu, 8 May 2014 19:09:54 +0000 (21:09 +0200)] 
Implemented algorithm array nettle_aeads.

11 years agoWhen CC_FOR_BUILD is gcc, add -O flag.
Niels Möller [Thu, 8 May 2014 15:18:11 +0000 (17:18 +0200)] 
When CC_FOR_BUILD is gcc, add -O flag.

11 years agoClarify experimental status of sha3 and chacha-poly1305 in NEWS.
Niels Möller [Tue, 6 May 2014 19:55:17 +0000 (21:55 +0200)] 
Clarify experimental status of sha3 and chacha-poly1305 in NEWS.

11 years agoDocument SHA3 and ChaCha-Poly1305 as experimental.
Niels Möller [Tue, 6 May 2014 19:53:42 +0000 (21:53 +0200)] 
Document SHA3 and ChaCha-Poly1305 as experimental.

11 years agoSmaller doc tweaks, suggested by Nikos.
Niels Möller [Tue, 6 May 2014 19:51:19 +0000 (21:51 +0200)] 
Smaller doc tweaks, suggested by Nikos.

11 years agoUpdated release plan.
Niels Möller [Mon, 5 May 2014 21:22:39 +0000 (23:22 +0200)] 
Updated release plan.

11 years agoAdded FIXME comment. Auto-increment for chacha-poly1305 nonce?
Niels Möller [Mon, 5 May 2014 21:21:20 +0000 (23:21 +0200)] 
Added FIXME comment. Auto-increment for chacha-poly1305 nonce?

11 years agoDocument chacha-poly1305.
Niels Möller [Mon, 5 May 2014 21:20:36 +0000 (23:20 +0200)] 
Document chacha-poly1305.

11 years agoIn the manual, change some subsections to subsubsections.
Niels Möller [Mon, 5 May 2014 19:44:05 +0000 (21:44 +0200)] 
In the manual, change some subsections to subsubsections.

11 years agoMove AEAD documentation to its own section.
Niels Möller [Mon, 5 May 2014 19:39:18 +0000 (21:39 +0200)] 
Move AEAD documentation to its own section.

11 years agoDocument poly1305-aes.
Niels Möller [Mon, 5 May 2014 19:19:56 +0000 (21:19 +0200)] 
Document poly1305-aes.

11 years agoMinor typo fix.
Niels Möller [Sun, 4 May 2014 17:40:26 +0000 (19:40 +0200)] 
Minor typo fix.

11 years agoUpdate release plan.
Niels Möller [Sun, 4 May 2014 17:28:29 +0000 (19:28 +0200)] 
Update release plan.

11 years agoDocument ChaCha.
Niels Möller [Sun, 4 May 2014 17:27:37 +0000 (19:27 +0200)] 
Document ChaCha.

11 years agoSmaller updates to salsa20 documentation.
Niels Möller [Sun, 4 May 2014 17:12:15 +0000 (19:12 +0200)] 
Smaller updates to salsa20 documentation.

11 years agoDocument new DSA interface.
Niels Möller [Sun, 4 May 2014 16:52:33 +0000 (18:52 +0200)] 
Document new DSA interface.

11 years agoAvoid >= 32 bit shifts when size_t is only 32 bits.
Niels Möller [Sat, 3 May 2014 07:52:23 +0000 (09:52 +0200)] 
Avoid >= 32 bit shifts when size_t is only 32 bits.

11 years agoUpdated CCM documentation.
Niels Möller [Sat, 3 May 2014 07:33:21 +0000 (09:33 +0200)] 
Updated CCM documentation.

11 years agoNew constant CCM_DIGEST_SIZE.
Niels Möller [Sat, 3 May 2014 07:31:00 +0000 (09:31 +0200)] 
New constant CCM_DIGEST_SIZE.

11 years agoNew macros related to ccm nonce size.
Niels Möller [Wed, 30 Apr 2014 20:12:40 +0000 (22:12 +0200)] 
New macros related to ccm nonce size.

11 years agoUpdated GCM documentation.
Niels Möller [Sun, 27 Apr 2014 20:22:53 +0000 (22:22 +0200)] 
Updated GCM documentation.

11 years agoMove description of general structure to the AEAD subsection.
Niels Möller [Sun, 27 Apr 2014 16:11:19 +0000 (18:11 +0200)] 
Move description of general structure to the AEAD subsection.

11 years agoStarted on AEAD documentation.
Niels Möller [Sun, 27 Apr 2014 08:14:12 +0000 (10:14 +0200)] 
Started on AEAD documentation.

11 years agoUpdated release plan.
Niels Möller [Sun, 27 Apr 2014 07:01:22 +0000 (09:01 +0200)] 
Updated release plan.

11 years agoMention _DATA_SIZE to _BLOCK_SIZE rename.
Niels Möller [Sun, 27 Apr 2014 07:00:56 +0000 (09:00 +0200)] 
Mention _DATA_SIZE to _BLOCK_SIZE rename.