]> git.ipfire.org Git - thirdparty/nettle.git/log
thirdparty/nettle.git
8 years agoAvoid unnecessary memset and xor operations in pss_encode_mgf1. merge-pss
Niels Möller [Tue, 4 Apr 2017 21:13:53 +0000 (23:13 +0200)] 
Avoid unnecessary memset and xor operations in pss_encode_mgf1.

8 years agoUse const for input mpz_t argument to pss_verify_mgf1.
Niels Möller [Tue, 4 Apr 2017 19:34:08 +0000 (21:34 +0200)] 
Use const for input mpz_t argument to pss_verify_mgf1.

8 years agoChangeLog entries for RSA PSS code.
Niels Möller [Tue, 4 Apr 2017 19:29:36 +0000 (21:29 +0200)] 
ChangeLog entries for RSA PSS code.

8 years agoAdd PSS variants for RSA sign/verify functions
Daiki Ueno [Thu, 2 Mar 2017 13:34:54 +0000 (14:34 +0100)] 
Add PSS variants for RSA sign/verify functions

Signed-off-by: Daiki Ueno <dueno@redhat.com>
8 years agoImplement PSS encoding functions
Daiki Ueno [Thu, 23 Feb 2017 10:30:27 +0000 (11:30 +0100)] 
Implement PSS encoding functions

Signed-off-by: Daiki Ueno <dueno@redhat.com>
8 years agoNew constant NETTLE_MAX_HASH_CONTEXT_SIZE.
Niels Möller [Mon, 20 Mar 2017 20:09:54 +0000 (21:09 +0100)] 
New constant NETTLE_MAX_HASH_CONTEXT_SIZE.

* nettle-internal.h (NETTLE_MAX_HASH_CONTEXT_SIZE): New constant.
* testsuite/meta-hash-test.c (test_main): Add sanity check for
NETTLE_MAX_HASH_CONTEXT_SIZE.

8 years agoLet nettle-hash --list display internal context size.
Niels Möller [Mon, 20 Mar 2017 20:07:25 +0000 (21:07 +0100)] 
Let nettle-hash --list display internal context size.

* tools/nettle-hash.c (list_algorithms): Also display the internal
context size.

8 years agoMake nettle compile with pre-UAL arm assembler.
Marcus Hoffmann [Tue, 28 Feb 2017 18:56:40 +0000 (19:56 +0100)] 
Make nettle compile with pre-UAL arm assembler.

See: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0204j/Cjagjjbc.html
The pre-UAL instruction is also accepted by modern assemblers.

Signed-off-by: Marcus Hoffmann <m.hoffmann@cartelsol.com>
8 years agoChangeLog entry for previous commit.
Niels Möller [Tue, 3 Jan 2017 17:38:49 +0000 (18:38 +0100)] 
ChangeLog entry for previous commit.

8 years agoecdsa_verify: eliminated memory leak on error path
Nikos Mavrogiannopoulos [Tue, 3 Jan 2017 12:54:16 +0000 (13:54 +0100)] 
ecdsa_verify: eliminated memory leak on error path

8 years agoUse const for _nettle_write_* source argument.
Niels Möller [Mon, 10 Oct 2016 09:25:02 +0000 (11:25 +0200)] 
Use const for _nettle_write_* source argument.

8 years agoNote release. nettle_3.3_release_20161001
Niels Möller [Sat, 1 Oct 2016 07:27:27 +0000 (09:27 +0200)] 
Note release.

8 years agoTweak NEWS entry.
Niels Möller [Sat, 1 Oct 2016 07:25:28 +0000 (09:25 +0200)] 
Tweak NEWS entry.

8 years agoUpdated NEWS file.
Niels Möller [Tue, 27 Sep 2016 05:23:45 +0000 (07:23 +0200)] 
Updated NEWS file.

8 years agoFix a few minor documentation typos.
Niels Möller [Wed, 21 Sep 2016 05:04:46 +0000 (07:04 +0200)] 
Fix a few minor documentation typos.

8 years agoUpdated testing status.
Niels Möller [Mon, 19 Sep 2016 19:15:41 +0000 (21:15 +0200)] 
Updated testing status.

8 years agoFix ECDSA broken node links. Reported by Nick Alcock.
Niels Möller [Mon, 19 Sep 2016 19:14:27 +0000 (21:14 +0200)] 
Fix ECDSA broken node links. Reported by Nick Alcock.

8 years agoUse gitlab.com's shared runners
Nikos Mavrogiannopoulos [Mon, 5 Sep 2016 07:57:24 +0000 (09:57 +0200)] 
Use gitlab.com's shared runners

That is, phase out our specific runners to reduce administrative
burden, and rely on gitlab.com shared infrastructure.

http://docs.gitlab.com/ce/ci/runners/README.html

8 years agoTrivial merge.
Niels Möller [Tue, 13 Sep 2016 20:46:43 +0000 (22:46 +0200)] 
Trivial merge.

8 years agoUpdate release plan.
Niels Möller [Tue, 13 Sep 2016 20:44:41 +0000 (22:44 +0200)] 
Update release plan.

8 years agoAdd SHA3 hashes to nettle_hashes. Reported by Thomas Walter.
Niels Möller [Tue, 13 Sep 2016 20:32:28 +0000 (22:32 +0200)] 
Add SHA3 hashes to nettle_hashes. Reported by Thomas Walter.

8 years agoMention memeql_sec in NEWS.
Niels Möller [Wed, 7 Sep 2016 20:08:31 +0000 (22:08 +0200)] 
Mention memeql_sec in NEWS.

8 years agoDocument memeql_sec.
Niels Möller [Wed, 7 Sep 2016 20:06:43 +0000 (22:06 +0200)] 
Document memeql_sec.

8 years agodoc: Split Elliptic curves into sub-nodes.
Niels Möller [Wed, 7 Sep 2016 20:05:30 +0000 (22:05 +0200)] 
doc: Split Elliptic curves into sub-nodes.

8 years agoFix documentation typo.
Niels Möller [Wed, 7 Sep 2016 20:03:08 +0000 (22:03 +0200)] 
Fix documentation typo.

8 years agoUpdate date.
Niels Möller [Tue, 6 Sep 2016 18:51:08 +0000 (20:51 +0200)] 
Update date.

8 years agoUpdate NEWS for 3.3.
Niels Möller [Tue, 6 Sep 2016 05:13:46 +0000 (07:13 +0200)] 
Update NEWS for 3.3.

8 years agoUpdate package versions.
Niels Möller [Tue, 6 Sep 2016 05:10:03 +0000 (07:10 +0200)] 
Update package versions.

8 years agoUpdate release plan.
Niels Möller [Tue, 6 Sep 2016 05:08:26 +0000 (07:08 +0200)] 
Update release plan.

8 years agoTest for memeql_sec.
Niels Möller [Sat, 3 Sep 2016 11:59:02 +0000 (13:59 +0200)] 
Test for memeql_sec.

8 years agoNew public function memeql_sec, declared in memops.h.
Niels Möller [Sat, 3 Sep 2016 11:36:32 +0000 (13:36 +0200)] 
New public function memeql_sec, declared in memops.h.

8 years agoAdd Curve 25519 to concept index.
Niels Möller [Mon, 5 Sep 2016 13:19:17 +0000 (15:19 +0200)] 
Add Curve 25519 to concept index.

8 years agoDefine NETTLE_CURVE25519_RFC7748, and document it.
Niels Möller [Mon, 5 Sep 2016 13:17:19 +0000 (15:17 +0200)] 
Define NETTLE_CURVE25519_RFC7748, and document it.

8 years agoDelete no longer used .p$(OBJEXT) from make .SUFFIXES.
Niels Möller [Sat, 3 Sep 2016 20:41:19 +0000 (22:41 +0200)] 
Delete no longer used .p$(OBJEXT) from make .SUFFIXES.

8 years agoPrune a few trailing spaces.
Niels Möller [Sat, 3 Sep 2016 20:33:35 +0000 (22:33 +0200)] 
Prune a few trailing spaces.

8 years agoDelete macro TOKEN_CHAR from public header sexp.h.
Niels Möller [Sat, 3 Sep 2016 20:31:58 +0000 (22:31 +0200)] 
Delete macro TOKEN_CHAR from public header sexp.h.

8 years agoDelete an unused function.
Niels Möller [Sat, 3 Sep 2016 19:22:06 +0000 (21:22 +0200)] 
Delete an unused function.

8 years agoFix pointer signedness warning in sexp-conv.
Niels Möller [Sat, 3 Sep 2016 18:16:25 +0000 (20:16 +0200)] 
Fix pointer signedness warning in sexp-conv.

8 years agoFix some warnigns for nettle-hash and nettle-pbkdf.
Niels Möller [Sat, 3 Sep 2016 18:10:28 +0000 (20:10 +0200)] 
Fix some warnigns for nettle-hash and nettle-pbkdf.

8 years agoFix pointer signedness warning in nettle-lfib-stream.
Niels Möller [Sat, 3 Sep 2016 18:00:57 +0000 (20:00 +0200)] 
Fix pointer signedness warning in nettle-lfib-stream.

8 years agoFix pointer sign warnings for sexp-format-test.
Niels Möller [Sat, 3 Sep 2016 14:41:22 +0000 (16:41 +0200)] 
Fix pointer sign warnings for sexp-format-test.

8 years agoFix pointer sign warnings for test_armor.
Niels Möller [Sat, 3 Sep 2016 14:31:40 +0000 (16:31 +0200)] 
Fix pointer sign warnings for test_armor.

8 years agoFix pointed signedness warning in yarrow-test.
Niels Möller [Sat, 3 Sep 2016 14:14:09 +0000 (16:14 +0200)] 
Fix pointed signedness warning in yarrow-test.

8 years agoUpdate to use const char * for sexp_iterator_assoc.
Niels Möller [Sat, 3 Sep 2016 14:12:40 +0000 (16:12 +0200)] 
Update to use const char * for sexp_iterator_assoc.

8 years agoFix pointed signedness warnings in md5-compat-test.
Niels Möller [Sat, 3 Sep 2016 14:07:56 +0000 (16:07 +0200)] 
Fix pointed signedness warnings in md5-compat-test.

8 years agoUse LDATA macro for more constants.
Niels Möller [Sat, 3 Sep 2016 14:04:02 +0000 (16:04 +0200)] 
Use LDATA macro for more constants.

8 years agoMacro to convert string literals to unsigned.
Niels Möller [Sat, 3 Sep 2016 13:54:46 +0000 (15:54 +0200)] 
Macro to convert string literals to unsigned.

8 years agoFix signedness warning for rsa-encrypt-test.
Niels Möller [Sat, 3 Sep 2016 12:11:40 +0000 (14:11 +0200)] 
Fix signedness warning for rsa-encrypt-test.

8 years agoFix pointer sign warnings in sexp_vformat.
Niels Möller [Mon, 29 Aug 2016 16:31:15 +0000 (18:31 +0200)] 
Fix pointer sign warnings in sexp_vformat.

8 years agoUse uint8_t for hash_file buffer.
Niels Möller [Tue, 16 Aug 2016 05:37:50 +0000 (07:37 +0200)] 
Use uint8_t for hash_file buffer.

8 years agoFix error in ChangeLog.
Niels Möller [Tue, 16 Aug 2016 05:34:08 +0000 (07:34 +0200)] 
Fix error in ChangeLog.

8 years agoUse const char * for sexp expression types.
Niels Möller [Tue, 16 Aug 2016 05:28:23 +0000 (07:28 +0200)] 
Use const char * for sexp expression types.

8 years agoFix signedness warning in rsa_keypair_to_openpgp.
Niels Möller [Tue, 16 Aug 2016 05:06:43 +0000 (07:06 +0200)] 
Fix signedness warning in rsa_keypair_to_openpgp.

8 years agoNew pgp-encode helper function, write_string.
Niels Möller [Tue, 16 Aug 2016 05:01:21 +0000 (07:01 +0200)] 
New pgp-encode helper function, write_string.

8 years agoRename write_string --> write_date.
Niels Möller [Tue, 16 Aug 2016 04:45:51 +0000 (06:45 +0200)] 
Rename write_string --> write_date.

Change type of input data to const void *, for this function and
write_file.

9 years agoHelper hash_string: Delete length argument.
Niels Möller [Fri, 5 Aug 2016 09:05:02 +0000 (11:05 +0200)] 
Helper hash_string: Delete length argument.

9 years agohogweed-benchmark: Use uint8_t for curve25519 values.
Niels Möller [Fri, 5 Aug 2016 09:00:30 +0000 (11:00 +0200)] 
hogweed-benchmark: Use uint8_t for curve25519 values.

9 years agoUse uint8_t for sexp strings.
Niels Möller [Fri, 5 Aug 2016 08:54:54 +0000 (10:54 +0200)] 
Use uint8_t for sexp strings.

9 years agoHelper read_file: Use size_t for sizes, and uint8_t for the contents.
Niels Möller [Fri, 5 Aug 2016 08:42:24 +0000 (10:42 +0200)] 
Helper read_file: Use size_t for sizes, and uint8_t for the contents.

9 years agoCheck for invalid keys, with even p, in dsa_sign.
Niels Möller [Thu, 4 Aug 2016 08:22:26 +0000 (10:22 +0200)] 
Check for invalid keys, with even p, in dsa_sign.

9 years agoReject invalid keys, with even moduli, in rsa_compute_root_tr.
Niels Möller [Thu, 4 Aug 2016 08:18:23 +0000 (10:18 +0200)] 
Reject invalid keys, with even moduli, in rsa_compute_root_tr.

9 years agoReject invalid RSA keys with even modulo.
Niels Möller [Sun, 31 Jul 2016 08:32:22 +0000 (10:32 +0200)] 
Reject invalid RSA keys with even modulo.

9 years agoMerge branch 'powm_sec'
Niels Möller [Sat, 16 Jul 2016 20:07:45 +0000 (22:07 +0200)] 
Merge branch 'powm_sec'

9 years agoDelete code for supporting GMP older than 5.0.
Niels Möller [Wed, 13 Jul 2016 20:15:29 +0000 (22:15 +0200)] 
Delete code for supporting GMP older than 5.0.

9 years agoChangeLog update.
Niels Möller [Tue, 12 Jul 2016 20:50:22 +0000 (22:50 +0200)] 
ChangeLog update.

9 years agoFix typo breaking mini-gmp build.
Niels Möller [Tue, 12 Jul 2016 20:40:17 +0000 (22:40 +0200)] 
Fix typo breaking mini-gmp build.

9 years agoFix configure check for mpz_powm_sec.
Niels Möller [Tue, 12 Jul 2016 20:38:07 +0000 (22:38 +0200)] 
Fix configure check for mpz_powm_sec.

9 years agoUse mpz_powm_sec.
Niels Möller [Mon, 20 Jun 2016 18:04:56 +0000 (20:04 +0200)] 
Use mpz_powm_sec.

9 years agoAdd FIXME comment.
Niels Möller [Mon, 20 Jun 2016 05:11:34 +0000 (07:11 +0200)] 
Add FIXME comment.

9 years agoUpdated nettle-3.3 plan.
Niels Möller [Tue, 10 May 2016 19:36:04 +0000 (21:36 +0200)] 
Updated nettle-3.3 plan.

9 years agoMerge branch 'curve25519-rfc7748'
Niels Möller [Mon, 2 May 2016 20:27:18 +0000 (22:27 +0200)] 
Merge branch 'curve25519-rfc7748'

9 years agoUpdate Curve25519 documentation.
Niels Möller [Mon, 2 May 2016 20:20:30 +0000 (22:20 +0200)] 
Update Curve25519 documentation.

9 years agoAdd tests for ignored curve25519 input bits.
Niels Möller [Mon, 2 May 2016 19:44:27 +0000 (21:44 +0200)] 
Add tests for ignored curve25519 input bits.

9 years agoUpdate curve25519_mul, to align with RFC 7748.
Niels Möller [Mon, 25 Apr 2016 19:48:52 +0000 (21:48 +0200)] 
Update curve25519_mul, to align with RFC 7748.

9 years agoChangeLog update.
Niels Möller [Wed, 30 Mar 2016 17:29:23 +0000 (19:29 +0200)] 
ChangeLog update.

9 years agoCorrected the name of the windows dll files
Nikos Mavrogiannopoulos [Thu, 18 Feb 2016 10:03:25 +0000 (11:03 +0100)] 
Corrected the name of the windows dll files

The new name doesn't include the minor number and thus
allows to replace with a minor update of the library.

9 years agotwofish: Fix undefined shift.
Niels Möller [Tue, 15 Mar 2016 19:41:14 +0000 (20:41 +0100)] 
twofish: Fix undefined shift.

9 years agoblowfish: Use READ_UINT32 macro.
Niels Möller [Tue, 15 Mar 2016 19:37:35 +0000 (20:37 +0100)] 
blowfish: Use READ_UINT32 macro.

9 years agoChangeLog update.
Niels Möller [Tue, 15 Mar 2016 19:30:30 +0000 (20:30 +0100)] 
ChangeLog update.

9 years ago.gitlab-ci.yml: enhance with mini-gmp builds
Nikos Mavrogiannopoulos [Thu, 10 Mar 2016 16:45:07 +0000 (17:45 +0100)] 
.gitlab-ci.yml: enhance with mini-gmp builds

9 years agoconfigure: export mp_ symbols when compiling with mini-gmp
Nikos Mavrogiannopoulos [Thu, 10 Mar 2016 16:44:08 +0000 (17:44 +0100)] 
configure: export mp_ symbols when compiling with mini-gmp

This addresses build issue when compiling with --enable-mini-gmp
and the symbol script being used.

9 years ago.gitlab-ci.yml: enhance with builds using asan and ubsan
Nikos Mavrogiannopoulos [Mon, 29 Feb 2016 12:08:36 +0000 (13:08 +0100)] 
.gitlab-ci.yml: enhance with builds using asan and ubsan

This allows running the test suite under address sanitizer and undefined
sanitizer.

9 years agodes: assign value after sanity check to avoid undefined behavior
Nikos Mavrogiannopoulos [Thu, 10 Mar 2016 16:53:01 +0000 (17:53 +0100)] 
des: assign value after sanity check to avoid undefined behavior

This corrects issues of the following type caught with -fsanitize=undefined
des.c:176:42: runtime error: index 42 out of bounds for type 'int8_t [26][4]'

9 years agoFix c99-ism in getopt.c. Reported by Henrik Grubbström.
Niels Möller [Mon, 14 Mar 2016 09:37:55 +0000 (10:37 +0100)] 
Fix c99-ism in getopt.c. Reported by Henrik Grubbström.

9 years agoFix sexp-conv assertion failure, reported by Hanno Böck.
Niels Möller [Tue, 16 Feb 2016 07:20:58 +0000 (08:20 +0100)] 
Fix sexp-conv assertion failure, reported by Hanno Böck.

9 years agoComment improvement.
Niels Möller [Tue, 16 Feb 2016 07:13:48 +0000 (08:13 +0100)] 
Comment improvement.

9 years agosexp-conv: Fail with an error message for unexpected ']' characters.
Niels Möller [Tue, 16 Feb 2016 07:11:24 +0000 (08:11 +0100)] 
sexp-conv: Fail with an error message for unexpected ']' characters.
Fixes crash reported by Hanno Böck.

9 years agoFix typos in CBC documentation. Spotted by Zhitao He.
Niels Möller [Tue, 16 Feb 2016 06:55:08 +0000 (07:55 +0100)] 
Fix typos in CBC documentation. Spotted by Zhitao He.

9 years agoAdded directive file. nettle_3.2_release_20160128
Niels Möller [Thu, 28 Jan 2016 20:02:04 +0000 (21:02 +0100)] 
Added directive file.

9 years agoChangeLog entry for nettle-3.2 release.
Niels Möller [Thu, 28 Jan 2016 20:00:17 +0000 (21:00 +0100)] 
ChangeLog entry for nettle-3.2 release.

9 years agoFix handling of unrecognized options for nettle-hash and nettle-pbkdf2.
Niels Möller [Tue, 26 Jan 2016 18:37:14 +0000 (19:37 +0100)] 
Fix handling of unrecognized options for nettle-hash and nettle-pbkdf2.

9 years agoUpdated testing status.
Niels Möller [Mon, 25 Jan 2016 19:58:59 +0000 (20:58 +0100)] 
Updated testing status.

9 years agoUpdated release plan.
Niels Möller [Sat, 23 Jan 2016 19:44:11 +0000 (20:44 +0100)] 
Updated release plan.

9 years agoBump manual's UPDATED-FOR to 3.2.
Niels Möller [Sat, 23 Jan 2016 13:28:22 +0000 (14:28 +0100)] 
Bump manual's UPDATED-FOR to 3.2.

9 years agoNew file .gitlab-ci.yml.
Niels Möller [Thu, 21 Jan 2016 19:47:33 +0000 (20:47 +0100)] 
New file .gitlab-ci.yml.

9 years agoUpdated NEWS for nettle-3.2.
Niels Möller [Wed, 20 Jan 2016 18:21:12 +0000 (19:21 +0100)] 
Updated NEWS for nettle-3.2.

9 years agoBump version numbers.
Niels Möller [Wed, 20 Jan 2016 18:15:32 +0000 (19:15 +0100)] 
Bump version numbers.

9 years agoMark dlopen-test main arguments as UNUSED.
Niels Möller [Wed, 20 Jan 2016 18:14:57 +0000 (19:14 +0100)] 
Mark dlopen-test main arguments as UNUSED.

9 years agoDelete dlopen-test on make clean.
Niels Möller [Wed, 20 Jan 2016 18:13:27 +0000 (19:13 +0100)] 
Delete dlopen-test on make clean.

9 years agoFix argument signedness for encode_raw.
Niels Möller [Sun, 10 Jan 2016 10:37:01 +0000 (11:37 +0100)] 
Fix argument signedness for encode_raw.