aboutsummaryrefslogtreecommitdiff
path: root/tests/test-rpc_get_random.c
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-09-26 18:38:25 -0400
committerRob Austein <sra@hactrn.net>2016-09-26 18:38:25 -0400
commit9811b424b5b56da8c670430236ce62291194e4bc (patch)
treec2aa50c079b71a6f8acebe25639cc85729fb3af3 /tests/test-rpc_get_random.c
parent3b2363827922c2af2b56cd817fde5c6b5480e00d (diff)
Rewrite block_erase_maybe() to run the "maybe" check in constant time.
Running this check in constant time probably isn't necessary, but it plugs a (somewhat far-fetched) timing leak and is easy enough. While we're at this, we also skip the CRC check, which is irrelevant here.
Diffstat (limited to 'tests/test-rpc_get_random.c')
0 files changed, 0 insertions, 0 deletions