From 69ce5917f646cc7d31def4308d6570743317d498 Mon Sep 17 00:00:00 2001 From: lilia Date: Tue, 10 Feb 2015 12:49:38 -0800 Subject: [PATCH] Allocate 64 bytes for curve25519 sigs Closes #145 --- build/curve25519.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/curve25519.js b/build/curve25519.js index d5aebceb3..037fd2371 100644 --- a/build/curve25519.js +++ b/build/curve25519.js @@ -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));