]> Cypherpunks.ru repositories - govpn.git/commitdiff
[DOC] Clearer arrows
authorSergey Matveev <stargrave@stargrave.org>
Sun, 13 Sep 2015 18:44:09 +0000 (21:44 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sun, 13 Sep 2015 18:48:25 +0000 (21:48 +0300)
Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
doc/transport.texi

index 97fdce8ba04e397dca7542d38a3d9214196166cb..bfe35013d7de4cbf4676db0e6fa86fcd2778fcd4 100644 (file)
@@ -2,26 +2,26 @@
 @section Transport protocol
 
 @verbatim
-TAG || ENCRYPTED || NONCE <-- PACKET
+TAG || ENCRYPTED || NONCE --> PACKET
  ^         ^          ^
  |         |          |
- |         |          +------------+
- |         |                       |
- |         +------------+          |
- |                      |          |
- +-->AUTH(AUTH_KEY, ENCRYPTED || NONCE)
-                        ^          ^
-                        |          |
-+-----------------------+          |
-|                                  |
-|                   +--------------+
+ |         |          +-------------+
+ |         |                        |
+ |         +-------------+          |
+ |                       |          |
+ +--AUTH(AUTH_KEY, ENCRYPTED || NONCE)
+                         ^          ^
+                         |          |
++------------------------+          |
+|                                   |
+|                   +---------------+
 |                   |
-+--> ENCRYPT(KEY, NONCE, PAYLOAD)
++--< ENCRYPT(KEY, NONCE, PAYLOAD)
                     ^       ^
                     |       |
-                    |       +--> SIZE || DATA [|| NOISE]
+                    |       +--< SIZE || DATA [|| NOISE]
                     |
-                    +--> PRP(PRP_KEY, SERIAL)
+                    +--< PRP(PRP_KEY, SERIAL)
 @end verbatim
 
 @code{SERIAL} is message's serial number. Odds are reserved for