comparison 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
comparison
equal deleted inserted replaced
5:df71d49a6f98 6:ded86f4d6275
13 PHP_FUNCTION(nacl_crypto_box_curve25519xsalsa20poly1305_open); 13 PHP_FUNCTION(nacl_crypto_box_curve25519xsalsa20poly1305_open);
14 PHP_FUNCTION(nacl_crypto_box_curve25519xsalsa20poly1305_getpublickey); 14 PHP_FUNCTION(nacl_crypto_box_curve25519xsalsa20poly1305_getpublickey);
15 PHP_FUNCTION(nacl_crypto_box_curve25519xsalsa20poly1305_beforenm); 15 PHP_FUNCTION(nacl_crypto_box_curve25519xsalsa20poly1305_beforenm);
16 PHP_FUNCTION(nacl_crypto_box_curve25519xsalsa20poly1305_afternm); 16 PHP_FUNCTION(nacl_crypto_box_curve25519xsalsa20poly1305_afternm);
17 PHP_FUNCTION(nacl_crypto_box_curve25519xsalsa20poly1305_open_afternm); 17 PHP_FUNCTION(nacl_crypto_box_curve25519xsalsa20poly1305_open_afternm);
18 PHP_FUNCTION(nacl_crypto_box_curve25519xsalsa20poly1305_keypair);
18 PHP_FUNCTION(nacl_crypto_sign_edwards25519sha512batch); 19 PHP_FUNCTION(nacl_crypto_sign_edwards25519sha512batch);
19 PHP_FUNCTION(nacl_crypto_sign_edwards25519sha512batch_open); 20 PHP_FUNCTION(nacl_crypto_sign_edwards25519sha512batch_open);
21 PHP_FUNCTION(nacl_crypto_sign_edwards25519sha512batch_keypair);
20 22
21 extern zend_module_entry nacl_module_entry; 23 extern zend_module_entry nacl_module_entry;
22 #define phpext_module_ptr &nacl_module_entry 24 #define phpext_module_ptr &nacl_module_entry
23 25
24 #endif 26 #endif