aboutsummaryrefslogtreecommitdiff
path: root/libcmix-crypto/keypair.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcmix-crypto/keypair.h')
-rw-r--r--libcmix-crypto/keypair.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libcmix-crypto/keypair.h b/libcmix-crypto/keypair.h
index 3b6e0d1..1222c51 100644
--- a/libcmix-crypto/keypair.h
+++ b/libcmix-crypto/keypair.h
@@ -8,6 +8,8 @@
extern "C" {
#endif
+#include "groupelement.h"
+
#include <stdlib.h>
/*!
@@ -17,8 +19,8 @@ extern "C" {
* responsible for memory meanagement. See the Api struct for examples of this.
*/
struct KeyPair {
- void* sec; ///< Private key
- void* pub; ///< Public key
+ GroupElement sec; ///< Private key
+ GroupElement pub; ///< Public key
};