diff options
author | adam <adam@pkgsrc.org> | 2017-12-14 08:39:09 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2017-12-14 08:39:09 +0000 |
commit | ddb0249c32bb127ff0860791958b1774abe59279 (patch) | |
tree | 79f522c9414ceca4ff139c04115977802d8a6ea7 /security/libsodium | |
parent | 7e7af010efe25cdfd5cef8421769c78c945d13de (diff) | |
download | pkgsrc-ddb0249c32bb127ff0860791958b1774abe59279.tar.gz |
libsodium: updated to 1.0.16
Version 1.0.16
- Signatures computations and verifications are now way faster on
64-bit platforms with compilers supporting 128-bit arithmetic (gcc,
clang, icc). This includes the WebAssembly target.
- New low-level APIs for computations over edwards25519:
`crypto_scalarmult_ed25519()`, `crypto_scalarmult_ed25519_base()`,
`crypto_core_ed25519_is_valid_point()`, `crypto_core_ed25519_add()`,
`crypto_core_ed25519_sub()` and `crypto_core_ed25519_from_uniform()`
(elligator representative to point).
- `crypto_sign_open()`, `crypto_sign_verify_detached() and
`crypto_sign_edwards25519sha512batch_open` now reject public keys in
non-canonical form in addition to low-order points.
- The library can be built with `ED25519_NONDETERMINISTIC` defined in
order to use synthetic nonces for EdDSA. This is disabled by default.
- Webassembly: `crypto_pwhash_*()` functions are now included in
non-sumo builds.
- `sodium_stackzero()` was added to wipe content off the stack.
- Android: support new SDKs where unified headers have become the
default.
- The Salsa20-based PRNG example is now thread-safe on platforms with
support for thread-local storage, optionally mixes bits from RDRAND.
- CMAKE: static library detection on Unix systems has been improved
- Argon2 and scrypt are slightly faster on Linux.
Diffstat (limited to 'security/libsodium')
-rw-r--r-- | security/libsodium/Makefile | 4 | ||||
-rw-r--r-- | security/libsodium/PLIST | 4 | ||||
-rw-r--r-- | security/libsodium/distinfo | 10 |
3 files changed, 10 insertions, 8 deletions
diff --git a/security/libsodium/Makefile b/security/libsodium/Makefile index c3719802414..9805703b22d 100644 --- a/security/libsodium/Makefile +++ b/security/libsodium/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.11 2017/10/12 12:08:39 adam Exp $ +# $NetBSD: Makefile,v 1.12 2017/12/14 08:39:09 adam Exp $ -DISTNAME= libsodium-1.0.15 +DISTNAME= libsodium-1.0.16 CATEGORIES= security MASTER_SITES= https://download.libsodium.org/libsodium/releases/ diff --git a/security/libsodium/PLIST b/security/libsodium/PLIST index 557b70f7e76..accb8484b4c 100644 --- a/security/libsodium/PLIST +++ b/security/libsodium/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.8 2017/10/12 12:08:39 adam Exp $ +@comment $NetBSD: PLIST,v 1.9 2017/12/14 08:39:09 adam Exp $ include/sodium.h include/sodium/core.h include/sodium/crypto_aead_aes256gcm.h @@ -11,6 +11,7 @@ include/sodium/crypto_auth_hmacsha512256.h include/sodium/crypto_box.h include/sodium/crypto_box_curve25519xchacha20poly1305.h include/sodium/crypto_box_curve25519xsalsa20poly1305.h +include/sodium/crypto_core_ed25519.h include/sodium/crypto_core_hchacha20.h include/sodium/crypto_core_hsalsa20.h include/sodium/crypto_core_salsa20.h @@ -32,6 +33,7 @@ include/sodium/crypto_pwhash_argon2id.h include/sodium/crypto_pwhash_scryptsalsa208sha256.h include/sodium/crypto_scalarmult.h include/sodium/crypto_scalarmult_curve25519.h +include/sodium/crypto_scalarmult_ed25519.h include/sodium/crypto_secretbox.h include/sodium/crypto_secretbox_xchacha20poly1305.h include/sodium/crypto_secretbox_xsalsa20poly1305.h diff --git a/security/libsodium/distinfo b/security/libsodium/distinfo index 1ffbd3b8381..9e31ed07c91 100644 --- a/security/libsodium/distinfo +++ b/security/libsodium/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.12 2017/10/12 12:08:39 adam Exp $ +$NetBSD: distinfo,v 1.13 2017/12/14 08:39:09 adam Exp $ -SHA1 (libsodium-1.0.15.tar.gz) = 0597479c842300a3b060898f1acfe09ca032736a -RMD160 (libsodium-1.0.15.tar.gz) = 84791d8341181225acfa3bba5d1168460e73684a -SHA512 (libsodium-1.0.15.tar.gz) = 299a208f8342793d13498e95b23f1749f5b5b13ec276db3ec401130615e837ef475b6a1283b6e87a5f8227d23e70e38ca721073dadd5dc88fe4aff342aa64adc -Size (libsodium-1.0.15.tar.gz) = 1866057 bytes +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 |