diff options
author | Frank Denis <github@pureftpd.org> | 2017-10-02 21:59:51 +0200 |
---|---|---|
committer | Frank Denis <github@pureftpd.org> | 2017-10-02 21:59:51 +0200 |
commit | 72f7d0b1844bc97727bf936359d95e269281d1dc (patch) | |
tree | d6f5c0f2fdec8ac2b02d9774d7d8f92a6ea80202 /ext/sodium/php_libsodium.h | |
parent | 7d53e65125e63f522a5ad6dbbabeb7d5fc243dea (diff) | |
download | php-git-72f7d0b1844bc97727bf936359d95e269281d1dc.tar.gz |
ext/sodium: import bindings for secretstream
Diffstat (limited to 'ext/sodium/php_libsodium.h')
-rw-r--r-- | ext/sodium/php_libsodium.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/sodium/php_libsodium.h b/ext/sodium/php_libsodium.h index adfe40e8ae..b566490654 100644 --- a/ext/sodium/php_libsodium.h +++ b/ext/sodium/php_libsodium.h @@ -90,6 +90,12 @@ PHP_FUNCTION(sodium_crypto_scalarmult_base); PHP_FUNCTION(sodium_crypto_secretbox); PHP_FUNCTION(sodium_crypto_secretbox_keygen); PHP_FUNCTION(sodium_crypto_secretbox_open); +PHP_FUNCTION(sodium_crypto_secretstream_xchacha20poly1305_keygen); +PHP_FUNCTION(sodium_crypto_secretstream_xchacha20poly1305_init_push); +PHP_FUNCTION(sodium_crypto_secretstream_xchacha20poly1305_push); +PHP_FUNCTION(sodium_crypto_secretstream_xchacha20poly1305_init_pull); +PHP_FUNCTION(sodium_crypto_secretstream_xchacha20poly1305_pull); +PHP_FUNCTION(sodium_crypto_secretstream_xchacha20poly1305_rekey); PHP_FUNCTION(sodium_crypto_shorthash); PHP_FUNCTION(sodium_crypto_shorthash_keygen); PHP_FUNCTION(sodium_crypto_sign); |