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.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/src/secretsharing/secretsharing_protocol.h b/src/secretsharing/secretsharing_protocol.h
index f05d27e29..949ab79d9 100644
--- a/src/secretsharing/secretsharing_protocol.h
+++ b/src/secretsharing/secretsharing_protocol.h
@@ -11,12 +11,12 @@
11 WITHOUT ANY WARRANTY; without even the implied warranty of 11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Affero General Public License for more details. 13 Affero General Public License for more details.
14 14
15 You should have received a copy of the GNU Affero General Public License 15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. 16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18 SPDX-License-Identifier: AGPL3.0-or-later 18 SPDX-License-Identifier: AGPL3.0-or-later
19*/ 19 */
20 20
21 21
22/** 22/**
@@ -40,8 +40,7 @@ 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{
45 /** 44 /**
46 * Signature over the rest of the message. 45 * Signature over the rest of the message.
47 */ 46 */
@@ -66,8 +65,7 @@ struct GNUNET_SECRETSHARING_KeygenCommitData
66}; 65};
67 66
68 67
69struct GNUNET_SECRETSHARING_KeygenRevealData 68struct GNUNET_SECRETSHARING_KeygenRevealData {
70{
71 /** 69 /**
72 * Signature over rest of the message. 70 * Signature over rest of the message.
73 */ 71 */
@@ -89,8 +87,7 @@ struct GNUNET_SECRETSHARING_KeygenRevealData
89 * Data of then element put in consensus 87 * Data of then element put in consensus
90 * for decrypting a value. 88 * for decrypting a value.
91 */ 89 */
92struct GNUNET_SECRETSHARING_DecryptData 90struct GNUNET_SECRETSHARING_DecryptData {
93{
94 /* 91 /*
95 * Signature over rest of the message. 92 * Signature over rest of the message.
96 */ 93 */
@@ -129,8 +126,7 @@ struct GNUNET_SECRETSHARING_DecryptData
129}; 126};
130 127
131 128
132struct GNUNET_SECRETSHARING_FairEncryption 129struct GNUNET_SECRETSHARING_FairEncryption {
133{
134 struct GNUNET_CRYPTO_PaillierCiphertext c; 130 struct GNUNET_CRYPTO_PaillierCiphertext c;
135 /** 131 /**
136 * h = g^x, where x is the fairly encrypte secret. 132 * h = g^x, where x is the fairly encrypte secret.