aboutsummaryrefslogtreecommitdiff
path: root/src/secretsharing/secretsharing_protocol.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-10-05 15:09:28 +0200
committerChristian Grothoff <christian@grothoff.org>2019-10-05 15:09:28 +0200
commitc4e9ba925ffd758aaa3feee2ccfc0b76f26fe207 (patch)
treecac3ce030d77b4cbe7c7dc62ed58cfe6d24f73e1 /src/secretsharing/secretsharing_protocol.h
parentfbb71d527c7d6babf269a8fefce1db291b9f7068 (diff)
downloadgnunet-c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207.tar.gz
gnunet-c4e9ba925ffd758aaa3feee2ccfc0b76f26fe207.zip
global reindent, now with uncrustify hook enabled
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.