Mercurial > hg > php_nacl
changeset 5:df71d49a6f98
Fixes to support crypto_sign_edwards25519sha512batch
author | Ivo Smits <Ivo@UCIS.nl> |
---|---|
date | Fri, 18 Mar 2011 17:41:40 +0100 |
parents | 81aaf4ba1eaa |
children | ded86f4d6275 |
files | nacl.c php_nacl.h |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/nacl.c Fri Mar 18 16:58:48 2011 +0100 +++ b/nacl.c Fri Mar 18 17:41:40 2011 +0100 @@ -29,6 +29,7 @@ #include "nacl/crypto_box_curve25519xsalsa20poly1305.h" #include "nacl/crypto_scalarmult_curve25519.h" +#include "nacl/crypto_sign_edwards25519sha512batch.h" #include "php.h" #include "php_ini.h"
--- a/php_nacl.h Fri Mar 18 16:58:48 2011 +0100 +++ b/php_nacl.h Fri Mar 18 17:41:40 2011 +0100 @@ -15,8 +15,8 @@ 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_sign_edwards25519sha512batch) -PHP_FUNCTION(nacl_crypto_sign_edwards25519sha512batch_open) +PHP_FUNCTION(nacl_crypto_sign_edwards25519sha512batch); +PHP_FUNCTION(nacl_crypto_sign_edwards25519sha512batch_open); extern zend_module_entry nacl_module_entry; #define phpext_module_ptr &nacl_module_entry