summaryrefslogtreecommitdiff
path: root/src/or/networkstatus.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-09-23 11:45:54 -0400
committerNick Mathewson <nickm@torproject.org>2009-10-15 15:17:13 -0400
commit0bce0161dded650ac6fa665a7b861d6faac9e91c (patch)
tree2c4b465774c40101044b1eb4d2f4e360e3a4f4b7 /src/or/networkstatus.c
parent3471057486a8aef0be6e74b090a3173e0794c84b (diff)
downloadtor-0bce0161dded650ac6fa665a7b861d6faac9e91c.tar.gz
tor-0bce0161dded650ac6fa665a7b861d6faac9e91c.zip
Revise proposal 162: SHA256(x), not SHA256(SHA256(x))
The point of doing SHA256 twice is, generally, is to prevent message extension attacks where an attacker who knows H(A) can calculate H(A|B). But for attaching a signature to a document, the attacker already _knows_ A, so trying to keep them from calculating H(A|B) is pointless.
Diffstat (limited to 'src/or/networkstatus.c')
0 files changed, 0 insertions, 0 deletions