From b139b2c0d29506ecb31764092923702b1c0db979 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 3 Sep 2015 21:37:40 +0200 Subject: php-pecl-libsodium: 1.0.0 (stable) --- REFLECTION | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION index 7053b97..1d06cf3 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,13 +1,17 @@ -Extension [ extension #114 libsodium version 0.2.1 ] { +Extension [ extension #117 libsodium version 1.0.0 ] { - - Constants [36] { + - Constants [41] { Constant [ integer Sodium\CRYPTO_AEAD_CHACHA20POLY1305_KEYBYTES ] { 32 } 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_AUTH_BYTES ] { 32 } + Constant [ integer Sodium\CRYPTO_AUTH_KEYBYTES ] { 32 } + Constant [ integer Sodium\CRYPTO_BOX_SEALBYTES ] { 48 } Constant [ integer Sodium\CRYPTO_BOX_SECRETKEYBYTES ] { 32 } Constant [ integer Sodium\CRYPTO_BOX_PUBLICKEYBYTES ] { 32 } Constant [ integer Sodium\CRYPTO_BOX_KEYPAIRBYTES ] { 64 } + Constant [ integer Sodium\CRYPTO_BOX_MACBYTES ] { 16 } Constant [ integer Sodium\CRYPTO_BOX_NONCEBYTES ] { 24 } Constant [ integer Sodium\CRYPTO_KX_BYTES ] { 32 } Constant [ integer Sodium\CRYPTO_KX_PUBLICKEYBYTES ] { 32 } @@ -29,6 +33,7 @@ Extension [ extension #114 libsodium version 0.2.1 ] { Constant [ integer Sodium\CRYPTO_SHORTHASH_BYTES ] { 8 } Constant [ integer Sodium\CRYPTO_SHORTHASH_KEYBYTES ] { 16 } Constant [ integer Sodium\CRYPTO_SECRETBOX_KEYBYTES ] { 32 } + Constant [ integer Sodium\CRYPTO_SECRETBOX_MACBYTES ] { 16 } Constant [ integer Sodium\CRYPTO_SECRETBOX_NONCEBYTES ] { 24 } Constant [ integer Sodium\CRYPTO_SIGN_BYTES ] { 64 } Constant [ integer Sodium\CRYPTO_SIGN_SEEDBYTES ] { 32 } @@ -58,6 +63,21 @@ Extension [ extension #114 libsodium version 0.2.1 ] { Parameter #3 [ $key ] } } + Function [ function Sodium\crypto_auth ] { + + - Parameters [2] { + Parameter #0 [ $string ] + Parameter #1 [ $key ] + } + } + Function [ function Sodium\crypto_auth_verify ] { + + - Parameters [3] { + Parameter #0 [ $signature ] + Parameter #1 [ $string ] + Parameter #2 [ $key ] + } + } Function [ function Sodium\crypto_box ] { - Parameters [3] { @@ -256,6 +276,12 @@ Extension [ extension #114 libsodium version 0.2.1 ] { Parameter #0 [ $key ] } } + Function [ function Sodium\crypto_sign_publickey_from_secretkey ] { + + - Parameters [1] { + Parameter #0 [ $key ] + } + } Function [ function Sodium\crypto_sign_seed_keypair ] { - Parameters [1] { -- cgit