summaryrefslogtreecommitdiff
path: root/node
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-10-08 09:05:25 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-10-08 09:05:25 -0700
commit273f0d18b0bc907d90e746f5836576150f4cde22 (patch)
tree75f339932a5d0fe777ed66c7bcd2a5a038536edf /node
parentfea1b6b2c3d004ad53c5997800229c070ccee79b (diff)
downloadinfinitytier-273f0d18b0bc907d90e746f5836576150f4cde22.tar.gz
infinitytier-273f0d18b0bc907d90e746f5836576150f4cde22.zip
docs
Diffstat (limited to 'node')
-rw-r--r--node/Packet.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/node/Packet.hpp b/node/Packet.hpp
index 1c7a6f5e..4dfa73f0 100644
--- a/node/Packet.hpp
+++ b/node/Packet.hpp
@@ -345,11 +345,11 @@ namespace ZeroTier {
* ZeroTier packet
*
* Packet format:
- * <[8] random initialization vector (doubles as 64-bit packet ID)>
+ * <[8] 64-bit random packet ID and crypto initialization vector>
* <[5] destination ZT address>
* <[5] source ZT address>
* <[1] flags/cipher (top 5 bits) and ZT hop count (last 3 bits)>
- * <[8] 8-bit MAC (currently first 8 bytes of poly1305 tag)>
+ * <[8] 64-bit MAC>
* [... -- begin encryption envelope -- ...]
* <[1] encrypted flags (top 3 bits) and verb (last 5 bits)>
* [... verb-specific payload ...]