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

merge-requests/3/head
Yawning Angel 10 years ago
parent e6a8d57a23
commit f76f142340

@ -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)
//

Loading…
Cancel
Save