aboutsummaryrefslogtreecommitdiff
path: root/libcmix-crypto/curve25519.h
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2016-08-31 12:48:49 +0200
committerDennis Brentjes <d.brentjes@gmail.com>2016-08-31 12:49:44 +0200
commitd55e5c77d3cd2a1be150666e92e5b4f3b922f0fc (patch)
tree123d2ede09cbb92c6584bea85c62b4aaa515a154 /libcmix-crypto/curve25519.h
parent33675c85dcf0bc500a8fb99ea6766f6a4624d0ad (diff)
downloadcmix-d55e5c77d3cd2a1be150666e92e5b4f3b922f0fc.tar.gz
cmix-d55e5c77d3cd2a1be150666e92e5b4f3b922f0fc.tar.bz2
cmix-d55e5c77d3cd2a1be150666e92e5b4f3b922f0fc.zip
Restructered libcmix-crypto, hiding implementation specifics.
Diffstat (limited to 'libcmix-crypto/curve25519.h')
-rw-r--r--libcmix-crypto/curve25519.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/libcmix-crypto/curve25519.h b/libcmix-crypto/curve25519.h
index 2c8b1e3..319e693 100644
--- a/libcmix-crypto/curve25519.h
+++ b/libcmix-crypto/curve25519.h
@@ -4,10 +4,9 @@
extern "C" {
#endif
-struct KeyPair {
- char* sec;
- char* pub;
-};
+#include "keypair.h"
+
+#include <stdlib.h>
extern struct KeyPair curve25519_create_keypair();