aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/gnunet-service-mesh-enc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesh/gnunet-service-mesh-enc.c')
-rw-r--r--src/mesh/gnunet-service-mesh-enc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mesh/gnunet-service-mesh-enc.c b/src/mesh/gnunet-service-mesh-enc.c
index e682f5b60..323da4cb6 100644
--- a/src/mesh/gnunet-service-mesh-enc.c
+++ b/src/mesh/gnunet-service-mesh-enc.c
@@ -685,12 +685,12 @@ struct MeshTunnel2
685 /** 685 /**
686 * Encryption ("our") key. 686 * Encryption ("our") key.
687 */ 687 */
688 struct GNUNET_CRYPTO_AesSessionKey e_key; 688 struct GNUNET_CRYPTO_SymmetricSessionKey e_key;
689 689
690 /** 690 /**
691 * Decryption ("their") key. 691 * Decryption ("their") key.
692 */ 692 */
693 struct GNUNET_CRYPTO_AesSessionKey d_key; 693 struct GNUNET_CRYPTO_SymmetricSessionKey d_key;
694 694
695 /** 695 /**
696 * Paths that are actively used to reach the destination peer. 696 * Paths that are actively used to reach the destination peer.
@@ -4221,15 +4221,15 @@ tunnel_new (void)
4221// } 4221// }
4222 4222
4223// char salt[] = "salt"; 4223// char salt[] = "salt";
4224// GNUNET_CRYPTO_kdf (&t->e_key, sizeof (struct GNUNET_CRYPTO_AesSessionKey), 4224// GNUNET_CRYPTO_kdf (&t->e_key, sizeof (struct GNUNET_CRYPTO_SymmetricSessionKey),
4225// salt, sizeof (salt), 4225// salt, sizeof (salt),
4226// &t->e_key, sizeof (struct GNUNET_CRYPTO_AesSessionKey), 4226// &t->e_key, sizeof (struct GNUNET_CRYPTO_SymmetricSessionKey),
4227// &my_full_id, sizeof (struct GNUNET_PeerIdentity), 4227// &my_full_id, sizeof (struct GNUNET_PeerIdentity),
4228// GNUNET_PEER_resolve2 (t->peer->id), sizeof (struct GNUNET_PeerIdentity), 4228// GNUNET_PEER_resolve2 (t->peer->id), sizeof (struct GNUNET_PeerIdentity),
4229// NULL); 4229// NULL);
4230// GNUNET_CRYPTO_kdf (&t->d_key, sizeof (struct GNUNET_CRYPTO_AesSessionKey), 4230// GNUNET_CRYPTO_kdf (&t->d_key, sizeof (struct GNUNET_CRYPTO_SymmetricSessionKey),
4231// salt, sizeof (salt), 4231// salt, sizeof (salt),
4232// &t->d_key, sizeof (struct GNUNET_CRYPTO_AesSessionKey), 4232// &t->d_key, sizeof (struct GNUNET_CRYPTO_SymmetricSessionKey),
4233// GNUNET_PEER_resolve2 (t->peer->id), sizeof (struct GNUNET_PeerIdentity), 4233// GNUNET_PEER_resolve2 (t->peer->id), sizeof (struct GNUNET_PeerIdentity),
4234// &my_full_id, sizeof (struct GNUNET_PeerIdentity), 4234// &my_full_id, sizeof (struct GNUNET_PeerIdentity),
4235// NULL); 4235// NULL);