aboutsummaryrefslogtreecommitdiff
path: root/src/secretsharing/secretsharing.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/secretsharing/secretsharing.h')
-rw-r--r--src/secretsharing/secretsharing.h21
1 files changed, 14 insertions, 7 deletions
diff --git a/src/secretsharing/secretsharing.h b/src/secretsharing/secretsharing.h
index 98b7b9a94..01d7dcf6b 100644
--- a/src/secretsharing/secretsharing.h
+++ b/src/secretsharing/secretsharing.h
@@ -35,7 +35,8 @@
35 35
36GNUNET_NETWORK_STRUCT_BEGIN 36GNUNET_NETWORK_STRUCT_BEGIN
37 37
38struct GNUNET_SECRETSHARING_FieldElement { 38struct GNUNET_SECRETSHARING_FieldElement
39{
39 /** 40 /**
40 * Value of an element in <elgamal_g>. 41 * Value of an element in <elgamal_g>.
41 */ 42 */
@@ -43,7 +44,8 @@ struct GNUNET_SECRETSHARING_FieldElement {
43}; 44};
44 45
45 46
46struct GNUNET_SECRETSHARING_CreateMessage { 47struct GNUNET_SECRETSHARING_CreateMessage
48{
47 /** 49 /**
48 * Type: GNUNET_MESSAGE_TYPE_SECRETSHARING_CLIENT_GENERATE 50 * Type: GNUNET_MESSAGE_TYPE_SECRETSHARING_CLIENT_GENERATE
49 */ 51 */
@@ -80,7 +82,8 @@ struct GNUNET_SECRETSHARING_CreateMessage {
80 82
81 83
82 84
83struct GNUNET_SECRETSHARING_ShareHeaderNBO { 85struct GNUNET_SECRETSHARING_ShareHeaderNBO
86{
84 /** 87 /**
85 * Threshold for the key this share belongs to. 88 * Threshold for the key this share belongs to.
86 */ 89 */
@@ -113,7 +116,8 @@ struct GNUNET_SECRETSHARING_ShareHeaderNBO {
113 * Notify the client that then threshold secret has been 116 * Notify the client that then threshold secret has been
114 * established. 117 * established.
115 */ 118 */
116struct GNUNET_SECRETSHARING_SecretReadyMessage { 119struct GNUNET_SECRETSHARING_SecretReadyMessage
120{
117 /** 121 /**
118 * Type: GNUNET_MESSAGE_TYPE_SECRETSHARING_CLIENT_SECRET_READY 122 * Type: GNUNET_MESSAGE_TYPE_SECRETSHARING_CLIENT_SECRET_READY
119 */ 123 */
@@ -123,7 +127,8 @@ struct GNUNET_SECRETSHARING_SecretReadyMessage {
123}; 127};
124 128
125 129
126struct GNUNET_SECRETSHARING_DecryptRequestMessage { 130struct GNUNET_SECRETSHARING_DecryptRequestMessage
131{
127 /** 132 /**
128 * Type: GNUNET_MESSAGE_TYPE_SECRETSHARING_CLIENT_DECRYPT_REQUEST 133 * Type: GNUNET_MESSAGE_TYPE_SECRETSHARING_CLIENT_DECRYPT_REQUEST
129 */ 134 */
@@ -148,7 +153,8 @@ struct GNUNET_SECRETSHARING_DecryptRequestMessage {
148}; 153};
149 154
150 155
151struct GNUNET_SECRETSHARING_DecryptResponseMessage { 156struct GNUNET_SECRETSHARING_DecryptResponseMessage
157{
152 /** 158 /**
153 * Type: #GNUNET_MESSAGE_TYPE_SECRETSHARING_CLIENT_DECRYPT_DONE 159 * Type: #GNUNET_MESSAGE_TYPE_SECRETSHARING_CLIENT_DECRYPT_DONE
154 */ 160 */
@@ -173,7 +179,8 @@ GNUNET_NETWORK_STRUCT_END
173/** 179/**
174 * A share, with all values in in host byte order. 180 * A share, with all values in in host byte order.
175 */ 181 */
176struct GNUNET_SECRETSHARING_Share { 182struct GNUNET_SECRETSHARING_Share
183{
177 /** 184 /**
178 * Threshold for the key this share belongs to. 185 * Threshold for the key this share belongs to.
179 */ 186 */