summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Move bcrypt tests to its own file. ChangeLog entries for bcrypt.bcryptNiels Möller2020-07-024-48/+67
|
* Add bcrypt tests to testsuite.Stephen R. van den Berg2020-07-011-0/+47
|
* blowfish: Add bcrypt support.Stephen R. van den Berg2020-06-304-1/+615
|
* v4.0 Blowfish: Prepare for bcrypt support.Stephen R. van den Berg2020-06-242-11/+64
|
* test/gostdsa-vko: add hashed test vectors from RFC 7836Dmitry Baryshkov2020-06-201-0/+45
| | | | | | | | It was not possible to check gostdsa_vko test vectors with the outputs from RFC 7836 because Nettle lacked Streebog hash function. Now as the function is supported, add full test vectors. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
* pbkdf2-test: add PBKDF2 tests using Streebog HMAC functionDmitry Baryshkov2020-06-201-1/+30
| | | | | | | Add test vectors from R 50.1.111-2016 to verify using HMAC-STREEBOG in PBKDF2 function. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
* nettle-benchmark: bench Streebog hashesDmitry Baryshkov2020-06-201-1/+2
| | | | Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
* hmac: add support for streebog256/512 hash functionDmitry Baryshkov2020-06-088-2/+187
| | | | | | Add support for calculating HMAC using Streebog hash functions. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
* testsuite: add test for Streebog hash functionDmitry Baryshkov2020-06-063-1/+92
| | | | | | | Add a testuite for Streebog hash function. Test vectors are based on RFC 6986. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
* Implement GOST R 34.11-2012 (Streebog) hash functionDmitry Baryshkov2020-06-067-1/+1468
| | | | | | Also add nettle_streebog256 and nettle_streebog512 to nettle meta interface. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
* Delete benchmark code attempting to measure function call overhead.Niels Möller2020-06-022-18/+8
|
* examples: don't use deprecated OpenSSL hashing APIEmil Velikov2020-05-281-66/+44
| | | | | | | | | | | | | | | | | The direct $HASH_{Init,Update,Final} has been discouraged for a while. With the upcoming OpenSSL 3.0 it will be officially deprecated. Add a handy macro, to avoid repetition and mistakes like in the current code. Namely - we're using SHA cblock/digest_len for md5 :-\ The macro will also make it easier to add more, as seen with next patch. v2: Align it with the crypto implementations, namely: - use openssh_hash_ctx::evp, use correct sizeof() - move hash_update out of the macro - remove forward declarations for hash functions Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
* gitlab-ci: Reenable gost in gnutls buildNiels Möller2020-05-101-1/+1
|
* Note Nettle-3.6 release.nettle_3.6_release_20200429Niels Möller2020-04-291-0/+4
|
* Tweak gcc command like flagsnettle_3.6rc3Niels Möller2020-04-272-12/+6
|
* Update mini-gmp to latest versionNiels Möller2020-04-273-362/+547
|
* Mention GMP-6.1.0 in NEWS.Niels Möller2020-04-261-0/+3
|
* Delete compatibility definitions of mpz_limbs_read and friends.Niels Möller2020-04-254-127/+6
|
* Require gmp-6.1.0 or later, for mpn_zero_p.Niels Möller2020-04-255-36/+13
|
* DISTFILES fixes.nettle_3.6rc2Niels Möller2020-04-253-2/+7
|
* Set WINEPATH for tests, and remove symlink workaround.Niels Möller2020-04-236-33/+11
|
* In tests, delete ASSERTs with functions pointer comparisons.Niels Möller2020-04-233-14/+7
|
* Delete .test-rules.make, replaced by GNU make pattern rules.Niels Möller2020-04-223-341/+16
|
* ChangeLog entry for gost_vko.Niels Möller2020-04-211-0/+7
|
* Implement GOST VKO key derivation algorithmDmitry Eremin-Solenikov2020-04-218-2/+215
| | | | Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
* ChangeLog for previous gosthash changes.Niels Möller2020-04-191-0/+11
|
* Delete obsolete FIXME comment.Niels Möller2020-04-191-2/+0
|
* gosthash94: switch to using MD_UPDATE() macroDmitry Baryshkov2020-04-192-36/+12
|
* NEWS file update for soname changes.Niels Möller2020-04-171-10/+19
|
* Bump libnettle soname, libnettle version is now 8.0.Niels Möller2020-04-172-4/+10
|
* Fix file header.Niels Möller2020-04-151-1/+1
|
* Make poly1305-internal.h include poly1305.h, not aes.h.Niels Möller2020-04-151-1/+1
|
* ChangeLog for poly1305-internal.h.Niels Möller2020-04-151-0/+10
|
* poly1305: make internal symbols internalDmitry Baryshkov2020-04-156-26/+81
| | | | | | | | Make low-level poly1305 functions that were marked as "internal" in public header file really internal. Change their prefix from nettle to _nettle. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
* Reorder DISTFILES to avoid wrong timestamp order in tar file.Niels Möller2020-04-152-1/+4
|
* NEWS fixes from Daiki Ueno.Niels Möller2020-04-121-9/+9
|
* Define _GNU_SOURCE in ed448-test.c.Niels Möller2020-04-122-0/+7
|
* Update info on ABI compatibility in NEWS.nettle_3.6rc1Niels Möller2020-04-061-2/+8
|
* Increase hogweed version number to 6.0, at request of Gnutls team.Niels Möller2020-04-062-2/+8
|
* Fix gnutls ci job to not replace the system's nettle libraries.Niels Möller2020-04-021-3/+4
|
* Update config.guess and config.sub.Niels Möller2020-04-013-24/+30
|
* Delete some unused autoconf macros.Niels Möller2020-04-012-174/+3
|
* Delete extra quotes from TEST_SHLIB_DIR. Add comment.Niels Möller2020-04-011-1/+2
|
* Rework setting of LD_LIBRARY_PATH for tests.test-shlib-dirNiels Möller2020-03-315-4/+29
| | | | | | | | | | | | * testsuite/Makefile.in (check): Pass only TEST_SHLIB_DIR to the run-tests script, and leave setting of LD_LIBRARY_PATH and related variables to that script. * examples/Makefile.in (check): Likewise. * run-tests: Check TEST_SHLIB_DIR, and set up LD_LIBRARY_PATH and related member variables. * config.make.in (abs_top_builddir, TEST_SHLIB_DIR): New variables.
* Version number update for Nettle-3.6Niels Möller2020-03-263-3/+13
| | | | | | * configure.ac: Bump package version to 3.6. (LIBNETTLE_MINOR): Bump minor number, now 7.1. (LIBHOGWEED_MINOR): Bump minor numbers, now 5.1
* More NEWS entries for Nettle-3.6.Niels Möller2020-03-251-4/+27
|
* x86: Add x86-ibt-test.cH.J. Lu2020-03-223-1/+74
| | | | | | | On Linux/x86, when CET is enabled, all indirect branch targets must start with ENDBR instruction. Add x86-ibt-test.c to verify that missing ENDBR instruction at indirect branch target will trigger SIGSEGV on CET platforms.
* ChangeLog entry for x86_64 CET fixes.Niels Möller2020-03-141-0/+10
|
* x86: Add ASM_X86_ENDBR and x86 CET marker to config.m4.inH.J. Lu2020-03-143-1/+69
| | | | | | | | | | | | | | | | | | Intel Control-flow Enforcement Technology (CET): https://software.intel.com/en-us/articles/intel-sdm contains shadow stack (SHSTK) and indirect branch tracking (IBT). When CET is enabled, ELF object files must be marked with .note.gnu.property section. Also when IBT is enabled, all indirect branch targets must start with ENDBR instruction. This patch adds ASM_X86_ENDBR and the x86 CET marker to config.m4.in when CET is enabled. It updates PROLOGUE with ASM_X86_ENDBR. Tested on CET machine with i686 and x86-64. Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
* arm: Fix memxor for non-armv6+ big-endian systemsMichael Weiser2020-03-122-19/+25
| | | | | | | | | | | ARM assembly adjustments for big-endian systems contained armv6+-only instructions (rev) in generic arm memxor code. Replace those with an actual conversion of the leftover byte store routines for big-endian systems. This also provides a slight optimisation by removing the additional instruction as well as increased symmetry between little- and big-endian implementations. Signed-off-by: Michael Weiser <michael.weiser@gmx.de>