aboutsummaryrefslogtreecommitdiff
path: root/libcmix-crypto/keypair.h
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2016-10-30 13:38:49 +0100
committerDennis Brentjes <d.brentjes@gmail.com>2016-10-30 16:37:03 +0100
commita3e62d3bc6e7f75949726f9a8dafe03e757e869b (patch)
tree49e59076a7ffd7ea757f650a64aaba2b16be1886 /libcmix-crypto/keypair.h
parent158bf81343054982800d44d507e8e50f2eeb6dd4 (diff)
downloadcmix-a3e62d3bc6e7f75949726f9a8dafe03e757e869b.tar.gz
cmix-a3e62d3bc6e7f75949726f9a8dafe03e757e869b.tar.bz2
cmix-a3e62d3bc6e7f75949726f9a8dafe03e757e869b.zip
Added the Preprocessing step for the Precomputation of CMix.
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
};