]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Merge branch 'armor-signedness' into master-updates
authorNiels Möller <nisse@lysator.liu.se>
Sun, 24 Sep 2017 11:38:30 +0000 (13:38 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Sun, 24 Sep 2017 11:38:30 +0000 (13:38 +0200)
1  2 
ChangeLog
testsuite/testutils.h

diff --cc ChangeLog
index e445106f70ef3a16299ff3a03b2bd89a71a25a08,28460864e9f0db6f4520e108c43d1fe301e1f5f6..0f76805d79da60055fb015c133d704c6cbcee687
+++ b/ChangeLog
@@@ -1,65 -1,23 +1,85 @@@
+ 2017-09-24  Niels Möller  <nisse@lysator.liu.se>
+       * tools/pkcs1-conv.c (base64_decode_in_place): New helper
+       function.
+       (decode_base64): Use it.
+       * 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).
+       * testsuite/testutils.c (tstring_data): Use uint8_t for data
+       argument.
+       * testsuite/testutils.h (SDATA): Use US macro to cast data
+       argument.
 +2017-09-14  Niels Möller  <nisse@lysator.liu.se>
 +
 +      * hkdf.c: Delete unneeded includes. Use Nettle licensing notice.
 +      * hkdf.h: Include only nettle-types.h, not nettle-meta.h.
 +
 +      * ecc-mod.c (ecc_mod): Workaround to silence a false positive from
 +      the clang static analyzer.
 +
 +2017-09-12  Niels Möller  <nisse@lysator.liu.se>
 +
 +      * testsuite/testutils.h (mpn_zero_p): Avoid redefining mpn_zero_p
 +      when building with mini-gmp. Since the mini-gmp update, this
 +      function is defined by mini-gmp, causing link errors if nettle is
 +      configured with --enable-mini-gmp --disable-shared. Reported by
 +      Tim Rühsen.
 +
 +2017-09-09  Daiki Ueno  <dueno@redhat.com>
 +
 +      * testsuite/ecc-mul-g-test.c (test_main): Fixed mpn_cmp call.
 +      * testsuite/ecc-mul-a-test.c (test_main): Likewise.
 +      * eccdata.c (ecc_point_out): Write to given stream, instead of
 +      stderr.
 +      * eccdata.c (output_curve): In curve448, the bit size of the order
 +      is slightly smaller than the one of p's. Adjust ecc_Bmodq_shifted
 +      accordingly.
 +
 +2017-09-09  Niels Möller  <nisse@lysator.liu.se>
 +
 +      * mini-gmp.c: Updated mini-gmp from the gmp repository, latest
 +      change from 2017-07-23.
 +      * mini-gmp.h: Likewise.
 +
 +2017-09-06  Niels Möller  <nisse@lysator.liu.se>
 +
 +      * hkdf.c (hkdf_expand): Eliminate a (signed) ssize_t variable, use
 +      break rather than return at loop termination.
 +
 +2017-09-06  Niels Möller  <nisse@lysator.liu.se>
 +
 +      HKDF implementation, contributed by Nikos Mavrogiannopoulos.
 +      * hkdf.c (hkdf_extract, hkdf_expand): New file, new functions.
 +      * hkdf.h: New file.
 +      * Makefile.in (nettle_SOURCES): Add hkdf.c.
 +      (HEADERS): Add hkdf.h.
 +      * testsuite/hkdf-test.c: Tests for hkdf-sha256 and hkdf-sha1.
 +      * testsuite/Makefile.in (TS_NETTLE_SOURCES): Added hkdf-test.c.
 +      * nettle.texinfo (Key derivation functions): Document HKDF.
 +
 +2017-09-04  Andreas Schneider  <asn@samba.org>
 +
 +      * fat-arm.c: Add missing define for _GNU_SOURCE.
 +
 +2017-08-27  Niels Möller  <nisse@lysator.liu.se>
 +
 +      * configure.ac (GMP_NUMB_BITS): Set to dummy value "n/a" in
 +      mini-gmp builds.
 +      (NUMB_BITS): New substituted variable which always holds the
 +      configured value.
 +      * Makefile.in (GMP_NUMB_BITS): Renamed variable...
 +      (NUMB_BITS): ...new name
 +      * config.make.in: Update corresponding substitution.
 +
  2017-08-26  Niels Möller  <nisse@lysator.liu.se>
  
        * ecc-mod-inv.c (ecc_mod_inv): Add missing assert. Fixes a
Simple merge