Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move bcrypt tests to its own file. ChangeLog entries for bcrypt.bcrypt | Niels Möller | 2020-07-02 | 4 | -48/+67 |
| | |||||
* | Add bcrypt tests to testsuite. | Stephen R. van den Berg | 2020-07-01 | 1 | -0/+47 |
| | |||||
* | blowfish: Add bcrypt support. | Stephen R. van den Berg | 2020-06-30 | 4 | -1/+615 |
| | |||||
* | v4.0 Blowfish: Prepare for bcrypt support. | Stephen R. van den Berg | 2020-06-24 | 2 | -11/+64 |
| | |||||
* | test/gostdsa-vko: add hashed test vectors from RFC 7836 | Dmitry Baryshkov | 2020-06-20 | 1 | -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 function | Dmitry Baryshkov | 2020-06-20 | 1 | -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 hashes | Dmitry Baryshkov | 2020-06-20 | 1 | -1/+2 |
| | | | | Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com> | ||||
* | hmac: add support for streebog256/512 hash function | Dmitry Baryshkov | 2020-06-08 | 8 | -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 function | Dmitry Baryshkov | 2020-06-06 | 3 | -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 function | Dmitry Baryshkov | 2020-06-06 | 7 | -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öller | 2020-06-02 | 2 | -18/+8 |
| | |||||
* | examples: don't use deprecated OpenSSL hashing API | Emil Velikov | 2020-05-28 | 1 | -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 build | Niels Möller | 2020-05-10 | 1 | -1/+1 |
| | |||||
* | Note Nettle-3.6 release.nettle_3.6_release_20200429 | Niels Möller | 2020-04-29 | 1 | -0/+4 |
| | |||||
* | Tweak gcc command like flagsnettle_3.6rc3 | Niels Möller | 2020-04-27 | 2 | -12/+6 |
| | |||||
* | Update mini-gmp to latest version | Niels Möller | 2020-04-27 | 3 | -362/+547 |
| | |||||
* | Mention GMP-6.1.0 in NEWS. | Niels Möller | 2020-04-26 | 1 | -0/+3 |
| | |||||
* | Delete compatibility definitions of mpz_limbs_read and friends. | Niels Möller | 2020-04-25 | 4 | -127/+6 |
| | |||||
* | Require gmp-6.1.0 or later, for mpn_zero_p. | Niels Möller | 2020-04-25 | 5 | -36/+13 |
| | |||||
* | DISTFILES fixes.nettle_3.6rc2 | Niels Möller | 2020-04-25 | 3 | -2/+7 |
| | |||||
* | Set WINEPATH for tests, and remove symlink workaround. | Niels Möller | 2020-04-23 | 6 | -33/+11 |
| | |||||
* | In tests, delete ASSERTs with functions pointer comparisons. | Niels Möller | 2020-04-23 | 3 | -14/+7 |
| | |||||
* | Delete .test-rules.make, replaced by GNU make pattern rules. | Niels Möller | 2020-04-22 | 3 | -341/+16 |
| | |||||
* | ChangeLog entry for gost_vko. | Niels Möller | 2020-04-21 | 1 | -0/+7 |
| | |||||
* | Implement GOST VKO key derivation algorithm | Dmitry Eremin-Solenikov | 2020-04-21 | 8 | -2/+215 |
| | | | | Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com> | ||||
* | ChangeLog for previous gosthash changes. | Niels Möller | 2020-04-19 | 1 | -0/+11 |
| | |||||
* | Delete obsolete FIXME comment. | Niels Möller | 2020-04-19 | 1 | -2/+0 |
| | |||||
* | gosthash94: switch to using MD_UPDATE() macro | Dmitry Baryshkov | 2020-04-19 | 2 | -36/+12 |
| | |||||
* | NEWS file update for soname changes. | Niels Möller | 2020-04-17 | 1 | -10/+19 |
| | |||||
* | Bump libnettle soname, libnettle version is now 8.0. | Niels Möller | 2020-04-17 | 2 | -4/+10 |
| | |||||
* | Fix file header. | Niels Möller | 2020-04-15 | 1 | -1/+1 |
| | |||||
* | Make poly1305-internal.h include poly1305.h, not aes.h. | Niels Möller | 2020-04-15 | 1 | -1/+1 |
| | |||||
* | ChangeLog for poly1305-internal.h. | Niels Möller | 2020-04-15 | 1 | -0/+10 |
| | |||||
* | poly1305: make internal symbols internal | Dmitry Baryshkov | 2020-04-15 | 6 | -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öller | 2020-04-15 | 2 | -1/+4 |
| | |||||
* | NEWS fixes from Daiki Ueno. | Niels Möller | 2020-04-12 | 1 | -9/+9 |
| | |||||
* | Define _GNU_SOURCE in ed448-test.c. | Niels Möller | 2020-04-12 | 2 | -0/+7 |
| | |||||
* | Update info on ABI compatibility in NEWS.nettle_3.6rc1 | Niels Möller | 2020-04-06 | 1 | -2/+8 |
| | |||||
* | Increase hogweed version number to 6.0, at request of Gnutls team. | Niels Möller | 2020-04-06 | 2 | -2/+8 |
| | |||||
* | Fix gnutls ci job to not replace the system's nettle libraries. | Niels Möller | 2020-04-02 | 1 | -3/+4 |
| | |||||
* | Update config.guess and config.sub. | Niels Möller | 2020-04-01 | 3 | -24/+30 |
| | |||||
* | Delete some unused autoconf macros. | Niels Möller | 2020-04-01 | 2 | -174/+3 |
| | |||||
* | Delete extra quotes from TEST_SHLIB_DIR. Add comment. | Niels Möller | 2020-04-01 | 1 | -1/+2 |
| | |||||
* | Rework setting of LD_LIBRARY_PATH for tests.test-shlib-dir | Niels Möller | 2020-03-31 | 5 | -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.6 | Niels Möller | 2020-03-26 | 3 | -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öller | 2020-03-25 | 1 | -4/+27 |
| | |||||
* | x86: Add x86-ibt-test.c | H.J. Lu | 2020-03-22 | 3 | -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öller | 2020-03-14 | 1 | -0/+10 |
| | |||||
* | x86: Add ASM_X86_ENDBR and x86 CET marker to config.m4.in | H.J. Lu | 2020-03-14 | 3 | -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 systems | Michael Weiser | 2020-03-12 | 2 | -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> |