aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/contrib/keygen-html
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-02-01 19:15:28 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2018-02-01 19:51:50 +0100
commitbee5bbb6f363f97b5e6e855481dc1f6b414f734a (patch)
treeb22a289919c34920b47f8ec4d93052f4d80bffd2 /contrib/keygen-html
parentcurve25519: replace hacl64 with fiat64 (diff)
downloadwireguard-tools-bee5bbb6f363f97b5e6e855481dc1f6b414f734a.tar.xz
wireguard-tools-bee5bbb6f363f97b5e6e855481dc1f6b414f734a.zip
curve25519: replace fiat64 with faster hacl64
This reverts commit da4ff396cc5d5e0ff21f9ecbc2f951c048c63fff and adds some optimizations to hacl64. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'contrib/keygen-html')
-rw-r--r--contrib/keygen-html/src/curve25519_generate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/keygen-html/src/curve25519_generate.c b/contrib/keygen-html/src/curve25519_generate.c
index e7873a6..8b4bbb3 100644
--- a/contrib/keygen-html/src/curve25519_generate.c
+++ b/contrib/keygen-html/src/curve25519_generate.c
@@ -48,7 +48,7 @@ static __always_inline void normalize_secret(u8 secret[CURVE25519_POINT_SIZE])
secret[31] |= 64;
}
-#include "../../../../src/crypto/curve25519-generic.h"
+#include "../../../../src/crypto/curve25519-fiat32.h"
EMSCRIPTEN_KEEPALIVE void curve25519_generate_public(u8 public[static 32], const u8 private[static 32])
{