aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-communicator-tcp.c
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2022-10-18 10:04:57 +0900
committerMartin Schanzenbach <schanzen@gnunet.org>2022-10-18 10:04:57 +0900
commitc9562b8cf7a29f4ec2457cb9d9d4530c24225da1 (patch)
treefb7d0296af5537ddda7e772a46e959c8ed64fbac /src/transport/gnunet-communicator-tcp.c
parent9173da4f8c1f4b50ccd9d61f6fa138904740ecfa (diff)
parentd748b0c920b0581ca65962f34d1f2e94c9a89926 (diff)
downloadgnunet-c9562b8cf7a29f4ec2457cb9d9d4530c24225da1.tar.gz
gnunet-c9562b8cf7a29f4ec2457cb9d9d4530c24225da1.zip
-fix conflict
Diffstat (limited to 'src/transport/gnunet-communicator-tcp.c')
-rw-r--r--src/transport/gnunet-communicator-tcp.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/transport/gnunet-communicator-tcp.c b/src/transport/gnunet-communicator-tcp.c
index 2a5290bf9..4820caf70 100644
--- a/src/transport/gnunet-communicator-tcp.c
+++ b/src/transport/gnunet-communicator-tcp.c
@@ -981,7 +981,7 @@ queue_destroy (struct Queue *queue)
981 * @param[in,out] hmac_secret secret for HMAC calculation 981 * @param[in,out] hmac_secret secret for HMAC calculation
982 * @param buf buffer to MAC 982 * @param buf buffer to MAC
983 * @param buf_size number of bytes in @a buf 983 * @param buf_size number of bytes in @a buf
984 * @param smac[out] where to write the HMAC 984 * @param[out] smac where to write the HMAC
985 */ 985 */
986static void 986static void
987calculate_hmac (struct GNUNET_HashCode *hmac_secret, 987calculate_hmac (struct GNUNET_HashCode *hmac_secret,
@@ -1155,8 +1155,8 @@ pass_plaintext_to_core (struct Queue *queue,
1155 * 1155 *
1156 * @param dh shared secret 1156 * @param dh shared secret
1157 * @param pid decrypting peer's identity 1157 * @param pid decrypting peer's identity
1158 * @param cipher[out] cipher to initialize 1158 * @param[out] cipher cipher to initialize
1159 * @param hmac_key[out] HMAC key to initialize 1159 * @param[out] hmac_key HMAC key to initialize
1160 */ 1160 */
1161static void 1161static void
1162setup_cipher (const struct GNUNET_HashCode *dh, 1162setup_cipher (const struct GNUNET_HashCode *dh,
@@ -1287,7 +1287,7 @@ rekey_monotime_cb (void *cls,
1287 * Setup cipher of @a queue for decryption. 1287 * Setup cipher of @a queue for decryption.
1288 * 1288 *
1289 * @param ephemeral ephemeral key we received from the other peer 1289 * @param ephemeral ephemeral key we received from the other peer
1290 * @param queue[in,out] queue to initialize decryption cipher for 1290 * @param[in,out] queue queue to initialize decryption cipher for
1291 */ 1291 */
1292static void 1292static void
1293setup_in_cipher (const struct GNUNET_CRYPTO_EcdhePublicKey *ephemeral, 1293setup_in_cipher (const struct GNUNET_CRYPTO_EcdhePublicKey *ephemeral,
@@ -1448,8 +1448,8 @@ handshake_ack_monotime_cb (void *cls,
1448 * @param queue The queue context. 1448 * @param queue The queue context.
1449 */ 1449 */
1450static void 1450static void
1451send_challenge (struct GNUNET_CRYPTO_ChallengeNonceP challenge, struct 1451send_challenge (struct GNUNET_CRYPTO_ChallengeNonceP challenge,
1452 Queue *queue) 1452 struct Queue *queue)
1453{ 1453{
1454 struct TCPConfirmationAck tca; 1454 struct TCPConfirmationAck tca;
1455 struct TcpHandshakeAckSignature thas; 1455 struct TcpHandshakeAckSignature thas;
@@ -2613,7 +2613,7 @@ handshake_monotime_cb (void *cls,
2613 * Note that #setup_in_cipher() must have already been called. 2613 * Note that #setup_in_cipher() must have already been called.
2614 * 2614 *
2615 * @param queue queue to decrypt initial bytes from other peer for 2615 * @param queue queue to decrypt initial bytes from other peer for
2616 * @param tc[out] where to store the result 2616 * @param[out] tc where to store the result
2617 * @param ibuf incoming data, of size 2617 * @param ibuf incoming data, of size
2618 * `INITIAL_KX_SIZE` 2618 * `INITIAL_KX_SIZE`
2619 * @return #GNUNET_OK if the signature was OK, #GNUNET_SYSERR if not 2619 * @return #GNUNET_OK if the signature was OK, #GNUNET_SYSERR if not
@@ -3179,7 +3179,7 @@ enc_notify_cb (void *cls,
3179 * a function to call whenever our set of 'valid' addresses changes. 3179 * a function to call whenever our set of 'valid' addresses changes.
3180 * 3180 *
3181 * @param cls closure 3181 * @param cls closure
3182 * @param app_ctx[in,out] location where the app can store stuff 3182 * @param[in,out] app_ctx location where the app can store stuff
3183 * on add and retrieve it on remove 3183 * on add and retrieve it on remove
3184 * @param add_remove #GNUNET_YES to add a new public IP address, 3184 * @param add_remove #GNUNET_YES to add a new public IP address,
3185 * #GNUNET_NO to remove a previous (now invalid) one 3185 * #GNUNET_NO to remove a previous (now invalid) one