summaryrefslogtreecommitdiff
path: root/ext/sodium/php_libsodium.h
diff options
context:
space:
mode:
authorFrank Denis <github@pureftpd.org>2017-10-02 21:59:51 +0200
committerFrank Denis <github@pureftpd.org>2017-10-02 21:59:51 +0200
commit72f7d0b1844bc97727bf936359d95e269281d1dc (patch)
treed6f5c0f2fdec8ac2b02d9774d7d8f92a6ea80202 /ext/sodium/php_libsodium.h
parent7d53e65125e63f522a5ad6dbbabeb7d5fc243dea (diff)
downloadphp-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.h6
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);