From 5a47ae79c7a70ac3c4b4d658623e1e8d112673c4 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 5 Apr 2016 06:50:16 +0200 Subject: php-pecl-libsodium: 1.0.3 --- REFLECTION | 44 ++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 42 insertions(+), 2 deletions(-) (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION index ed4b650..32773c1 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,6 +1,6 @@ -Extension [ extension #117 libsodium version 1.0.2 ] { +Extension [ extension #121 libsodium version 1.0.3 ] { - - Constants [46] { + - Constants [54] { Constant [ integer Sodium\CRYPTO_AEAD_AES256GCM_KEYBYTES ] { 32 } Constant [ integer Sodium\CRYPTO_AEAD_AES256GCM_NSECBYTES ] { 0 } Constant [ integer Sodium\CRYPTO_AEAD_AES256GCM_NPUBBYTES ] { 12 } @@ -27,6 +27,14 @@ Extension [ extension #117 libsodium version 1.0.2 ] { Constant [ integer Sodium\CRYPTO_GENERICHASH_KEYBYTES ] { 32 } Constant [ integer Sodium\CRYPTO_GENERICHASH_KEYBYTES_MIN ] { 16 } Constant [ integer Sodium\CRYPTO_GENERICHASH_KEYBYTES_MAX ] { 64 } + Constant [ integer Sodium\CRYPTO_PWHASH_SALTBYTES ] { 16 } + Constant [ string Sodium\CRYPTO_PWHASH_STRPREFIX ] { $argon2i$ } + Constant [ integer Sodium\CRYPTO_PWHASH_OPSLIMIT_INTERACTIVE ] { 4 } + Constant [ integer Sodium\CRYPTO_PWHASH_MEMLIMIT_INTERACTIVE ] { 33554432 } + Constant [ integer Sodium\CRYPTO_PWHASH_OPSLIMIT_MODERATE ] { 6 } + Constant [ integer Sodium\CRYPTO_PWHASH_MEMLIMIT_MODERATE ] { 6 } + Constant [ integer Sodium\CRYPTO_PWHASH_OPSLIMIT_SENSITIVE ] { 8 } + Constant [ integer Sodium\CRYPTO_PWHASH_MEMLIMIT_SENSITIVE ] { 8 } Constant [ integer Sodium\CRYPTO_PWHASH_SCRYPTSALSA208SHA256_SALTBYTES ] { 32 } Constant [ string Sodium\CRYPTO_PWHASH_SCRYPTSALSA208SHA256_STRPREFIX ] { $7$ } Constant [ integer Sodium\CRYPTO_PWHASH_SCRYPTSALSA208SHA256_OPSLIMIT_INTERACTIVE ] { 524288 } @@ -210,6 +218,31 @@ Extension [ extension #117 libsodium version 1.0.2 ] { Parameter #1 [ $length ] } } + Function [ function Sodium\crypto_pwhash ] { + + - Parameters [5] { + Parameter #0 [ $length ] + Parameter #1 [ $password ] + Parameter #2 [ $salt ] + Parameter #3 [ $opslimit ] + Parameter #4 [ $memlimit ] + } + } + Function [ function Sodium\crypto_pwhash_str ] { + + - Parameters [3] { + Parameter #0 [ $password ] + Parameter #1 [ $opslimit ] + Parameter #2 [ $memlimit ] + } + } + Function [ function Sodium\crypto_pwhash_str_verify ] { + + - Parameters [2] { + Parameter #0 [ $hash ] + Parameter #1 [ $password ] + } + } Function [ function Sodium\crypto_pwhash_scryptsalsa208sha256 ] { - Parameters [5] { @@ -400,6 +433,13 @@ Extension [ extension #117 libsodium version 1.0.2 ] { Parameter #0 [ $string ] } } + Function [ function Sodium\add ] { + + - Parameters [2] { + Parameter #0 [ $string_1 ] + Parameter #1 [ $string_2 ] + } + } Function [ function Sodium\library_version_major ] { - Parameters [0] { -- cgit