aboutsummaryrefslogtreecommitdiff
path: root/libcmix-crypto/sharedkey.h
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2016-09-02 15:29:09 +0200
committerDennis Brentjes <d.brentjes@gmail.com>2016-09-02 15:29:09 +0200
commit4f13051f763cab3d431847305eff913e4bf9d77a (patch)
treebb20393d714ede1a0200653e2bddbbb694b56f16 /libcmix-crypto/sharedkey.h
parentdffdb1388991c5b5688139bfa093c8581a0f3a36 (diff)
downloadcmix-4f13051f763cab3d431847305eff913e4bf9d77a.tar.gz
cmix-4f13051f763cab3d431847305eff913e4bf9d77a.tar.bz2
cmix-4f13051f763cab3d431847305eff913e4bf9d77a.zip
Changed to api to be less repetative in use.
Diffstat (limited to 'libcmix-crypto/sharedkey.h')
-rw-r--r--libcmix-crypto/sharedkey.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/libcmix-crypto/sharedkey.h b/libcmix-crypto/sharedkey.h
new file mode 100644
index 0000000..9c959fe
--- /dev/null
+++ b/libcmix-crypto/sharedkey.h
@@ -0,0 +1,14 @@
+#pragma once
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+struct SharedKey {
+ unsigned char* shared;
+ unsigned int shared_len;
+};
+
+#ifdef __cplusplus
+} // extern "C"
+#endif