aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/Crypto/x25519.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--WireGuard/WireGuard/Crypto/x25519.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/WireGuard/WireGuard/Crypto/x25519.h b/WireGuard/WireGuard/Crypto/x25519.h
new file mode 100644
index 0000000..7d8440d
--- /dev/null
+++ b/WireGuard/WireGuard/Crypto/x25519.h
@@ -0,0 +1,7 @@
+#ifndef X25519_H
+#define X25519_H
+
+void curve25519_derive_public_key(unsigned char public_key[32], const unsigned char private_key[32]);
+void curve25519_generate_private_key(unsigned char private_key[32]);
+
+#endif