SHA256
1
0
forked from pool/libsodium

Accepting request 347947 from devel:libraries:c_c++

- Update to version 1.0.7
  * Sandy2x, the fastest Curve25519 implementation ever,
    has been merged in, and is automatically used on CPUs
    supporting the AVX instructions set.
  * An SSE2 optimized implementation of Poly1305 was added,
    and is twice as fast as the portable one.
  * An SSSE3 optimized implementation of ChaCha20 was added,
    and is twice as fast as the portable one.
  * Faster sodium_increment() for common nonce sizes.
  * New helper functions have been added: sodium_is_zero()
    and sodium_add().

- Follow upstream's lead and compile with -flto for > 13.2 on x86
  and x86-64.

OBS-URL: https://build.opensuse.org/request/show/347947
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libsodium?expand=0&rev=14
This commit is contained in:
2015-12-09 18:54:22 +00:00
committed by Git OBS Bridge
4 changed files with 34 additions and 5 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:940d03ea7d2caa7940e24564bf6d9f66d6edd1df1e0111ff8e3655f3b864fb59
size 1791565

3
libsodium-1.0.7.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7ad1e78763510c163ca48f05133057726a825cf97386c581bf12b01d7654204a
size 1808032

View File

@@ -1,3 +1,24 @@
-------------------------------------------------------------------
Tue Dec 8 16:25:20 UTC 2015 - idonmez@suse.com
- Update to version 1.0.7
* Sandy2x, the fastest Curve25519 implementation ever,
has been merged in, and is automatically used on CPUs
supporting the AVX instructions set.
* An SSE2 optimized implementation of Poly1305 was added,
and is twice as fast as the portable one.
* An SSSE3 optimized implementation of ChaCha20 was added,
and is twice as fast as the portable one.
* Faster sodium_increment() for common nonce sizes.
* New helper functions have been added: sodium_is_zero()
and sodium_add().
-------------------------------------------------------------------
Tue Dec 1 14:07:54 UTC 2015 - idonmez@suse.com
- Follow upstream's lead and compile with -flto for > 13.2 on x86
and x86-64.
-------------------------------------------------------------------
Mon Nov 2 10:53:04 UTC 2015 - idonmez@suse.com

View File

@@ -16,9 +16,9 @@
#
%define lname libsodium17
%define lname libsodium18
Name: libsodium
Version: 1.0.6
Version: 1.0.7
Release: 0
Summary: Portable NaCl-based crypto library
License: ISC
@@ -61,6 +61,14 @@ to compile and develop applications that use libsodium.
%setup -q
%build
%if 0%{?suse_version} > 1320
%ifarch %{ix86} x86_64
export CFLAGS="%{optflags} -flto"
export LDFLAGS="-flto"
%endif
%endif
%configure --disable-static
make %{?_smp_mflags} V=1