aboutsummaryrefslogtreecommitdiff
path: root/libcmix-crypto/sharedkey.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcmix-crypto/sharedkey.h')
-rw-r--r--libcmix-crypto/sharedkey.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcmix-crypto/sharedkey.h b/libcmix-crypto/sharedkey.h
index b89cb5b..b2f84f6 100644
--- a/libcmix-crypto/sharedkey.h
+++ b/libcmix-crypto/sharedkey.h
@@ -8,13 +8,15 @@
extern "C" {
#endif
+#include "groupelement.h"
+
/*!
* \brief The SharedKey struct.
*
* Stored the derived shared secret after for instance Diffie-Hellman.
*/
struct SharedKey {
- void* shared; ///< The Shared key.
+ GroupElement shared; ///< The Shared key.
};
#ifdef __cplusplus