aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/crypto/curve25519.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-03-19 17:14:38 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2017-03-19 23:11:31 +0100
commit1ce5a098cac2c01fd79e42cc7fd76f7d33a6b9b4 (patch)
tree1b9abb7a20761d245d88f2acfb8d5c161956175c /src/crypto/curve25519.h
parentblake2s: add AVX implementation (diff)
downloadwireguard-monolithic-historical-1ce5a098cac2c01fd79e42cc7fd76f7d33a6b9b4.tar.xz
wireguard-monolithic-historical-1ce5a098cac2c01fd79e42cc7fd76f7d33a6b9b4.zip
curve25519: add AVX implementation
Diffstat (limited to 'src/crypto/curve25519.h')
-rw-r--r--src/crypto/curve25519.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/crypto/curve25519.h b/src/crypto/curve25519.h
index 620302c..8e440a1 100644
--- a/src/crypto/curve25519.h
+++ b/src/crypto/curve25519.h
@@ -13,6 +13,8 @@ void curve25519(u8 mypublic[CURVE25519_POINT_SIZE], const u8 secret[CURVE25519_P
void curve25519_generate_secret(u8 secret[CURVE25519_POINT_SIZE]);
void curve25519_generate_public(u8 pub[CURVE25519_POINT_SIZE], const u8 secret[CURVE25519_POINT_SIZE]);
+void curve25519_fpu_init(void);
+
#ifdef DEBUG
bool curve25519_selftest(void);
#endif