From c085c98d56b377088b1241369fb44a7f44bd7f874179d075a376a1d831ae5f7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Mon, 13 Mar 2017 09:21:37 +0000 Subject: [PATCH] - Update to version 1.0.12 * Ed25519ph was implemented, adding a multi-part signature API (crypto_sign_init(), crypto_sign_update(), crypto_sign_final_*()). * New constants and related accessors have been added for Scrypt and Argon2. * XChaCha20 has been implemented. Like XSalsa20, this construction extends the ChaCha20 cipher to accept a 192-bit nonce. This makes it safe to use ChaCha20 with random nonces. * crypto_secretbox, crypto_box and crypto_aead now offer variants leveraging XChaCha20. * SHA-2 is about 20% faster, which also gives a speed boost to signature and signature verification. * AVX2 implementations of Salsa20 and ChaCha20 have been added. They are twice as fast as the SSE2 implementations. The speed gain is even more significant on Windows, that previously didn't use vectorized implementations. * New high-level API: crypto_kdf, to easily derive one or more subkeys from a master key. * Siphash with a 128-bit output has been implemented, and is available as crypto_shorthash_siphashx_*. * New *_keygen() helpers functions have been added to create secret keys for all constructions. This improves code clarity and can prevent keys from being partially initialized. * A new randombytes_buf_deterministic() function was added to deterministically fill a memory region with pseudorandom data. This function can especially be useful to write reproducible tests. * A preliminary crypto_kx_*() API was added to compute shared session keys. * AVX2 detection is more reliable. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libsodium?expand=0&rev=55 --- libsodium-1.0.11.tar.gz | 3 --- libsodium-1.0.12.tar.gz | 3 +++ libsodium.changes | 33 +++++++++++++++++++++++++++++++++ libsodium.spec | 4 ++-- 4 files changed, 38 insertions(+), 5 deletions(-) delete mode 100644 libsodium-1.0.11.tar.gz create mode 100644 libsodium-1.0.12.tar.gz diff --git a/libsodium-1.0.11.tar.gz b/libsodium-1.0.11.tar.gz deleted file mode 100644 index 1233806..0000000 --- a/libsodium-1.0.11.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a14549db3c49f6ae2170cbbf4664bd48ace50681045e8dbea7c8d9fb96f9c765 -size 1846782 diff --git a/libsodium-1.0.12.tar.gz b/libsodium-1.0.12.tar.gz new file mode 100644 index 0000000..05a5be7 --- /dev/null +++ b/libsodium-1.0.12.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b8648f1bb3a54b0251cf4ffa4f0d76ded13977d4fa7517d988f4c902dd8e2f95 +size 1887284 diff --git a/libsodium.changes b/libsodium.changes index e5c4f47..e2464ff 100644 --- a/libsodium.changes +++ b/libsodium.changes @@ -1,3 +1,36 @@ +------------------------------------------------------------------- +Mon Mar 13 09:17:43 UTC 2017 - idonmez@suse.com + +- Update to version 1.0.12 + * Ed25519ph was implemented, adding a multi-part signature API + (crypto_sign_init(), crypto_sign_update(), crypto_sign_final_*()). + * New constants and related accessors have been added for Scrypt + and Argon2. + * XChaCha20 has been implemented. Like XSalsa20, this construction + extends the ChaCha20 cipher to accept a 192-bit nonce. This + makes it safe to use ChaCha20 with random nonces. + * crypto_secretbox, crypto_box and crypto_aead now offer variants + leveraging XChaCha20. + * SHA-2 is about 20% faster, which also gives a speed boost to + signature and signature verification. + * AVX2 implementations of Salsa20 and ChaCha20 have been added. + They are twice as fast as the SSE2 implementations. The speed + gain is even more significant on Windows, that previously + didn't use vectorized implementations. + * New high-level API: crypto_kdf, to easily derive one or more + subkeys from a master key. + * Siphash with a 128-bit output has been implemented, and is + available as crypto_shorthash_siphashx_*. + * New *_keygen() helpers functions have been added to create + secret keys for all constructions. This improves code clarity + and can prevent keys from being partially initialized. + * A new randombytes_buf_deterministic() function was added to + deterministically fill a memory region with pseudorandom data. + This function can especially be useful to write reproducible tests. + * A preliminary crypto_kx_*() API was added to compute shared + session keys. + * AVX2 detection is more reliable. + ------------------------------------------------------------------- Sat Aug 6 04:31:24 UTC 2016 - i@marguerite.su diff --git a/libsodium.spec b/libsodium.spec index ec954e0..e9ee47e 100644 --- a/libsodium.spec +++ b/libsodium.spec @@ -1,7 +1,7 @@ # # spec file for package libsodium # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %define lname libsodium18 Name: libsodium -Version: 1.0.11 +Version: 1.0.12 Release: 0 Summary: Portable NaCl-based crypto library License: ISC