Allocate 64 bytes for curve25519 sigs

Closes #145
This commit is contained in:
lilia 2015-02-10 12:49:38 -08:00
parent 256dd5198c
commit 69ce5917f6
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@
},
sign: function(privKey, message) {
// Where to store the result
var signature_ptr = Module._malloc(32);
var signature_ptr = Module._malloc(64);
// Get a pointer to our private key
var privateKey_ptr = _allocate(new Uint8Array(privKey));