[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r35571 - gnunet/src/cadet
From: |
gnunet |
Subject: |
[GNUnet-SVN] r35571 - gnunet/src/cadet |
Date: |
Mon, 27 Apr 2015 21:14:04 +0200 |
Author: bartpolot
Date: 2015-04-27 21:14:04 +0200 (Mon, 27 Apr 2015)
New Revision: 35571
Modified:
gnunet/src/cadet/gnunet-service-cadet_tunnel.c
Log:
- data struct for axolotl internal state
Modified: gnunet/src/cadet/gnunet-service-cadet_tunnel.c
===================================================================
--- gnunet/src/cadet/gnunet-service-cadet_tunnel.c 2015-04-27 19:14:03 UTC
(rev 35570)
+++ gnunet/src/cadet/gnunet-service-cadet_tunnel.c 2015-04-27 19:14:04 UTC
(rev 35571)
@@ -135,6 +135,43 @@
struct GNUNET_SCHEDULER_Task * finish_task;
};
+
+struct CadetTunnelSkippedKey
+{
+ struct CadetTunnelSkippedKey *next;
+ struct CadetTunnelSkippedKey *prev;
+
+ struct GNUNET_TIME_Absolute timestamp;
+
+ struct GNUNET_CRYPTO_SymmetricSessionKey HK;
+ struct GNUNET_CRYPTO_SymmetricSessionKey MK;
+};
+
+struct CadetTunnelAxolotl
+{
+ struct CadetTunnelSkippedKey *head;
+ struct CadetTunnelSkippedKey *tail;
+
+ uint skipped;
+
+ struct GNUNET_CRYPTO_SymmetricSessionKey RK;
+ struct GNUNET_CRYPTO_SymmetricSessionKey HKs;
+ struct GNUNET_CRYPTO_SymmetricSessionKey HKr;
+ struct GNUNET_CRYPTO_SymmetricSessionKey NHKs;
+ struct GNUNET_CRYPTO_SymmetricSessionKey NHKr;
+ struct GNUNET_CRYPTO_SymmetricSessionKey CKs;
+ struct GNUNET_CRYPTO_SymmetricSessionKey CKr;
+
+ struct GNUNET_CRYPTO_EcdhePublicKey DHRs;
+ struct GNUNET_CRYPTO_EcdhePublicKey DHRr;
+
+ uint32_t Ns;
+ uint32_t Nr;
+ uint32_t PNs;
+
+ int ratchet_flag;
+};
+
/**
* Struct containing all information regarding a tunnel to a peer.
*/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r35571 - gnunet/src/cadet,
gnunet <=