diff options
author | Willow Liquorice <willow@howhill.com> | 2022-09-07 20:49:17 +0100 |
---|---|---|
committer | Willow Liquorice <willow@howhill.com> | 2022-10-03 00:44:34 +0100 |
commit | 8a86448236ad19365734ee3353da449c21f41a28 (patch) | |
tree | 40b87f642736f1dbf33e0edfb48e21d60e44deda /src/scalarproduct | |
parent | 763b8f71ba69bb6658461f8205804286d36543c1 (diff) | |
download | gnunet-8a86448236ad19365734ee3353da449c21f41a28.tar.gz gnunet-8a86448236ad19365734ee3353da449c21f41a28.zip |
-DOC: Documentation cleanup pass through SCALARPRODUCT subsystem
Diffstat (limited to 'src/scalarproduct')
6 files changed, 5 insertions, 8 deletions
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 | */ |
195 | static void | 194 | static void |
196 | shutdown_task (void *cls) | 195 | shutdown_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 | */ |
766 | static void | 766 | static void |
767 | client_request_complete_alice (struct AliceServiceSession *s) | 767 | client_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 | */ |
213 | static void | 213 | static void |
214 | destroy_service_session (struct BobServiceSession *s) | 214 | destroy_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 | */ |
303 | static void | 301 | static void |
304 | cb_channel_destruction (void *cls, | 302 | cb_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 | */ |
569 | static int | 569 | static 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 | */ |
145 | static void | 145 | static void |
146 | handle_response (void *cls, | 146 | handle_response (void *cls, |