]>
git.ipfire.org Git - thirdparty/nettle.git/log
Niels Möller [Wed, 21 Feb 2018 22:07:31 +0000 (23:07 +0100)]
Merge branch 'cmac-support'
Niels Möller [Tue, 20 Feb 2018 21:48:15 +0000 (22:48 +0100)]
Update CBC and CFB tests to use aes256_ctx, not the deprecated aes_ctx.
Niels Möller [Tue, 20 Feb 2018 21:41:37 +0000 (22:41 +0100)]
(test_cmac_hash): Deallocate ctx properly.
Niels Möller [Tue, 20 Feb 2018 18:31:41 +0000 (19:31 +0100)]
Update RSA examples to use aes256_ctx, not the deprecated aes_ctx.
Niels Möller [Tue, 20 Feb 2018 18:20:34 +0000 (19:20 +0100)]
Delete unused struct process_ctx.
Niels Möller [Mon, 19 Feb 2018 21:25:18 +0000 (22:25 +0100)]
Mostly aesthetic changes to CMAC.
Niels Möller [Mon, 19 Feb 2018 21:07:59 +0000 (22:07 +0100)]
Add ChangeLog entries for CMAC.
Niels Möller [Mon, 19 Feb 2018 20:42:39 +0000 (21:42 +0100)]
Reindent CMAC code to GNU standard, white space changes only.
Nikos Mavrogiannopoulos [Wed, 10 Jan 2018 08:29:17 +0000 (09:29 +0100)]
Added support for CMAC
That adds support for CMAC as a generic framework for
128-bit block and key ciphers, as well as API for AES-128-CMAC,
and AES-256-CMAC.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Niels Möller [Mon, 19 Feb 2018 18:23:40 +0000 (19:23 +0100)]
New macros TMP_DECL_ALIGN and TMP_ALLOC_ALIGN.
Niels Möller [Sun, 18 Feb 2018 09:18:00 +0000 (10:18 +0100)]
Fix link failure for pss-mgf1-test, in non-hogweed builds.
Niels Möller [Sun, 18 Feb 2018 09:17:09 +0000 (10:17 +0100)]
ChangeLog for previous change.
Dmitry Eremin-Solenikov [Sat, 17 Feb 2018 09:57:12 +0000 (12:57 +0300)]
Move expressions with side effects out of asserts
It is wrong to use expressions with side-effects in asserts, they can
easily be compiled away. Move them out of assert() macro and just
compare the result.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Niels Möller [Sat, 17 Feb 2018 09:22:12 +0000 (10:22 +0100)]
ChangeLog for previous changes.
Dmitry Eremin-Solenikov [Tue, 12 Dec 2017 00:54:38 +0000 (03:54 +0300)]
Enable OpenSSL AES-GCM in nettle-benchmark
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dmitry Eremin-Solenikov [Tue, 12 Dec 2017 00:54:37 +0000 (03:54 +0300)]
Provide wrappers around OpenSSL AES GCM
For benchmarking purposes provide wrappers around OpenSSL AES GCM
implementation. Note, digest callback will work only for encryption due
to OpenSSL internals.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Niels Möller [Fri, 16 Feb 2018 07:38:11 +0000 (08:38 +0100)]
Improved index entries in the manual.
Niels Möller [Fri, 16 Feb 2018 07:14:22 +0000 (08:14 +0100)]
Update CAST128/CAST5 docs. Inconsistencies spotted by Henrik Rindlöw.
Niels Möller [Mon, 12 Feb 2018 22:17:16 +0000 (23:17 +0100)]
Started on NEWS entries for Nettle-3.5.
Niels Möller [Sat, 10 Feb 2018 20:16:06 +0000 (21:16 +0100)]
New configure option --enable-x86-sha-ni.
Niels Möller [Thu, 8 Feb 2018 16:10:13 +0000 (17:10 +0100)]
Support sha_ni sha1_compress in x86_64 fat builds.
Niels Möller [Wed, 7 Feb 2018 05:42:08 +0000 (06:42 +0100)]
Add missing pshufd.
Niels Möller [Mon, 5 Feb 2018 20:46:39 +0000 (21:46 +0100)]
New sha1 implementation using x86_64 sha_ni instructions.
Niels Möller [Mon, 5 Feb 2018 17:28:24 +0000 (18:28 +0100)]
Check for x86_64 sha_ni extension.
Niels Möller [Mon, 5 Feb 2018 19:34:12 +0000 (20:34 +0100)]
ci: Fix yaml error.
Niels Möller [Mon, 5 Feb 2018 17:14:48 +0000 (18:14 +0100)]
ci: Fix collection of logs from gnutls test builds.
Niels Möller [Sat, 3 Feb 2018 07:15:45 +0000 (08:15 +0100)]
ci: Save logs from gnutls test builds.
Nikos Mavrogiannopoulos [Thu, 1 Feb 2018 19:53:35 +0000 (20:53 +0100)]
gcm: use ctr_crypt16() for improved performance
Niels Möller [Thu, 1 Feb 2018 19:27:33 +0000 (20:27 +0100)]
Generalize _ctr_crypt16, so it can be used also for gcm.
Niels Möller [Thu, 1 Feb 2018 19:22:17 +0000 (20:22 +0100)]
Line break fix.
Niels Möller [Tue, 30 Jan 2018 19:09:41 +0000 (20:09 +0100)]
Makefile tweak, make clean should not delete desdata.stamp.
Niels Möller [Tue, 30 Jan 2018 19:07:44 +0000 (20:07 +0100)]
ChangeLog entry for previous change, by Jay Foad.
Jay Foad [Wed, 24 Jan 2018 10:43:41 +0000 (10:43 +0000)]
Fix parallel make failures trying to build desdata twice simultaneously.
Niels Möller [Tue, 23 Jan 2018 20:00:44 +0000 (21:00 +0100)]
Recognize "x86" as cpu name.
* configure.ac (asm_path): Recognize "x86", in addition to "i?86",
for 32-bit x86 processors. Reportedly needed for x86 android builds.
Niels Möller [Sat, 20 Jan 2018 11:00:59 +0000 (12:00 +0100)]
ChangeLog entries for CFB8.
Niels Möller [Sat, 20 Jan 2018 10:55:50 +0000 (11:55 +0100)]
Whitespace fix.
Dmitry Eremin-Solenikov [Wed, 17 Jan 2018 14:17:18 +0000 (17:17 +0300)]
Add CFB8 - Cipher Feedback 8-bit block cipher mode
Add CFB variant with 8-bit segment size.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Niels Möller [Tue, 16 Jan 2018 21:50:28 +0000 (22:50 +0100)]
Add "fall through" comment.
Niels Möller [Tue, 16 Jan 2018 21:49:37 +0000 (22:49 +0100)]
tools/pkcs1-conv.c: Add missing break statements.
Niels Möller [Sun, 14 Jan 2018 08:21:11 +0000 (09:21 +0100)]
Merge branch 'ctr-opt' into master-updates
Dmitry Eremin-Solenikov [Tue, 12 Dec 2017 01:01:22 +0000 (04:01 +0300)]
Allow user to specify multiple algorithms to nettle-benchmark
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Niels Möller [Mon, 8 Jan 2018 21:28:52 +0000 (22:28 +0100)]
CTR mode optimizations for 16-byte block size.
Niels Möller [Mon, 8 Jan 2018 21:22:10 +0000 (22:22 +0100)]
Extend nettle_block16 with uint64_t field.
Niels Möller [Mon, 8 Jan 2018 21:14:54 +0000 (22:14 +0100)]
Configure check for __builtin_bswap64.
Niels Möller [Mon, 8 Jan 2018 20:11:46 +0000 (21:11 +0100)]
New helper function ctr_fill.
Niels Möller [Mon, 8 Jan 2018 07:45:17 +0000 (08:45 +0100)]
Increase buffer size for in-place CTR.
Niels Möller [Tue, 9 Jan 2018 06:31:05 +0000 (07:31 +0100)]
Extended CTR mode tests.
Niels Möller [Mon, 8 Jan 2018 07:26:36 +0000 (08:26 +0100)]
Benchmark in-place operation separately, for cbc_decrypt and ctr_crypt.
Niels Möller [Mon, 8 Jan 2018 07:06:18 +0000 (08:06 +0100)]
Tweaks for in-place cbc, cfb and gcm.
* cbc.c (cbc_decrypt): For in-place operation (src == dst case),
eliminate use of src variable.
* cfb.c (cfb_decrypt): Likewise.
* gcm.c (gcm_crypt): Likewise, and replace one memxor3 by memxor.
Niels Möller [Wed, 3 Jan 2018 18:00:19 +0000 (19:00 +0100)]
Unroll x86_64 aesni loops.
Niels Möller [Tue, 26 Dec 2017 23:09:00 +0000 (00:09 +0100)]
Fix version number typo in ChangeLog.
Niels Möller [Sun, 19 Nov 2017 09:06:15 +0000 (10:06 +0100)]
Note 3.4 release in ChangeLog.
Niels Möller [Sun, 19 Nov 2017 09:03:20 +0000 (10:03 +0100)]
Note mips32 tests of nettle-3.4.
Niels Möller [Sun, 19 Nov 2017 08:55:42 +0000 (09:55 +0100)]
Update NEWS with base64 and base16 changes.
Niels Möller [Sun, 19 Nov 2017 08:52:49 +0000 (09:52 +0100)]
Add missing ChangeLog for base64 changes.
Dated 2017-08-27.
Niels Möller [Wed, 15 Nov 2017 21:52:21 +0000 (22:52 +0100)]
Note sparc tests.
Niels Möller [Tue, 14 Nov 2017 14:29:24 +0000 (15:29 +0100)]
Update testing status.
Niels Möller [Sun, 12 Nov 2017 18:25:03 +0000 (19:25 +0100)]
Update check of GMP_NUMB_BITS declaration in assembly files.
Was broken by rename of configure variable GMP_NUMB_BITS -->
NUMB_BITS.
Niels Möller [Sat, 11 Nov 2017 09:16:47 +0000 (10:16 +0100)]
Update NEWS file.
Niels Möller [Sat, 11 Nov 2017 08:55:55 +0000 (09:55 +0100)]
Update manual
Niels Möller [Sat, 11 Nov 2017 08:49:07 +0000 (09:49 +0100)]
ChangeLog entry for previous change.
Niels Möller [Wed, 8 Nov 2017 21:48:53 +0000 (22:48 +0100)]
Revert change hiding nettle_secp_256r1 and friends.
Nikos Mavrogiannopoulos [Mon, 6 Nov 2017 15:32:48 +0000 (16:32 +0100)]
.gitlab-ci.yml: added build with gnutls
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Mon, 6 Nov 2017 15:19:55 +0000 (16:19 +0100)]
.gitlab-ci.yml: use pre-installed images for gnutls
This avoids the need to install packages during check, and
reduces failures due to infrastructure.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Niels Möller [Sun, 5 Nov 2017 22:34:35 +0000 (23:34 +0100)]
Update release plan.
Niels Möller [Sun, 5 Nov 2017 22:23:42 +0000 (23:23 +0100)]
Update NEWS file, including ABI issue.
Niels Möller [Sun, 5 Nov 2017 21:46:29 +0000 (22:46 +0100)]
Bump version numbers
Niels Möller [Thu, 2 Nov 2017 10:28:51 +0000 (11:28 +0100)]
Start on NEWS entries for nettle-3.4.
Niels Möller [Sun, 29 Oct 2017 09:09:49 +0000 (10:09 +0100)]
Merge branch 'api-opaque' into master-updates
Niels Möller [Mon, 23 Oct 2017 20:41:31 +0000 (22:41 +0200)]
ChangeLog for previous change.
Niels Möller [Mon, 23 Oct 2017 20:35:58 +0000 (22:35 +0200)]
Update ChangeLog.
Niels Möller [Mon, 23 Oct 2017 20:25:58 +0000 (22:25 +0200)]
Merge remote-tracking branch 'origin/master' into api-opaque
Niels Möller [Mon, 23 Oct 2017 20:05:32 +0000 (22:05 +0200)]
Undo added underscores on public symbols.
Niels Möller [Sun, 22 Oct 2017 07:47:48 +0000 (09:47 +0200)]
Set DYLD_LIBRARY_PATH when running tests.
Niels Möller [Tue, 17 Oct 2017 20:37:33 +0000 (22:37 +0200)]
Merge branch 'support-cfb' into master-updates
Niels Möller [Tue, 17 Oct 2017 20:27:33 +0000 (22:27 +0200)]
Update copyright years for CFB code.
Niels Möller [Mon, 16 Oct 2017 19:57:37 +0000 (21:57 +0200)]
Enable debug info when CC_FOR_BUILD is gcc.
* aclocal.m4 (GMP_PROG_CC_FOR_BUILD): Add -g when compiling with
gcc.
Niels Möller [Mon, 16 Oct 2017 19:52:05 +0000 (21:52 +0200)]
Commment fix.
Niels Möller [Mon, 16 Oct 2017 19:46:05 +0000 (21:46 +0200)]
ChangeLog for CFB.
Dmitry Eremin-Solenikov [Sat, 7 Oct 2017 18:55:27 +0000 (21:55 +0300)]
Add CFB block mode support
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Niels Möller [Sat, 14 Oct 2017 21:04:13 +0000 (23:04 +0200)]
Update .gitignore, to unclutter builds in the source directory.
Nikos Mavrogiannopoulos [Thu, 5 Oct 2017 19:41:30 +0000 (21:41 +0200)]
.gitlab-ci.yml: use fedora 26 build systems
Also removed unused variables.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Thu, 5 Oct 2017 19:41:06 +0000 (21:41 +0200)]
.gitlab-ci.yml: renamed targets for better overview in gitlab pipeline interface
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos [Thu, 5 Oct 2017 13:28:15 +0000 (15:28 +0200)]
.gitlab-ci.yml: enable fat builds on x86*
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Nikos Mavrogiannopoulos [Thu, 5 Oct 2017 13:27:14 +0000 (15:27 +0200)]
.gitlab-ci.yml: added aarch64 build
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Niels Möller [Sun, 1 Oct 2017 21:45:52 +0000 (23:45 +0200)]
Update release plan.
Niels Möller [Thu, 28 Sep 2017 19:27:01 +0000 (21:27 +0200)]
Update release plan.
Niels Möller [Sun, 24 Sep 2017 11:38:30 +0000 (13:38 +0200)]
Merge branch 'armor-signedness' into master-updates
Niels Möller [Sun, 24 Sep 2017 11:33:46 +0000 (13:33 +0200)]
Fix remaining pointer-signedness warnings for base64.
* sexp-transport-format.c (base64_encode_in_place): New helper
function.
(sexp_transport_vformat): Use it.
* testsuite/base64-test.c (test_fuzz_once): Update to use char
type where appropriate.
(test_main): Use helper functions base64_encode_in_place and
base64_decode_in_place (copied to this file).
* tools/pkcs1-conv.c (base64_decode_in_place): New helper
function.
(decode_base64): Use it.
Niels Möller [Sun, 24 Sep 2017 11:15:46 +0000 (13:15 +0200)]
Fix pointer-signedness warnings in tests.
* testsuite/testutils.c (tstring_data): Use uint8_t for data
argument.
* testsuite/testutils.h (SDATA): Use US macro to cast data
argument.
Niels Möller [Thu, 14 Sep 2017 21:39:29 +0000 (23:39 +0200)]
hkdf: Reduce includes. Use Nettle licensing notice.
* hkdf.c: Delete unneeded includes. Use Nettle licensing notice.
* hkdf.h: Include only nettle-types.h, not nettle-meta.h.
Niels Möller [Thu, 14 Sep 2017 07:06:49 +0000 (09:06 +0200)]
Workaround to silence the clang static analyzer.
Niels Möller [Tue, 12 Sep 2017 20:38:34 +0000 (22:38 +0200)]
Avoid redefining mpn_zero_p when building with mini-gmp.
Niels Möller [Sat, 9 Sep 2017 19:50:58 +0000 (21:50 +0200)]
ChangeLog entries for Daiki Ueno's fixes.
Daiki Ueno [Sat, 5 Aug 2017 07:43:45 +0000 (09:43 +0200)]
eccdata: Redirect ecc_point_out to given stream, instead of stderr
Signed-off-by: Daiki Ueno <dueno@redhat.com>
Daiki Ueno [Sat, 5 Aug 2017 07:43:44 +0000 (09:43 +0200)]
eccdata: Emit correct ecc_Bmodq_shifted for curve448
In curve448, the bit size of the order is slightly smaller than the
one of p's. Adjust ecc_Bmodq_shifted accordingly.
Signed-off-by: Daiki Ueno <dueno@redhat.com>
Daiki Ueno [Sat, 5 Aug 2017 07:43:43 +0000 (09:43 +0200)]
ecc-mul-test: Fix mpn_cmp calls
Signed-off-by: Daiki Ueno <dueno@redhat.com>
Niels Möller [Sat, 9 Sep 2017 19:13:07 +0000 (21:13 +0200)]
Updated mini-gmp from the gmp repository, latest change from 2017-07-23.
Niels Möller [Wed, 6 Sep 2017 20:39:39 +0000 (22:39 +0200)]
Merge branch 'hkdf-support'
Niels Möller [Wed, 6 Sep 2017 20:37:52 +0000 (22:37 +0200)]
ChangeLog entry.