hashutil: add constant-time comparison function, to avoid timing attacks when python...
authorBrian Warner <warner@lothar.com>
Mon, 23 Mar 2009 03:20:55 +0000 (20:20 -0700)
committerBrian Warner <warner@lothar.com>
Mon, 23 Mar 2009 03:20:55 +0000 (20:20 -0700)
commit01e2032669d0f4897db90abe5ce96e2f834c0d6b
tree2d1fb67fe2b4c0cb353377ba3684ef7f6fc6db21
parent6599eae6f9cd00e24209aa8ccacd92af2a66b916
hashutil: add constant-time comparison function, to avoid timing attacks when python's short-circuiting data-dependent == operator is used to, say, check a write-enabler
src/allmydata/test/test_util.py
src/allmydata/util/hashutil.py