From c19272112c937c981c67507509f61fb31794a0af Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 8 Apr 2016 11:01:53 +0200 Subject: php-pecl-libsodium: 1.0.5 --- REFLECTION | 26 ++++++++++++++++++++++++-- php-pecl-libsodium.spec | 5 ++++- 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/REFLECTION b/REFLECTION index 302088d..4e5c758 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,6 +1,6 @@ -Extension [ extension #121 libsodium version 1.0.4 ] { +Extension [ extension #121 libsodium version 1.0.5 ] { - - Constants [54] { + - Constants [58] { Constant [ integer Sodium\CRYPTO_AEAD_AES256GCM_KEYBYTES ] { 32 } Constant [ integer Sodium\CRYPTO_AEAD_AES256GCM_NSECBYTES ] { 0 } Constant [ integer Sodium\CRYPTO_AEAD_AES256GCM_NPUBBYTES ] { 12 } @@ -9,6 +9,10 @@ Extension [ extension #121 libsodium version 1.0.4 ] { Constant [ integer Sodium\CRYPTO_AEAD_CHACHA20POLY1305_NSECBYTES ] { 0 } Constant [ integer Sodium\CRYPTO_AEAD_CHACHA20POLY1305_NPUBBYTES ] { 8 } Constant [ integer Sodium\CRYPTO_AEAD_CHACHA20POLY1305_ABYTES ] { 16 } + Constant [ integer Sodium\CRYPTO_AEAD_CHACHA20POLY1305_IETF_KEYBYTES ] { 32 } + Constant [ integer Sodium\CRYPTO_AEAD_CHACHA20POLY1305_IETF_NSECBYTES ] { 0 } + Constant [ integer Sodium\CRYPTO_AEAD_CHACHA20POLY1305_IETF_NPUBBYTES ] { 12 } + Constant [ integer Sodium\CRYPTO_AEAD_CHACHA20POLY1305_IETF_ABYTES ] { 16 } Constant [ integer Sodium\CRYPTO_AUTH_BYTES ] { 32 } Constant [ integer Sodium\CRYPTO_AUTH_KEYBYTES ] { 32 } Constant [ integer Sodium\CRYPTO_BOX_SEALBYTES ] { 48 } @@ -99,6 +103,24 @@ Extension [ extension #121 libsodium version 1.0.4 ] { Parameter #3 [ $key ] } } + Function [ function Sodium\crypto_aead_chacha20poly1305_ietf_decrypt ] { + + - Parameters [4] { + Parameter #0 [ $string ] + Parameter #1 [ $ad ] + Parameter #2 [ $nonce ] + Parameter #3 [ $key ] + } + } + Function [ function Sodium\crypto_aead_chacha20poly1305_ietf_encrypt ] { + + - Parameters [4] { + Parameter #0 [ $string ] + Parameter #1 [ $ad ] + Parameter #2 [ $nonce ] + Parameter #3 [ $key ] + } + } Function [ function Sodium\crypto_auth ] { - Parameters [2] { diff --git a/php-pecl-libsodium.spec b/php-pecl-libsodium.spec index db28baa..68e54c9 100644 --- a/php-pecl-libsodium.spec +++ b/php-pecl-libsodium.spec @@ -27,7 +27,7 @@ Summary: Wrapper for the Sodium cryptographic library Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: 1.0.4 +Version: 1.0.5 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: BSD Group: Development/Languages @@ -238,6 +238,9 @@ rm -rf %{buildroot} %changelog +* Fri Apr 08 2016 Remi Collet - 1.0.5-1 +- Update to 1.0.5 + * Tue Apr 05 2016 Remi Collet - 1.0.4-1 - Update to 1.0.4 (no change since 1.0.3) -- cgit