aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-tng.c
diff options
context:
space:
mode:
authort3sserakt <t3ss@posteo.de>2022-03-17 15:12:06 +0100
committert3sserakt <t3ss@posteo.de>2022-03-17 15:12:06 +0100
commit8d41efc36bec5bc5ec29278a365d5a63d7349084 (patch)
tree99177b1b5400df5ae7180c2af1f47408cace1034 /src/transport/gnunet-service-tng.c
parent95a1edacccd9b3bf769a144a12d41946d0ac25dc (diff)
parentea4a5dd6ca3d62f852b5c2de94071b7fc8f0544c (diff)
downloadgnunet-8d41efc36bec5bc5ec29278a365d5a63d7349084.tar.gz
gnunet-8d41efc36bec5bc5ec29278a365d5a63d7349084.zip
Merge branch 'master' of ssh://git.gnunet.org/gnunet
Diffstat (limited to 'src/transport/gnunet-service-tng.c')
-rw-r--r--src/transport/gnunet-service-tng.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/transport/gnunet-service-tng.c b/src/transport/gnunet-service-tng.c
index 0427bd229..21c9be05c 100644
--- a/src/transport/gnunet-service-tng.c
+++ b/src/transport/gnunet-service-tng.c
@@ -581,7 +581,7 @@ struct DvInitPS
581 /** 581 /**
582 * Challenge value used by the initiator to re-identify the path. 582 * Challenge value used by the initiator to re-identify the path.
583 */ 583 */
584 struct ChallengeNonceP challenge; 584 struct GNUNET_CRYPTO_ChallengeNonceP challenge;
585}; 585};
586 586
587 587
@@ -621,7 +621,7 @@ struct DvHopPS
621 /** 621 /**
622 * Challenge value used by the initiator to re-identify the path. 622 * Challenge value used by the initiator to re-identify the path.
623 */ 623 */
624 struct ChallengeNonceP challenge; 624 struct GNUNET_CRYPTO_ChallengeNonceP challenge;
625}; 625};
626 626
627 627
@@ -715,7 +715,7 @@ struct TransportDVLearnMessage
715 /** 715 /**
716 * Challenge value used by the initiator to re-identify the path. 716 * Challenge value used by the initiator to re-identify the path.
717 */ 717 */
718 struct ChallengeNonceP challenge; 718 struct GNUNET_CRYPTO_ChallengeNonceP challenge;
719 719
720 /* Followed by @e num_hops `struct DVPathEntryP` values, 720 /* Followed by @e num_hops `struct DVPathEntryP` values,
721 excluding the initiator of the DV trace; the last entry is the 721 excluding the initiator of the DV trace; the last entry is the
@@ -834,7 +834,7 @@ struct TransportValidationChallengeMessage
834 /** 834 /**
835 * Challenge to be signed by the receiving peer. 835 * Challenge to be signed by the receiving peer.
836 */ 836 */
837 struct ChallengeNonceP challenge; 837 struct GNUNET_CRYPTO_ChallengeNonceP challenge;
838 838
839 /** 839 /**
840 * Timestamp of the sender, to be copied into the reply to allow 840 * Timestamp of the sender, to be copied into the reply to allow
@@ -864,7 +864,7 @@ struct TransportValidationPS
864 /** 864 /**
865 * Challenge signed by the receiving peer. 865 * Challenge signed by the receiving peer.
866 */ 866 */
867 struct ChallengeNonceP challenge; 867 struct GNUNET_CRYPTO_ChallengeNonceP challenge;
868}; 868};
869 869
870 870
@@ -893,7 +893,7 @@ struct TransportValidationResponseMessage
893 /** 893 /**
894 * The challenge that was signed by the receiving peer. 894 * The challenge that was signed by the receiving peer.
895 */ 895 */
896 struct ChallengeNonceP challenge; 896 struct GNUNET_CRYPTO_ChallengeNonceP challenge;
897 897
898 /** 898 /**
899 * Original timestamp of the sender (was @code{sender_time}), 899 * Original timestamp of the sender (was @code{sender_time}),
@@ -1056,7 +1056,7 @@ struct LearnLaunchEntry
1056 /** 1056 /**
1057 * Challenge that uniquely identifies this activity. 1057 * Challenge that uniquely identifies this activity.
1058 */ 1058 */
1059 struct ChallengeNonceP challenge; 1059 struct GNUNET_CRYPTO_ChallengeNonceP challenge;
1060 1060
1061 /** 1061 /**
1062 * When did we transmit the DV learn message (used to calculate RTT) and 1062 * When did we transmit the DV learn message (used to calculate RTT) and
@@ -2569,7 +2569,7 @@ struct ValidationState
2569 * (We must not rotate more often as otherwise we may discard valid answers 2569 * (We must not rotate more often as otherwise we may discard valid answers
2570 * due to packet losses, latency and reorderings on the network). 2570 * due to packet losses, latency and reorderings on the network).
2571 */ 2571 */
2572 struct ChallengeNonceP challenge; 2572 struct GNUNET_CRYPTO_ChallengeNonceP challenge;
2573 2573
2574 /** 2574 /**
2575 * Claimed address of the peer. 2575 * Claimed address of the peer.
@@ -6886,7 +6886,7 @@ static int
6886validate_dv_initiator_signature ( 6886validate_dv_initiator_signature (
6887 struct GNUNET_TIME_AbsoluteNBO sender_monotonic_time, 6887 struct GNUNET_TIME_AbsoluteNBO sender_monotonic_time,
6888 const struct GNUNET_PeerIdentity *init, 6888 const struct GNUNET_PeerIdentity *init,
6889 const struct ChallengeNonceP *challenge, 6889 const struct GNUNET_CRYPTO_ChallengeNonceP *challenge,
6890 const struct GNUNET_CRYPTO_EddsaSignature *init_sig) 6890 const struct GNUNET_CRYPTO_EddsaSignature *init_sig)
6891{ 6891{
6892 struct DvInitPS ip = { .purpose.purpose = htonl ( 6892 struct DvInitPS ip = { .purpose.purpose = htonl (
@@ -8340,7 +8340,7 @@ struct CheckKnownChallengeContext
8340 /** 8340 /**
8341 * Set to the challenge we are looking for. 8341 * Set to the challenge we are looking for.
8342 */ 8342 */
8343 const struct ChallengeNonceP *challenge; 8343 const struct GNUNET_CRYPTO_ChallengeNonceP *challenge;
8344 8344
8345 /** 8345 /**
8346 * Set to a matching validation state, if one was found. 8346 * Set to a matching validation state, if one was found.