]> gitweb.ps.run Git - matrix_esp_thesis/blobdiff - ext/olm/lib/curve25519-donna.h
add dependencies to repo
[matrix_esp_thesis] / ext / olm / lib / curve25519-donna.h
diff --git a/ext/olm/lib/curve25519-donna.h b/ext/olm/lib/curve25519-donna.h
new file mode 100644 (file)
index 0000000..3c53d4a
--- /dev/null
@@ -0,0 +1,18 @@
+/* header file for the curve25519-donna implementation, because the
+ * authors of that project don't supply one.
+ */
+#ifndef CURVE25519_DONNA_H
+#define CURVE25519_DONNA_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+extern int curve25519_donna(unsigned char *output, const unsigned char *a,
+                            const unsigned char *b);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif