forked from pool/libsodium
Accepting request 339760 from devel:libraries:c_c++
- Update to 1.0.4 * Support for AES256-GCM has been added. This requires a CPU with the aesni and pclmul extensions, and is accessible via the crypto_aead_aes256gcm_*() functions. * ChaCha20 with an extended (96 bit) nonce and a 32-bit counter has been implemented as crypto_stream_chacha20_ietf(), crypto_stream_chacha20_ietf_xor() and crypto_stream_chacha20_ietf_xor_ic(). An IETF-compatible version of ChaCha20Poly1305 is available as crypto_aead_chacha20poly1305_ietf_npubbytes(), crypto_aead_chacha20poly1305_ietf_encrypt() and crypto_aead_chacha20poly1305_ietf_decrypt(). * The sodium_increment() helper function has been added, to increment an arbitrary large number (such as a nonce). * The sodium_compare() helper function has been added, to compare arbitrary large numbers (such as nonces, in order to prevent replay attacks). OBS-URL: https://build.opensuse.org/request/show/339760 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libsodium?expand=0&rev=11
This commit is contained in:
commit
13125a242d
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:cbcfc63cc90c05d18a20f229a62c7e7054a73731d0aa858c0517152c549b1288
|
|
||||||
size 1679664
|
|
3
libsodium-1.0.4.tar.gz
Normal file
3
libsodium-1.0.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e4f75d4b2bd860068e0401163207415c9d41048d7601409897ff2951839fd310
|
||||||
|
size 1787241
|
@ -1,3 +1,22 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Oct 18 15:09:15 UTC 2015 - idonmez@suse.com
|
||||||
|
|
||||||
|
- Update to 1.0.4
|
||||||
|
* Support for AES256-GCM has been added. This requires a CPU with
|
||||||
|
the aesni and pclmul extensions, and is accessible via the
|
||||||
|
crypto_aead_aes256gcm_*() functions.
|
||||||
|
* ChaCha20 with an extended (96 bit) nonce and a 32-bit counter has
|
||||||
|
been implemented as crypto_stream_chacha20_ietf(),
|
||||||
|
crypto_stream_chacha20_ietf_xor() and crypto_stream_chacha20_ietf_xor_ic().
|
||||||
|
An IETF-compatible version of ChaCha20Poly1305 is available as
|
||||||
|
crypto_aead_chacha20poly1305_ietf_npubbytes(),
|
||||||
|
crypto_aead_chacha20poly1305_ietf_encrypt() and
|
||||||
|
crypto_aead_chacha20poly1305_ietf_decrypt().
|
||||||
|
* The sodium_increment() helper function has been added, to increment
|
||||||
|
an arbitrary large number (such as a nonce).
|
||||||
|
* The sodium_compare() helper function has been added, to compare
|
||||||
|
arbitrary large numbers (such as nonces, in order to prevent replay attacks).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 13 15:09:50 UTC 2015 - mpluskal@suse.com
|
Wed May 13 15:09:50 UTC 2015 - mpluskal@suse.com
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%define lname libsodium13
|
%define lname libsodium13
|
||||||
Name: libsodium
|
Name: libsodium
|
||||||
Version: 1.0.3
|
Version: 1.0.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Portable NaCl-based crypto library
|
Summary: Portable NaCl-based crypto library
|
||||||
License: ISC
|
License: ISC
|
||||||
@ -61,8 +61,12 @@ to compile and develop applications that use libsodium.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%ifarch %arm
|
||||||
|
# "sign" test fails otherwise
|
||||||
|
export CFLAGS="%{optflags} -fno-tree-vrp"
|
||||||
|
%endif
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user