aboutsummaryrefslogtreecommitdiff
path: root/libcmix-crypto/curve25519.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcmix-crypto/curve25519.h')
-rw-r--r--libcmix-crypto/curve25519.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/libcmix-crypto/curve25519.h b/libcmix-crypto/curve25519.h
new file mode 100644
index 0000000..2c8b1e3
--- /dev/null
+++ b/libcmix-crypto/curve25519.h
@@ -0,0 +1,16 @@
+#pragma once
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+struct KeyPair {
+ char* sec;
+ char* pub;
+};
+
+extern struct KeyPair curve25519_create_keypair();
+
+#ifdef __cplusplus
+}
+#endif