aboutsummaryrefslogtreecommitdiff
path: root/src/scalarproduct/gnunet-service-scalarproduct.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-12-07 21:53:44 +0000
committerChristian Grothoff <christian@grothoff.org>2014-12-07 21:53:44 +0000
commit67eeadf357c24abec2dd790a54be74b7db71560d (patch)
tree01046bd16d390d420597797471adfb614c5073ea /src/scalarproduct/gnunet-service-scalarproduct.h
parenta46808363beba27ad2c7e52246ef1ec694f8bf3a (diff)
downloadgnunet-67eeadf357c24abec2dd790a54be74b7db71560d.tar.gz
gnunet-67eeadf357c24abec2dd790a54be74b7db71560d.zip
-sending session ID back over same CADET channel is redundant
Diffstat (limited to 'src/scalarproduct/gnunet-service-scalarproduct.h')
-rw-r--r--src/scalarproduct/gnunet-service-scalarproduct.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/scalarproduct/gnunet-service-scalarproduct.h b/src/scalarproduct/gnunet-service-scalarproduct.h
index 05b2a842c..82b2d10c5 100644
--- a/src/scalarproduct/gnunet-service-scalarproduct.h
+++ b/src/scalarproduct/gnunet-service-scalarproduct.h
@@ -89,10 +89,10 @@ struct AliceCryptodataMessage
89 * Message type passed from responding service Bob to responding 89 * Message type passed from responding service Bob to responding
90 * service Alice to complete a request and allow Alice to compute the 90 * service Alice to complete a request and allow Alice to compute the
91 * result. If Bob's reply does not fit into this one message, the 91 * result. If Bob's reply does not fit into this one message, the
92 * conversation may be continued with `struct MultipartMessage` 92 * conversation may be continued with `struct BobCryptodataMultipartMessage`
93 * messages afterwards. 93 * messages afterwards.
94 */ 94 */
95struct ServiceResponseMessage 95struct BobCryptodataMessage
96{ 96{
97 /** 97 /**
98 * GNUNET message header with type 98 * GNUNET message header with type
@@ -116,12 +116,6 @@ struct ServiceResponseMessage
116 uint32_t contained_element_count GNUNET_PACKED; 116 uint32_t contained_element_count GNUNET_PACKED;
117 117
118 /** 118 /**
119 * The transaction/session key used to identify a session.
120 * FIXME: needed? CADET should already identify sessions!
121 */
122 struct GNUNET_HashCode key;
123
124 /**
125 * followed by s | s' | k[i][perm] 119 * followed by s | s' | k[i][perm]
126 */ 120 */
127}; 121};
@@ -130,11 +124,11 @@ struct ServiceResponseMessage
130/** 124/**
131 * Multipart Message type passed between to supply additional elements 125 * Multipart Message type passed between to supply additional elements
132 * for the peer. Send from Bob to Alice with additional elements 126 * for the peer. Send from Bob to Alice with additional elements
133 * of k[i][perm] after his `struct ServiceResponseMessage *`. 127 * of k[i][perm] after his `struct BobCryptodataMessage *`.
134 * Once all k-values have been transmitted, Bob is finished and 128 * Once all k-values have been transmitted, Bob is finished and
135 * Alice can transmit the final result to the client. 129 * Alice can transmit the final result to the client.
136 */ 130 */
137struct MultipartMessage 131struct BobCryptodataMultipartMessage
138{ 132{
139 /** 133 /**
140 * GNUNET message header 134 * GNUNET message header