summaryrefslogtreecommitdiffstats
path: root/src/curve25519.h
diff options
context:
space:
mode:
authorMatt Dunwoodie <ncon@mail.noconroy.net>2019-03-24 19:59:00 +1100
committerMatt Dunwoodie <ncon@mail.noconroy.net>2019-03-25 22:48:58 +1100
commitd89116904249285b6ae47cbfe9dde430cd4cb113 (patch)
treee70eb0775a7086f2121bb1893f591d5cb845880a /src/curve25519.h
parentStart splitting of the crypto function (diff)
downloadwireguard-openbsd-d89116904249285b6ae47cbfe9dde430cd4cb113.tar.xz
wireguard-openbsd-d89116904249285b6ae47cbfe9dde430cd4cb113.zip
Finish split of crypto functions
Diffstat (limited to 'src/curve25519.h')
-rw-r--r--src/curve25519.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/curve25519.h b/src/curve25519.h
new file mode 100644
index 00000000000..3d9192a00bb
--- /dev/null
+++ b/src/curve25519.h
@@ -0,0 +1,8 @@
+#ifndef _CURVE25519_H_
+#define _CURVE25519_H_
+
+int crypto_scalarmult_curve25519(unsigned char *q,
+ const unsigned char *n,
+ const unsigned char *p);
+
+#endif /* _CURVE25519_H_ */