diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-04-08 11:01:53 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-04-08 11:01:53 +0200 |
commit | c19272112c937c981c67507509f61fb31794a0af (patch) | |
tree | a966378e248635c4e94610f7c11830df39e03bcc /REFLECTION | |
parent | 33038f90b4efb936e0acaff7f0ee04e37b691a8f (diff) |
php-pecl-libsodium: 1.0.5
Diffstat (limited to 'REFLECTION')
-rw-r--r-- | REFLECTION | 26 |
1 files changed, 24 insertions, 2 deletions
@@ -1,6 +1,6 @@ -Extension [ <persistent> extension #121 libsodium version 1.0.4 ] { +Extension [ <persistent> 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 [ <persistent> 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 [ <persistent> extension #121 libsodium version 1.0.4 ] { Parameter #3 [ <required> $key ] } } + Function [ <internal:libsodium> function Sodium\crypto_aead_chacha20poly1305_ietf_decrypt ] { + + - Parameters [4] { + Parameter #0 [ <required> $string ] + Parameter #1 [ <required> $ad ] + Parameter #2 [ <required> $nonce ] + Parameter #3 [ <required> $key ] + } + } + Function [ <internal:libsodium> function Sodium\crypto_aead_chacha20poly1305_ietf_encrypt ] { + + - Parameters [4] { + Parameter #0 [ <required> $string ] + Parameter #1 [ <required> $ad ] + Parameter #2 [ <required> $nonce ] + Parameter #3 [ <required> $key ] + } + } Function [ <internal:libsodium> function Sodium\crypto_auth ] { - Parameters [2] { |