/*
This file is part of GNUnet.
- (C) 2013, 2014 Christian Grothoff (and other contributing authors)
+ Copyright (C) 2013, 2014 Christian Grothoff (and other contributing authors)
GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
* Message type passed from responding service Bob to responding
* service Alice to complete a request and allow Alice to compute the
* result. If Bob's reply does not fit into this one message, the
- * conversation may be continued with `struct MultipartMessage`
+ * conversation may be continued with `struct BobCryptodataMultipartMessage`
* messages afterwards.
*/
-struct ServiceResponseMessage
+struct BobCryptodataMessage
{
/**
* GNUNET message header with type
*/
struct GNUNET_MessageHeader header;
- /**
- * For alignment, always zero.
- */
- uint32_t reserved GNUNET_PACKED;
-
- /**
- * How many elements the Bob has in the intersection (in NBO).
- */
- uint32_t intersection_element_count GNUNET_PACKED;
-
/**
* How many elements this individual message delivers (in NBO).
*/
uint32_t contained_element_count GNUNET_PACKED;
- /**
- * The transaction/session key used to identify a session.
- * FIXME: needed? CADET should already identify sessions!
- */
- struct GNUNET_HashCode key;
-
/**
* followed by s | s' | k[i][perm]
*/
/**
* Multipart Message type passed between to supply additional elements
* for the peer. Send from Bob to Alice with additional elements
- * of k[i][perm] after his `struct ServiceResponseMessage *`.
+ * of k[i][perm] after his `struct BobCryptodataMessage *`.
* Once all k-values have been transmitted, Bob is finished and
* Alice can transmit the final result to the client.
*/
-struct MultipartMessage
+struct BobCryptodataMultipartMessage
{
/**
* GNUNET message header
uint32_t contained_element_count GNUNET_PACKED;
/**
- * struct GNUNET_CRYPTO_PaillierCiphertext[multipart_element_count]
+ * Followed by `struct
+ * GNUNET_CRYPTO_PaillierCiphertext[contained_element_count]`
*/
};