aboutsummaryrefslogtreecommitdiffstats
path: root/src/curve25519.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/curve25519.h')
-rw-r--r--src/curve25519.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/curve25519.h b/src/curve25519.h
new file mode 100644
index 0000000..51edd1e
--- /dev/null
+++ b/src/curve25519.h
@@ -0,0 +1,10 @@
+#ifndef CURVE25519_H
+#define CURVE25519_H
+
+typedef unsigned char curve25519_key[32];
+
+void curve25519_donna(curve25519_key mypublic, const curve25519_key secret, const curve25519_key basepoint);
+void curve25519_donna_basepoint(curve25519_key mypublic, const curve25519_key secret);
+
+#endif /* CURVE25519_H */
+