diff php_nacl.h @ 6:ded86f4d6275

Added keypair generation functions (with random data input)
author Ivo Smits <Ivo@UCIS.nl>
date Tue, 12 Jul 2011 20:51:44 +0000
parents df71d49a6f98
children 130a6a714966
line wrap: on
line diff
--- a/php_nacl.h	Fri Mar 18 17:41:40 2011 +0100
+++ b/php_nacl.h	Tue Jul 12 20:51:44 2011 +0000
@@ -15,8 +15,10 @@
 PHP_FUNCTION(nacl_crypto_box_curve25519xsalsa20poly1305_beforenm);
 PHP_FUNCTION(nacl_crypto_box_curve25519xsalsa20poly1305_afternm);
 PHP_FUNCTION(nacl_crypto_box_curve25519xsalsa20poly1305_open_afternm);
+PHP_FUNCTION(nacl_crypto_box_curve25519xsalsa20poly1305_keypair);
 PHP_FUNCTION(nacl_crypto_sign_edwards25519sha512batch);
 PHP_FUNCTION(nacl_crypto_sign_edwards25519sha512batch_open);
+PHP_FUNCTION(nacl_crypto_sign_edwards25519sha512batch_keypair);
 
 extern zend_module_entry nacl_module_entry;
 #define phpext_module_ptr &nacl_module_entry