diff options
author | Yawning Angel <yawning@schwanenlied.me> | 2014-05-16 02:54:17 +0000 |
---|---|---|
committer | Yawning Angel <yawning@schwanenlied.me> | 2014-05-16 02:54:17 +0000 |
commit | 1fee9678c68238f6e77d44020f8ee38c711d89bb (patch) | |
tree | 7bf0c6d5485ffeb531151fe5994a824048995952 /utils.go | |
parent | f4877920f854b0b361e446d7a6ce91527c4f07ee (diff) |
Change the length field obfscation.
Instead of including the previous secretbox in the input when
calculating the SipHash-2-4 digest used to generate the obfuscation
mask, use only the nonce. This is significantly faster, and if someone
breaks obfs4 by exploiting the low amount of input entropy between each
invocation (a counter incrementing by 1), I hope they publish the
attack on the PRF.
This breaks wire protocol compatibility.
Diffstat (limited to 'utils.go')
0 files changed, 0 insertions, 0 deletions