aboutsummaryrefslogtreecommitdiff
path: root/libcmix-common
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2016-10-27 09:25:53 +0200
committerDennis Brentjes <d.brentjes@gmail.com>2016-10-27 09:25:53 +0200
commit25db9ff8a4cfb4b98aeeaae360e8c718b9c5e20c (patch)
tree079ea63fcc874506072a91b13d2612b510cf158e /libcmix-common
parent9eaf47d5dfa56ca79ae903aabfc2cf52bdfb981e (diff)
downloadcmix-25db9ff8a4cfb4b98aeeaae360e8c718b9c5e20c.tar.gz
cmix-25db9ff8a4cfb4b98aeeaae360e8c718b9c5e20c.tar.bz2
cmix-25db9ff8a4cfb4b98aeeaae360e8c718b9c5e20c.zip
Adds libgcrypt implementation for elgamal in multiplicative group.
Also adapts the API to both handle sodium and gcrypt libraries.
Diffstat (limited to 'libcmix-common')
-rw-r--r--libcmix-common/cmixprotofunctor.cpp1
-rw-r--r--libcmix-common/cmixprotofunctor.hpp5
2 files changed, 6 insertions, 0 deletions
diff --git a/libcmix-common/cmixprotofunctor.cpp b/libcmix-common/cmixprotofunctor.cpp
index 46e56a0..525b3c9 100644
--- a/libcmix-common/cmixprotofunctor.cpp
+++ b/libcmix-common/cmixprotofunctor.cpp
@@ -13,5 +13,6 @@ MESSAGE_SETTER_DEF(ImAClient, imaclient)
MESSAGE_SETTER_DEF(Bye, bye)
MESSAGE_SETTER_DEF(KeyExchange, keyexchange)
MESSAGE_SETTER_DEF(SecretKey, secretkey)
+MESSAGE_SETTER_DEF(NodeReady, nodeready)
#undef MESSAGE_SETTER_DEF \ No newline at end of file
diff --git a/libcmix-common/cmixprotofunctor.hpp b/libcmix-common/cmixprotofunctor.hpp
index 86caa75..bd69504 100644
--- a/libcmix-common/cmixprotofunctor.hpp
+++ b/libcmix-common/cmixprotofunctor.hpp
@@ -54,6 +54,11 @@ struct CMixProtoFunctor {
* #MESSAGE_SETTER_DECL(SecretKey)
*/
MESSAGE_SETTER_DECL(SecretKey);
+
+ /*!
+ *
+ */
+ MESSAGE_SETTER_DECL(NodeReady);
#undef MESSAGE_SETTER
};