pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/libsodium libsodium: updated to 1.0.17



details:   https://anonhg.NetBSD.org/pkgsrc/rev/587596c6caa8
branches:  trunk
changeset: 327710:587596c6caa8
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Jan 07 08:36:03 2019 +0000

description:
libsodium: updated to 1.0.17

Version 1.0.17
- Bug fix: sodium_pad() didn't properly support block sizes >= 256 bytes.
- JS/WebAssembly: some old iOS versions can't instantiate the WebAssembly
module; fall back to Javascript on these.
- JS/WebAssembly: compatibility with newer Emscripten versions.
- Bug fix: crypto_pwhash_scryptsalsa208sha256_str_verify() and
crypto_pwhash_scryptsalsa208sha256_str_needs_rehash() didn't return
EINVAL on input strings with a short length, unlike their high-level
counterpart.
- Added a workaround for Visual Studio 2010 bug causing CPU features
not to be detected.
- Portability improvements.
- Test vectors from Project Wycheproof have been added.
- New low-level APIs for arithmetic mod the order of the prime order group:
crypto_core_ed25519_scalar_random(), crypto_core_ed25519_scalar_reduce(),
crypto_core_ed25519_scalar_invert(), crypto_core_ed25519_scalar_negate(),
crypto_core_ed25519_scalar_complement(), crypto_core_ed25519_scalar_add()
and crypto_core_ed25519_scalar_sub().
- New low-level APIs for scalar multiplication without clamping:
crypto_scalarmult_ed25519_base_noclamp() and
crypto_scalarmult_ed25519_noclamp(). These new APIs are especially useful
for blinding.
- sodium_sub() has been implemented.
- Support for WatchOS has been added.
- getrandom(2) is now used on FreeBSD 12+.
- The nonnull attribute has been added to all relevant prototypes.
- More reliable AVX512 detection.
- Javascript/Webassembly builds now use dynamic memory growth.

diffstat:

 security/libsodium/Makefile |   4 ++--
 security/libsodium/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r 170a385ecaab -r 587596c6caa8 security/libsodium/Makefile
--- a/security/libsodium/Makefile       Mon Jan 07 08:31:28 2019 +0000
+++ b/security/libsodium/Makefile       Mon Jan 07 08:36:03 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2018/11/12 14:40:22 jperkin Exp $
+# $NetBSD: Makefile,v 1.14 2019/01/07 08:36:03 adam Exp $
 
-DISTNAME=      libsodium-1.0.16
+DISTNAME=      libsodium-1.0.17
 CATEGORIES=    security
 MASTER_SITES=  https://download.libsodium.org/libsodium/releases/
 
diff -r 170a385ecaab -r 587596c6caa8 security/libsodium/distinfo
--- a/security/libsodium/distinfo       Mon Jan 07 08:31:28 2019 +0000
+++ b/security/libsodium/distinfo       Mon Jan 07 08:36:03 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.13 2017/12/14 08:39:09 adam Exp $
+$NetBSD: distinfo,v 1.14 2019/01/07 08:36:03 adam Exp $
 
-SHA1 (libsodium-1.0.16.tar.gz) = c7ea321d7b8534e51c5e3d86055f6c1aa1e48ee9
-RMD160 (libsodium-1.0.16.tar.gz) = 5d43fdb512fd5ed02510f4f26849466a72e242a5
-SHA512 (libsodium-1.0.16.tar.gz) = eab917d599c9c1fe971a6ecf915b9a6476ccec2d46cf23cbfbf06dd3833089b422f192de4d55f17b93362f1251ba8d5ddeb95ced1a422a3a2631b4b82553907f
-Size (libsodium-1.0.16.tar.gz) = 1910835 bytes
+SHA1 (libsodium-1.0.17.tar.gz) = 3ff06c4aa33eb0a9c9d83481a00383b0c81d4a80
+RMD160 (libsodium-1.0.17.tar.gz) = 331ec1d752070e342553597c1f69d0c570f0983f
+SHA512 (libsodium-1.0.17.tar.gz) = 7cc9e4f11e656008ce9dff735acea95acbcb91ae4936de4d26f7798093766a77c373e9bd4a7b45b60ef8a11de6c55bc8dcac13bebf8c23c671d0536430501da1
+Size (libsodium-1.0.17.tar.gz) = 1911910 bytes



Home | Main Index | Thread Index | Old Index