Adam Ierymenko 9 years ago
parent
commit
273f0d18b0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      node/Packet.hpp

+ 2 - 2
node/Packet.hpp

@@ -345,11 +345,11 @@ namespace ZeroTier {
  * ZeroTier packet
  * ZeroTier packet
  *
  *
  * Packet format:
  * 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] destination ZT address>
  *   <[5] source ZT address>
  *   <[5] source ZT address>
  *   <[1] flags/cipher (top 5 bits) and ZT hop count (last 3 bits)>
  *   <[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 -- ...]
  *   [... -- begin encryption envelope -- ...]
  *   <[1] encrypted flags (top 3 bits) and verb (last 5 bits)>
  *   <[1] encrypted flags (top 3 bits) and verb (last 5 bits)>
  *   [... verb-specific payload ...]
  *   [... verb-specific payload ...]