aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-tng.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-02-21 00:11:28 +0100
committerChristian Grothoff <christian@grothoff.org>2022-02-21 00:11:28 +0100
commit7bc5bb42ae0dc9ef0bf529ceb0d287acfc340ef2 (patch)
treebda32d7bcf765f0bf63cc59a64a74b444f8a0fca /src/transport/gnunet-service-tng.c
parent3bda896425e965b8fcf0e23935662754fabf3b27 (diff)
downloadgnunet-7bc5bb42ae0dc9ef0bf529ceb0d287acfc340ef2.tar.gz
gnunet-7bc5bb42ae0dc9ef0bf529ceb0d287acfc340ef2.zip
fix #7173
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 56a854a70..778679ed4 100644
--- a/src/transport/gnunet-service-tng.c
+++ b/src/transport/gnunet-service-tng.c
@@ -570,7 +570,7 @@ struct DvInitPS
570 /** 570 /**
571 * Challenge value used by the initiator to re-identify the path. 571 * Challenge value used by the initiator to re-identify the path.
572 */ 572 */
573 struct ChallengeNonceP challenge; 573 struct GNUNET_CRYPTO_ChallengeNonceP challenge;
574}; 574};
575 575
576 576
@@ -610,7 +610,7 @@ struct DvHopPS
610 /** 610 /**
611 * Challenge value used by the initiator to re-identify the path. 611 * Challenge value used by the initiator to re-identify the path.
612 */ 612 */
613 struct ChallengeNonceP challenge; 613 struct GNUNET_CRYPTO_ChallengeNonceP challenge;
614}; 614};
615 615
616 616
@@ -704,7 +704,7 @@ struct TransportDVLearnMessage
704 /** 704 /**
705 * Challenge value used by the initiator to re-identify the path. 705 * Challenge value used by the initiator to re-identify the path.
706 */ 706 */
707 struct ChallengeNonceP challenge; 707 struct GNUNET_CRYPTO_ChallengeNonceP challenge;
708 708
709 /* Followed by @e num_hops `struct DVPathEntryP` values, 709 /* Followed by @e num_hops `struct DVPathEntryP` values,
710 excluding the initiator of the DV trace; the last entry is the 710 excluding the initiator of the DV trace; the last entry is the
@@ -813,7 +813,7 @@ struct TransportValidationChallengeMessage
813 /** 813 /**
814 * Challenge to be signed by the receiving peer. 814 * Challenge to be signed by the receiving peer.
815 */ 815 */
816 struct ChallengeNonceP challenge; 816 struct GNUNET_CRYPTO_ChallengeNonceP challenge;
817 817
818 /** 818 /**
819 * Timestamp of the sender, to be copied into the reply to allow 819 * Timestamp of the sender, to be copied into the reply to allow
@@ -843,7 +843,7 @@ struct TransportValidationPS
843 /** 843 /**
844 * Challenge signed by the receiving peer. 844 * Challenge signed by the receiving peer.
845 */ 845 */
846 struct ChallengeNonceP challenge; 846 struct GNUNET_CRYPTO_ChallengeNonceP challenge;
847}; 847};
848 848
849 849
@@ -872,7 +872,7 @@ struct TransportValidationResponseMessage
872 /** 872 /**
873 * The challenge that was signed by the receiving peer. 873 * The challenge that was signed by the receiving peer.
874 */ 874 */
875 struct ChallengeNonceP challenge; 875 struct GNUNET_CRYPTO_ChallengeNonceP challenge;
876 876
877 /** 877 /**
878 * Original timestamp of the sender (was @code{sender_time}), 878 * Original timestamp of the sender (was @code{sender_time}),
@@ -1035,7 +1035,7 @@ struct LearnLaunchEntry
1035 /** 1035 /**
1036 * Challenge that uniquely identifies this activity. 1036 * Challenge that uniquely identifies this activity.
1037 */ 1037 */
1038 struct ChallengeNonceP challenge; 1038 struct GNUNET_CRYPTO_ChallengeNonceP challenge;
1039 1039
1040 /** 1040 /**
1041 * When did we transmit the DV learn message (used to calculate RTT) and 1041 * When did we transmit the DV learn message (used to calculate RTT) and
@@ -2537,7 +2537,7 @@ struct ValidationState
2537 * (We must not rotate more often as otherwise we may discard valid answers 2537 * (We must not rotate more often as otherwise we may discard valid answers
2538 * due to packet losses, latency and reorderings on the network). 2538 * due to packet losses, latency and reorderings on the network).
2539 */ 2539 */
2540 struct ChallengeNonceP challenge; 2540 struct GNUNET_CRYPTO_ChallengeNonceP challenge;
2541 2541
2542 /** 2542 /**
2543 * Claimed address of the peer. 2543 * Claimed address of the peer.
@@ -6712,7 +6712,7 @@ static int
6712validate_dv_initiator_signature ( 6712validate_dv_initiator_signature (
6713 struct GNUNET_TIME_AbsoluteNBO sender_monotonic_time, 6713 struct GNUNET_TIME_AbsoluteNBO sender_monotonic_time,
6714 const struct GNUNET_PeerIdentity *init, 6714 const struct GNUNET_PeerIdentity *init,
6715 const struct ChallengeNonceP *challenge, 6715 const struct GNUNET_CRYPTO_ChallengeNonceP *challenge,
6716 const struct GNUNET_CRYPTO_EddsaSignature *init_sig) 6716 const struct GNUNET_CRYPTO_EddsaSignature *init_sig)
6717{ 6717{
6718 struct DvInitPS ip = { .purpose.purpose = htonl ( 6718 struct DvInitPS ip = { .purpose.purpose = htonl (
@@ -8172,7 +8172,7 @@ struct CheckKnownChallengeContext
8172 /** 8172 /**
8173 * Set to the challenge we are looking for. 8173 * Set to the challenge we are looking for.
8174 */ 8174 */
8175 const struct ChallengeNonceP *challenge; 8175 const struct GNUNET_CRYPTO_ChallengeNonceP *challenge;
8176 8176
8177 /** 8177 /**
8178 * Set to a matching validation state, if one was found. 8178 * Set to a matching validation state, if one was found.