diff options
Diffstat (limited to 'src/secretsharing/secretsharing.h')
-rw-r--r-- | src/secretsharing/secretsharing.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/src/secretsharing/secretsharing.h b/src/secretsharing/secretsharing.h index 7025fdfea..8bd1b05b5 100644 --- a/src/secretsharing/secretsharing.h +++ b/src/secretsharing/secretsharing.h | |||
@@ -67,10 +67,10 @@ struct GNUNET_SECRETSHARING_CreateMessage | |||
67 | }; | 67 | }; |
68 | 68 | ||
69 | 69 | ||
70 | struct GNUNET_SECRETSHARING_SecretEstablishedMessage | 70 | struct GNUNET_SECRETSHARING_SecretReadyMessage |
71 | { | 71 | { |
72 | /** | 72 | /** |
73 | * Type: GNUNET_MESSAGE_TYPE_SECRETSHARING_CLIENT_ESTABLISHED | 73 | * Type: GNUNET_MESSAGE_TYPE_SECRETSHARING_CLIENT_SECRET_READY |
74 | */ | 74 | */ |
75 | struct GNUNET_MessageHeader header; | 75 | struct GNUNET_MessageHeader header; |
76 | 76 | ||
@@ -80,6 +80,11 @@ struct GNUNET_SECRETSHARING_SecretEstablishedMessage | |||
80 | unsigned char secret[GNUNET_SECRETSHARING_KEY_BITS / 8]; | 80 | unsigned char secret[GNUNET_SECRETSHARING_KEY_BITS / 8]; |
81 | 81 | ||
82 | /** | 82 | /** |
83 | * Secret share in network byte order. | ||
84 | */ | ||
85 | struct GNUNET_SECRETSHARING_PublicKey public_key; | ||
86 | |||
87 | /** | ||
83 | * Number of peers at the end of this message. | 88 | * Number of peers at the end of this message. |
84 | * Includes peers that are part of the established | 89 | * Includes peers that are part of the established |
85 | * threshold crypto system. | 90 | * threshold crypto system. |
@@ -90,10 +95,10 @@ struct GNUNET_SECRETSHARING_SecretEstablishedMessage | |||
90 | }; | 95 | }; |
91 | 96 | ||
92 | 97 | ||
93 | struct GNUNET_SECRETSHARING_DecryptMessage | 98 | struct GNUNET_SECRETSHARING_DecryptRequestMessage |
94 | { | 99 | { |
95 | /** | 100 | /** |
96 | * Type: GNUNET_MESSAGE_TYPE_SECRETSHARING_CLIENT_DECRYPT | 101 | * Type: GNUNET_MESSAGE_TYPE_SECRETSHARING_CLIENT_DECRYPT_REQUEST |
97 | */ | 102 | */ |
98 | struct GNUNET_MessageHeader header; | 103 | struct GNUNET_MessageHeader header; |
99 | 104 | ||
@@ -113,10 +118,10 @@ struct GNUNET_SECRETSHARING_DecryptMessage | |||
113 | }; | 118 | }; |
114 | 119 | ||
115 | 120 | ||
116 | struct GNUNET_SECRETSHARING_DecryptDoneMessage | 121 | struct GNUNET_SECRETSHARING_DecryptResponseMessage |
117 | { | 122 | { |
118 | /** | 123 | /** |
119 | * Type: GNUNET_MESSAGE_TYPE_SECRETSHARING_CLIENT_DECRYPT_DONE | 124 | * Type: GNUNET_MESSAGE_TYPE_SECRETSHARING_CLIENT_DECRYPT_RESPONSE |
120 | */ | 125 | */ |
121 | struct GNUNET_MessageHeader header; | 126 | struct GNUNET_MessageHeader header; |
122 | 127 | ||