aboutsummaryrefslogtreecommitdiff
path: root/src/secretsharing/secretsharing_protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/secretsharing/secretsharing_protocol.h')
-rw-r--r--src/secretsharing/secretsharing_protocol.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/secretsharing/secretsharing_protocol.h b/src/secretsharing/secretsharing_protocol.h
index 949ab79d9..d43d1cee5 100644
--- a/src/secretsharing/secretsharing_protocol.h
+++ b/src/secretsharing/secretsharing_protocol.h
@@ -40,7 +40,8 @@ GNUNET_NETWORK_STRUCT_BEGIN
40/** 40/**
41 * Consensus element data used in the first round of key generation. 41 * Consensus element data used in the first round of key generation.
42 */ 42 */
43struct GNUNET_SECRETSHARING_KeygenCommitData { 43struct GNUNET_SECRETSHARING_KeygenCommitData
44{
44 /** 45 /**
45 * Signature over the rest of the message. 46 * Signature over the rest of the message.
46 */ 47 */
@@ -65,7 +66,8 @@ struct GNUNET_SECRETSHARING_KeygenCommitData {
65}; 66};
66 67
67 68
68struct GNUNET_SECRETSHARING_KeygenRevealData { 69struct GNUNET_SECRETSHARING_KeygenRevealData
70{
69 /** 71 /**
70 * Signature over rest of the message. 72 * Signature over rest of the message.
71 */ 73 */
@@ -87,7 +89,8 @@ struct GNUNET_SECRETSHARING_KeygenRevealData {
87 * Data of then element put in consensus 89 * Data of then element put in consensus
88 * for decrypting a value. 90 * for decrypting a value.
89 */ 91 */
90struct GNUNET_SECRETSHARING_DecryptData { 92struct GNUNET_SECRETSHARING_DecryptData
93{
91 /* 94 /*
92 * Signature over rest of the message. 95 * Signature over rest of the message.
93 */ 96 */
@@ -126,7 +129,8 @@ struct GNUNET_SECRETSHARING_DecryptData {
126}; 129};
127 130
128 131
129struct GNUNET_SECRETSHARING_FairEncryption { 132struct GNUNET_SECRETSHARING_FairEncryption
133{
130 struct GNUNET_CRYPTO_PaillierCiphertext c; 134 struct GNUNET_CRYPTO_PaillierCiphertext c;
131 /** 135 /**
132 * h = g^x, where x is the fairly encrypte secret. 136 * h = g^x, where x is the fairly encrypte secret.