From 4f13051f763cab3d431847305eff913e4bf9d77a Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Fri, 2 Sep 2016 15:29:09 +0200 Subject: Changed to api to be less repetative in use. --- libcmix-crypto/sharedkey.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 libcmix-crypto/sharedkey.h (limited to 'libcmix-crypto/sharedkey.h') 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 -- cgit v1.2.3-70-g09d2