From 3266ea560ea1b243810dce4d46ee2889da7b4f6c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 16 Apr 2019 19:57:15 +0200 Subject: implement backchannel encryption/decryption --- src/transport/gnunet-communicator-tcp.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/transport/gnunet-communicator-tcp.c') diff --git a/src/transport/gnunet-communicator-tcp.c b/src/transport/gnunet-communicator-tcp.c index a8f88c5e4..e9223401f 100644 --- a/src/transport/gnunet-communicator-tcp.c +++ b/src/transport/gnunet-communicator-tcp.c @@ -814,9 +814,9 @@ pass_plaintext_to_core (struct Queue *queue, */ static void setup_cipher (const struct GNUNET_HashCode *dh, - const struct GNUNET_PeerIdentity *pid, - gcry_cipher_hd_t *cipher, - struct GNUNET_HashCode *hmac_key) + const struct GNUNET_PeerIdentity *pid, + gcry_cipher_hd_t *cipher, + struct GNUNET_HashCode *hmac_key) { char key[256/8]; char ctr[128/8]; @@ -872,7 +872,7 @@ setup_cipher (const struct GNUNET_HashCode *dh, */ static void setup_in_cipher (const struct GNUNET_CRYPTO_EcdhePublicKey *ephemeral, - struct Queue *queue) + struct Queue *queue) { struct GNUNET_HashCode dh; @@ -896,7 +896,7 @@ setup_in_cipher (const struct GNUNET_CRYPTO_EcdhePublicKey *ephemeral, */ static void do_rekey (struct Queue *queue, - const struct TCPRekey *rekey) + const struct TCPRekey *rekey) { struct TcpHandshakeSignature thp; -- cgit v1.2.3