summaryrefslogtreecommitdiff
path: root/networking/tls_fe.h
diff options
context:
space:
mode:
Diffstat (limited to 'networking/tls_fe.h')
-rw-r--r--networking/tls_fe.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/networking/tls_fe.h b/networking/tls_fe.h
new file mode 100644
index 0000000..bd2f2b3
--- /dev/null
+++ b/networking/tls_fe.h
@@ -0,0 +1,7 @@
+/*
+ * Copyright (C) 2018 Denys Vlasenko
+ *
+ * Licensed under GPLv2, see file LICENSE in this source tree.
+ */
+#define CURVE25519_KEYSIZE 32
+void curve25519(uint8_t *result, const uint8_t *e, const uint8_t *q);