]>
git.ipfire.org Git - thirdparty/nettle.git/log
Niels Möller [Thu, 9 Aug 2018 20:00:03 +0000 (22:00 +0200)]
Mark obsolete helpers _rsa_blind and _rsa_unblind as deprecated.
Niels Möller [Thu, 9 Aug 2018 19:53:55 +0000 (21:53 +0200)]
Deprecate old AES interface.
Use new macro _NETTLE_ATTTRIBUTE_DEPRECATED.
Niels Möller [Thu, 9 Aug 2018 19:09:11 +0000 (21:09 +0200)]
New macro _NETTLE_ATTRIBUTE_PURE.
Niels Möller [Thu, 9 Aug 2018 18:54:18 +0000 (20:54 +0200)]
Avoid cast between incompatible function types.
Niels Möller [Thu, 9 Aug 2018 18:27:57 +0000 (20:27 +0200)]
des-compat.c: Change length argument type from uint32_t to size_t.
Niels Möller [Wed, 8 Aug 2018 20:31:01 +0000 (22:31 +0200)]
nettle.texinfo: New section on ABI and API compatibility.
Niels Möller [Mon, 30 Jul 2018 16:36:14 +0000 (18:36 +0200)]
ChangeLog entry for previous change.
Dmitry Eremin-Solenikov [Wed, 25 Jul 2018 11:53:21 +0000 (14:53 +0300)]
Add benchmarking for HMAC functions
In preparation of changing internal HMAC interface add benchmarking for
HMAC functions.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Niels Möller [Fri, 13 Jul 2018 18:18:46 +0000 (20:18 +0200)]
Additional analogous assert in eratosthenese program.
Niels Möller [Fri, 13 Jul 2018 17:38:59 +0000 (19:38 +0200)]
Check for allocation overflow in eratosthenes program.
Niels Möller [Thu, 12 Jul 2018 20:39:00 +0000 (22:39 +0200)]
Fix handling of eratosthenes -q.
Niels Möller [Thu, 12 Jul 2018 20:37:36 +0000 (22:37 +0200)]
Fix at-exit leak in eratosthenes program.
Niels Möller [Thu, 12 Jul 2018 20:34:01 +0000 (22:34 +0200)]
Make eccdata deallocate storage before exit.
Niels Möller [Thu, 12 Jul 2018 20:32:59 +0000 (22:32 +0200)]
Fix memory leak in eccdata.
Nikos Mavrogiannopoulos [Tue, 10 Jul 2018 18:58:36 +0000 (20:58 +0200)]
.gitlab-ci.yml: added cross compilation and tests on mips/aarch64/arm
This utilizes the qemu-user system used by gnutls. This also
deprecates the previous aarch64 build.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Niels Möller [Thu, 12 Jul 2018 08:24:00 +0000 (10:24 +0200)]
Fix arm fat setup for nettle_sha1_compress.
Nikos Mavrogiannopoulos [Mon, 9 Jul 2018 06:44:09 +0000 (08:44 +0200)]
.gitlab-ci.yml: updated build images to latest used by gnutls
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Niels Möller [Sun, 8 Jul 2018 07:57:04 +0000 (09:57 +0200)]
Fix x86_64 fat setup for nettle_sha1_compress.
Nikos Mavrogiannopoulos [Tue, 12 Jun 2018 11:26:00 +0000 (13:26 +0200)]
.gitlab-ci.yml: link with shared library on x86-64 build
This allows testing whether exported symbols are sufficient for the
included test suite.
Niels Möller [Sat, 7 Jul 2018 20:10:41 +0000 (22:10 +0200)]
Add two missing includes of the new internal headers.
Niels Möller [Sat, 7 Jul 2018 20:10:03 +0000 (22:10 +0200)]
ChangeLog for previous change.
Nikos Mavrogiannopoulos [Wed, 6 Jun 2018 13:17:00 +0000 (15:17 +0200)]
abi: explicitly export intended symbols and hide others
This adds all exported symbols in the map files explicitly under
the following rules:
- Symbols mentioned in internal headers go in a section which is
valid only for testing, and linking with these symbols will break
in library updates.
- Symbols mentioned in installed headers go in the exported sections
and are considered part of the ABI.
- All internal symbols move to internal headers.
- The _nettle_md5_compress and _nettle_sha1_compress become exported
without the _nettle prefix, due to existing usage.
Niels Möller [Sat, 7 Jul 2018 19:24:26 +0000 (21:24 +0200)]
Comment fix.
Niels Möller [Sun, 17 Jun 2018 17:29:12 +0000 (19:29 +0200)]
ChangeLog entry for previous change.
Dmitry Eremin-Solenikov [Wed, 13 Jun 2018 09:41:40 +0000 (12:41 +0300)]
Fix quoting in autoconf ifunc test
* aclocal.m4 (NETTLE_CHECK_IFUNC): fix quoting so that
AC_LINK_IFELSE/AC_TRY_LINK is defined outside of this test.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Dominyk Tiller [Sun, 17 Jun 2018 17:20:09 +0000 (19:20 +0200)]
testsuite/symbols-test: Exclude ____chkstk_darwin symbols.
These are produced by Apple's Xcode 10 compiler.
Niels Möller [Tue, 27 Mar 2018 21:07:50 +0000 (23:07 +0200)]
Merge branch 'rename-data-symbols' into master-updates
Niels Möller [Sun, 25 Mar 2018 20:29:25 +0000 (22:29 +0200)]
Update NEWS file.
Niels Möller [Sun, 25 Mar 2018 09:42:48 +0000 (11:42 +0200)]
ChangeLog entries for ARM big-endian changes.
Michael Weiser [Tue, 13 Feb 2018 21:13:14 +0000 (22:13 +0100)]
Document arm endianness considerations
Extend arm/README to provide some background on considerations to be taken into
account when writing assembly routines supposed to work in big and little memory
endianness.
Michael Weiser [Tue, 13 Feb 2018 21:13:13 +0000 (22:13 +0100)]
Support big-endian arm in assembly code
Adjust sha1-compress, sha256-compress, umac-nh, chacha-core-internal,
salsa20-core-internal and memxor for arm to work in big-endian mode.
Michael Weiser [Tue, 13 Feb 2018 21:13:12 +0000 (22:13 +0100)]
Add arm endianness-aware assembly infrastructure
Introduce m4 macros to conditionally handle differences of little- and
big-endian arm in assembler code.
Niels Möller [Sat, 17 Mar 2018 16:25:03 +0000 (17:25 +0100)]
Add leading underscore to data symbols.
Niels Möller [Wed, 14 Mar 2018 21:12:32 +0000 (22:12 +0100)]
Update NEWS file.
Niels Möller [Wed, 14 Mar 2018 18:25:42 +0000 (19:25 +0100)]
Merge branch 'ecc-params-tweak' into master-updates
Niels Möller [Wed, 14 Mar 2018 18:21:33 +0000 (19:21 +0100)]
Merge branch 'x86_64-sha_ni-sha256'
Niels Möller [Sun, 11 Mar 2018 21:23:59 +0000 (22:23 +0100)]
Support sha_ni sha256_compress in x86_64 fat builds.
Niels Möller [Sat, 10 Mar 2018 17:12:42 +0000 (18:12 +0100)]
Tweak parameters for ecc tables.
Niels Möller [Sat, 10 Mar 2018 15:44:43 +0000 (16:44 +0100)]
Make eccdata warn about poor parameters.
Niels Möller [Sat, 10 Mar 2018 14:50:34 +0000 (15:50 +0100)]
New program eccparams.
Niels Möller [Wed, 21 Feb 2018 22:07:31 +0000 (23:07 +0100)]
Merge branch 'cmac-support'
Niels Möller [Wed, 21 Feb 2018 22:04:44 +0000 (23:04 +0100)]
New sha256 implementation using sha_ni instructions.
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.