summaryrefslogtreecommitdiffhomepage
path: root/src/crypto/blake2s.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-11-29 23:28:14 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2016-11-29 23:29:22 +0100
commit73a09df16fa6e7f303777dd5a55f3b0decc59c78 (patch)
tree789bf4070dadd0d63bca4af233b2d2242c8aa58c /src/crypto/blake2s.c
parenta76963728a08b28a9fb6ff03c88416d8da00419c (diff)
hashtable: use random number each time
Otherwise timing information might leak information about prior index entries. We also switch back to an explicit uint64_t because siphash needs something at least that size. (This partially reverts 1550e9ba597946c88e3e7e3e8dcf33c13dd76e5b. Willy's suggestion was wrong.) Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/crypto/blake2s.c')
0 files changed, 0 insertions, 0 deletions