Signature we use to verify that the ephemeral key was really chosen by the specified sender. More...
Data Fields | |
struct GNUNET_CRYPTO_EccSignaturePurpose | purpose |
Purpose must be GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_TCP_HANDSHAKE. More... | |
struct GNUNET_PeerIdentity | sender |
Identity of the inititor of the TCP connection (TCP client). More... | |
struct GNUNET_PeerIdentity | receiver |
Presumed identity of the target of the TCP connection (TCP server) More... | |
struct GNUNET_CRYPTO_HpkeEncapsulation | ephemeral |
Ephemeral key used by the sender (as Elligator representative). More... | |
struct GNUNET_TIME_AbsoluteNBO | monotonic_time |
Monotonic time of sender, to possibly help detect replay attacks (if receiver persists times by sender). More... | |
struct GNUNET_CRYPTO_ChallengeNonceP | challenge |
Challenge value used to protect against replay attack, if there is no stored monotonic time value. More... | |
Signature we use to verify that the ephemeral key was really chosen by the specified sender.
Definition at line 122 of file gnunet-communicator-tcp.c.
struct GNUNET_CRYPTO_EccSignaturePurpose TcpHandshakeSignature::purpose |
Purpose must be GNUNET_SIGNATURE_PURPOSE_COMMUNICATOR_TCP_HANDSHAKE.
Definition at line 127 of file gnunet-communicator-tcp.c.
Referenced by decrypt_and_check_tc(), and transmit_kx().
struct GNUNET_PeerIdentity TcpHandshakeSignature::sender |
Identity of the inititor of the TCP connection (TCP client).
Definition at line 132 of file gnunet-communicator-tcp.c.
Referenced by decrypt_and_check_tc(), and transmit_kx().
struct GNUNET_PeerIdentity TcpHandshakeSignature::receiver |
Presumed identity of the target of the TCP connection (TCP server)
Definition at line 137 of file gnunet-communicator-tcp.c.
Referenced by decrypt_and_check_tc(), and transmit_kx().
struct GNUNET_CRYPTO_HpkeEncapsulation TcpHandshakeSignature::ephemeral |
Ephemeral key used by the sender (as Elligator representative).
Definition at line 142 of file gnunet-communicator-tcp.c.
Referenced by decrypt_and_check_tc(), and transmit_kx().
struct GNUNET_TIME_AbsoluteNBO TcpHandshakeSignature::monotonic_time |
Monotonic time of sender, to possibly help detect replay attacks (if receiver persists times by sender).
Definition at line 148 of file gnunet-communicator-tcp.c.
Referenced by decrypt_and_check_tc(), and transmit_kx().
struct GNUNET_CRYPTO_ChallengeNonceP TcpHandshakeSignature::challenge |
Challenge value used to protect against replay attack, if there is no stored monotonic time value.
Definition at line 153 of file gnunet-communicator-tcp.c.
Referenced by decrypt_and_check_tc(), and transmit_kx().