summaryrefslogtreecommitdiff
path: root/ext/sodium/php_libsodium.h
diff options
context:
space:
mode:
authorFrank Denis <github@pureftpd.org>2017-08-24 16:12:18 +0200
committerFrank Denis <github@pureftpd.org>2017-08-24 16:12:18 +0200
commit3691f3691317af3f4aa950f99e8446666a0e7d83 (patch)
treef52f62388786f8802275d8f003445d8fdac09f46 /ext/sodium/php_libsodium.h
parent5cd348c1d606b890abae076a38e47effcfda79be (diff)
downloadphp-git-3691f3691317af3f4aa950f99e8446666a0e7d83.tar.gz
sodium ext: add bindings for sodium_pad() and sodium_unpad()
Diffstat (limited to 'ext/sodium/php_libsodium.h')
-rw-r--r--ext/sodium/php_libsodium.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/sodium/php_libsodium.h b/ext/sodium/php_libsodium.h
index af12e27c56..18d90f82f2 100644
--- a/ext/sodium/php_libsodium.h
+++ b/ext/sodium/php_libsodium.h
@@ -108,6 +108,8 @@ PHP_FUNCTION(sodium_hex2bin);
PHP_FUNCTION(sodium_increment);
PHP_FUNCTION(sodium_memcmp);
PHP_FUNCTION(sodium_memzero);
+PHP_FUNCTION(sodium_pad);
+PHP_FUNCTION(sodium_unpad);
#endif /* PHP_LIBSODIUM_H */