- doc
authorBart Polot <bart@net.in.tum.de>
Wed, 15 Jul 2015 11:45:14 +0000 (11:45 +0000)
committerBart Polot <bart@net.in.tum.de>
Wed, 15 Jul 2015 11:45:14 +0000 (11:45 +0000)
src/cadet/gnunet-service-cadet_tunnel.h

index c7a795129968c9a5bbb16511bff961d728f4c45a..8b87aaa4c788f5c703abafbda4b4242c3b6e4ea6 100644 (file)
@@ -90,10 +90,19 @@ enum CadetTunnelEState
   CADET_TUNNEL_KEY_SENT,
 
   /**
-   * New ephemeral key and ping sent, waiting for pong.
+   * In OTR: New ephemeral key and ping sent, waiting for pong.
+   *
    * This means that we DO have the peer's ephemeral key, otherwise the
    * state would be KEY_SENT. We DO NOT have a valid session key (either no
    * previous key or previous key expired).
+   *
+   *
+   * In Axolotl: Key sent and received but no deciphered traffic yet.
+   *
+   * This means that we can send traffic (otherwise we would never complete
+   * the handshake), but we don't have complete confirmation. Since the first
+   * traffic MUST be a complete channel creation 3-way handshake, no payload
+   * will be sent before confirmation.
    */
   CADET_TUNNEL_KEY_PING,