diff php_nacl.h @ 10:130a6a714966 default tip

Use libsodium instead of libnacl
author Ivo Smits <Ivo@UCIS.nl>
date Thu, 10 Jul 2014 16:34:04 +0000
parents ded86f4d6275
children
line wrap: on
line diff
--- a/php_nacl.h	Thu Jul 14 16:49:21 2011 +0200
+++ b/php_nacl.h	Thu Jul 10 16:34:04 2014 +0000
@@ -5,7 +5,7 @@
 #include "TSRM.h"
 #endif
 
-#define PHP_NACL_VERSION "1.0"
+#define PHP_NACL_VERSION "1.2"
 #define PHP_NACL_EXTNAME "nacl"
 
 PHP_MINIT_FUNCTION(nacl);
@@ -19,6 +19,9 @@
 PHP_FUNCTION(nacl_crypto_sign_edwards25519sha512batch);
 PHP_FUNCTION(nacl_crypto_sign_edwards25519sha512batch_open);
 PHP_FUNCTION(nacl_crypto_sign_edwards25519sha512batch_keypair);
+PHP_FUNCTION(nacl_crypto_sign_ed25519);
+PHP_FUNCTION(nacl_crypto_sign_ed25519_open);
+PHP_FUNCTION(nacl_crypto_sign_ed25519_keypair);
 
 extern zend_module_entry nacl_module_entry;
 #define phpext_module_ptr &nacl_module_entry