Use bigger random one-time keys in timing_safe_compare. fixes #2165
authorDaira Hopwood <daira@jacaranda.org>
Mon, 24 Feb 2014 20:23:39 +0000 (20:23 +0000)
committerDaira Hopwood <daira@jacaranda.org>
Mon, 24 Feb 2014 20:43:23 +0000 (20:43 +0000)
commit6ca5f5fc39650de55c9d93ceef5f275b80a100d1
tree35741a1363ca21a64336e37acda633aa294e1b76
parentd5651a0d0eebdc144db53425ee461e186319e5fd
Use bigger random one-time keys in timing_safe_compare. fixes #2165

Follows this advice from Marsh Ray and Solar Designer: https://twitter.com/zooko/status/431105294777597952

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
src/allmydata/util/hashutil.py