aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/gnunet_scalarproduct_service.h2
-rw-r--r--src/scalarproduct/gnunet-scalarproduct.c1
-rw-r--r--src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c2
-rw-r--r--src/scalarproduct/gnunet-service-scalarproduct-ecc_bob.c4
-rw-r--r--src/scalarproduct/gnunet-service-scalarproduct_alice.c2
-rw-r--r--src/scalarproduct/gnunet-service-scalarproduct_bob.c2
-rw-r--r--src/scalarproduct/scalarproduct_api.c2
7 files changed, 6 insertions, 9 deletions
diff --git a/src/include/gnunet_scalarproduct_service.h b/src/include/gnunet_scalarproduct_service.h
index 1d775f659..7f60bb325 100644
--- a/src/include/gnunet_scalarproduct_service.h
+++ b/src/include/gnunet_scalarproduct_service.h
@@ -179,7 +179,7 @@ GNUNET_SCALARPRODUCT_start_computation (
179struct GNUNET_SCALARPRODUCT_ComputationHandle * 179struct GNUNET_SCALARPRODUCT_ComputationHandle *
180GNUNET_SCALARPRODUCT_accept_computation ( 180GNUNET_SCALARPRODUCT_accept_computation (
181 const struct GNUNET_CONFIGURATION_Handle *cfg, 181 const struct GNUNET_CONFIGURATION_Handle *cfg,
182 const struct GNUNET_HashCode *key, 182 const struct GNUNET_HashCode *session_key,
183 const struct GNUNET_SCALARPRODUCT_Element *elements, 183 const struct GNUNET_SCALARPRODUCT_Element *elements,
184 uint32_t element_count, 184 uint32_t element_count,
185 GNUNET_SCALARPRODUCT_ContinuationWithStatus cont, 185 GNUNET_SCALARPRODUCT_ContinuationWithStatus cont,
diff --git a/src/scalarproduct/gnunet-scalarproduct.c b/src/scalarproduct/gnunet-scalarproduct.c
index 14495de05..07af916b1 100644
--- a/src/scalarproduct/gnunet-scalarproduct.c
+++ b/src/scalarproduct/gnunet-scalarproduct.c
@@ -190,7 +190,6 @@ requester_callback (void *cls,
190 * Task run during shutdown. 190 * Task run during shutdown.
191 * 191 *
192 * @param cls unused 192 * @param cls unused
193 * @param tc unused
194 */ 193 */
195static void 194static void
196shutdown_task (void *cls) 195shutdown_task (void *cls)
diff --git a/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c b/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c
index dc43b5a54..c43a7e854 100644
--- a/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c
+++ b/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c
@@ -761,7 +761,7 @@ cb_intersection_request_alice (void *cls,
761/** 761/**
762 * Our client has finished sending us its multipart message. 762 * Our client has finished sending us its multipart message.
763 * 763 *
764 * @param session the service session context 764 * @param s the service session context
765 */ 765 */
766static void 766static void
767client_request_complete_alice (struct AliceServiceSession *s) 767client_request_complete_alice (struct AliceServiceSession *s)
diff --git a/src/scalarproduct/gnunet-service-scalarproduct-ecc_bob.c b/src/scalarproduct/gnunet-service-scalarproduct-ecc_bob.c
index 02a62c164..1945f1937 100644
--- a/src/scalarproduct/gnunet-service-scalarproduct-ecc_bob.c
+++ b/src/scalarproduct/gnunet-service-scalarproduct-ecc_bob.c
@@ -208,7 +208,7 @@ free_element_cb (void *cls,
208/** 208/**
209 * Destroy session state, we are done with it. 209 * Destroy session state, we are done with it.
210 * 210 *
211 * @param session the session to free elements from 211 * @param s the session to free elements from
212 */ 212 */
213static void 213static void
214destroy_service_session (struct BobServiceSession *s) 214destroy_service_session (struct BobServiceSession *s)
@@ -297,8 +297,6 @@ prepare_client_end_notification (struct BobServiceSession *session)
297 * 297 *
298 * @param cls the `struct BobServiceSession` 298 * @param cls the `struct BobServiceSession`
299 * @param channel connection to the other end (henceforth invalid) 299 * @param channel connection to the other end (henceforth invalid)
300 * @param channel_ctx place where local state associated
301 * with the channel is stored
302 */ 300 */
303static void 301static void
304cb_channel_destruction (void *cls, 302cb_channel_destruction (void *cls,
diff --git a/src/scalarproduct/gnunet-service-scalarproduct_alice.c b/src/scalarproduct/gnunet-service-scalarproduct_alice.c
index 665d2ad7f..59c3c6f6c 100644
--- a/src/scalarproduct/gnunet-service-scalarproduct_alice.c
+++ b/src/scalarproduct/gnunet-service-scalarproduct_alice.c
@@ -672,7 +672,7 @@ handle_bobs_cryptodata_multipart (
672 * calculate a scalarproduct with. 672 * calculate a scalarproduct with.
673 * 673 *
674 * @param cls our `struct AliceServiceSession` 674 * @param cls our `struct AliceServiceSession`
675 * @param message the actual message 675 * @param msg the actual message
676 * @return #GNUNET_OK to keep the connection open, 676 * @return #GNUNET_OK to keep the connection open,
677 * #GNUNET_SYSERR to close it (we are done) 677 * #GNUNET_SYSERR to close it (we are done)
678 */ 678 */
diff --git a/src/scalarproduct/gnunet-service-scalarproduct_bob.c b/src/scalarproduct/gnunet-service-scalarproduct_bob.c
index b0299779d..15ad3038e 100644
--- a/src/scalarproduct/gnunet-service-scalarproduct_bob.c
+++ b/src/scalarproduct/gnunet-service-scalarproduct_bob.c
@@ -563,7 +563,7 @@ compute_square_sum (const gcry_mpi_t *vector,
563 * S: $S := E_A(sum (r_i + b_i)^2)$ 563 * S: $S := E_A(sum (r_i + b_i)^2)$
564 * S': $S' := E_A(sum r_i^2)$ 564 * S': $S' := E_A(sum r_i^2)$
565 * 565 *
566 * @param request the requesting session + bob's requesting peer 566 * @param session the requesting session + bob's requesting peer
567 * @return #GNUNET_OK on success 567 * @return #GNUNET_OK on success
568 */ 568 */
569static int 569static int
diff --git a/src/scalarproduct/scalarproduct_api.c b/src/scalarproduct/scalarproduct_api.c
index db8748f93..8c667a72e 100644
--- a/src/scalarproduct/scalarproduct_api.c
+++ b/src/scalarproduct/scalarproduct_api.c
@@ -140,7 +140,7 @@ process_status_message (struct GNUNET_SCALARPRODUCT_ComputationHandle *h,
140 * handles the response to the client which used the API. 140 * handles the response to the client which used the API.
141 * 141 *
142 * @param cls Pointer to the Master Context 142 * @param cls Pointer to the Master Context
143 * @param msg Pointer to the data received in response 143 * @param message Pointer to the data received in response
144 */ 144 */
145static void 145static void
146handle_response (void *cls, 146handle_response (void *cls,