summaryrefslogtreecommitdiff
path: root/ext/sodium/php_libsodium.h
diff options
context:
space:
mode:
authorFrank Denis <github@pureftpd.org>2017-07-18 14:42:15 +0200
committerFrank Denis <github@pureftpd.org>2017-07-18 14:42:15 +0200
commit09b15e4f301c6b4e1b82af911abdc55ad75a1207 (patch)
treea50ad8388812bd2af870e24eab53d0f1cfbefd76 /ext/sodium/php_libsodium.h
parent36bd878ec26de0f7cb3d1ab3b0b61df0a37d310b (diff)
downloadphp-git-09b15e4f301c6b4e1b82af911abdc55ad75a1207.tar.gz
sodium ext: implement sodium_crypto_kdf()
Also add zend_parse_parameters_none() statements where appropriate.
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 f891ed1423..241fb3eb93 100644
--- a/ext/sodium/php_libsodium.h
+++ b/ext/sodium/php_libsodium.h
@@ -68,6 +68,8 @@ PHP_FUNCTION(sodium_crypto_generichash_final);
PHP_FUNCTION(sodium_crypto_generichash_init);
PHP_FUNCTION(sodium_crypto_generichash_keygen);
PHP_FUNCTION(sodium_crypto_generichash_update);
+PHP_FUNCTION(sodium_crypto_kdf_derive_from_key);
+PHP_FUNCTION(sodium_crypto_kdf_keygen);
PHP_FUNCTION(sodium_crypto_kx_client_session_keys);
PHP_FUNCTION(sodium_crypto_kx_keypair);
PHP_FUNCTION(sodium_crypto_kx_publickey);