Skip to content
Snippets Groups Projects
Commit f76f1423 authored by Yawning Angel's avatar Yawning Angel
Browse files

Change documentation/comments to reflect reality (No functional changes).

parent e6a8d57a
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@ The notable differences between ScrambleSuit and obfs4:
Ticket Handshake). (TODO: Reconsider this.)
* The handshake uses the Tor Project's ntor handshake with public keys
obfuscated via the Elligator mapping.
* The link layer encryption uses NaCl secret boxes (Poly1305/Salsa20).
* The link layer encryption uses NaCl secret boxes (Poly1305/XSalsa20).
### Why not extend ScrambleSuit?
......
......@@ -35,7 +35,7 @@
//
// The frame format is:
// uint16_t length (obfsucated, big endian)
// NaCl SecretBox (Poly1305/Salsa20) containing:
// NaCl SecretBox (Poly1305/XSalsa20) containing:
// uint8_t[16] tag (Part of the SecretBox construct)
// uint8_t[] payload
//
......@@ -43,7 +43,7 @@
// SipHash-2-4 digest of the previous SecretBox concatenated with the nonce
// used to seal the current SecretBox.
//
// The NaCl SecretBox (Poly1305/Salsa20) nonce format is:
// The NaCl SecretBox (Poly1305/XSalsa20) nonce format is:
// uint8_t[24] prefix (Fixed)
// uint64_t counter (Big endian)
//
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment