diff options
author | Rob Austein <sra@hactrn.net> | 2016-09-26 18:38:25 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2016-09-26 18:38:25 -0400 |
commit | 9811b424b5b56da8c670430236ce62291194e4bc (patch) | |
tree | c2aa50c079b71a6f8acebe25639cc85729fb3af3 /tests/test-trng.c | |
parent | 3b2363827922c2af2b56cd817fde5c6b5480e00d (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-trng.c')
0 files changed, 0 insertions, 0 deletions