[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r33287 - gnunet/src/cadet
From: |
gnunet |
Subject: |
[GNUnet-SVN] r33287 - gnunet/src/cadet |
Date: |
Wed, 14 May 2014 18:50:33 +0200 |
Author: bartpolot
Date: 2014-05-14 18:50:33 +0200 (Wed, 14 May 2014)
New Revision: 33287
Modified:
gnunet/src/cadet/gnunet-service-cadet_tunnel.c
Log:
- storage for old _encryption_ keys
Modified: gnunet/src/cadet/gnunet-service-cadet_tunnel.c
===================================================================
--- gnunet/src/cadet/gnunet-service-cadet_tunnel.c 2014-05-14 16:50:31 UTC
(rev 33286)
+++ gnunet/src/cadet/gnunet-service-cadet_tunnel.c 2014-05-14 16:50:33 UTC
(rev 33287)
@@ -87,6 +87,12 @@
struct CadetTunnelKXCtx
{
/**
+ * Encryption ("our") old key, for encrypting traffic sent by us
+ * end before the key exchange is finished or times out.
+ */
+ struct GNUNET_CRYPTO_SymmetricSessionKey e_key_old;
+
+ /**
* Decryption ("their") old key, for decrypting traffic sent by the
* other end before the key exchange started.
*/
@@ -96,6 +102,11 @@
* Challenge to send in a ping and expect in the pong.
*/
uint32_t challenge;
+
+ /**
+ * When the rekey started. One minute after this the new key will be used.
+ */
+ struct GNUNET_TIME_Absolute rekey_start_time;
};
/**
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r33287 - gnunet/src/cadet,
gnunet <=