diff options
author | t3sserakt <t3ss@posteo.de> | 2022-10-25 09:59:23 +0200 |
---|---|---|
committer | t3sserakt <t3ss@posteo.de> | 2022-10-25 10:02:01 +0200 |
commit | b3a76100568e15660211945d931173f858156169 (patch) | |
tree | 54d89d7a0b743df81b5df095f60c3f13c016c69d /src/transport/gnunet-communicator-tcp.c | |
parent | c5f3eb40c97b2bcad7537607ca870a925aa9bed8 (diff) | |
parent | fa48dbb242415a8dc06465863054b8d61c0e26bb (diff) | |
download | gnunet-b3a76100568e15660211945d931173f858156169.tar.gz gnunet-b3a76100568e15660211945d931173f858156169.zip |
Merge branch 'master' of ssh://git.gnunet.org/gnunet
Diffstat (limited to 'src/transport/gnunet-communicator-tcp.c')
-rw-r--r-- | src/transport/gnunet-communicator-tcp.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/transport/gnunet-communicator-tcp.c b/src/transport/gnunet-communicator-tcp.c index 74c509ec5..a8dbed604 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 | */ |
986 | static void | 986 | static void |
987 | calculate_hmac (struct GNUNET_HashCode *hmac_secret, | 987 | calculate_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 | */ |
1161 | static void | 1161 | static void |
1162 | setup_cipher (const struct GNUNET_HashCode *dh, | 1162 | setup_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 | */ |
1292 | static void | 1292 | static void |
1293 | setup_in_cipher (const struct GNUNET_CRYPTO_EcdhePublicKey *ephemeral, | 1293 | setup_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 | */ |
1450 | static void | 1450 | static void |
1451 | send_challenge (struct GNUNET_CRYPTO_ChallengeNonceP challenge, struct | 1451 | send_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 |