diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-06-18 20:51:39 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-06-18 20:51:39 +0200 |
commit | f9759e17543657e62bd2a487762f419ed6d2f907 (patch) | |
tree | 4e0a1f78869555d2332b2d3edbb063004313378f /src/compat/memneq/include.h | |
parent | a97ca1117db9b34dead340707ffde1c07b369a0c (diff) |
noise: wait for crng before taking locks
Otherwise, get_random_bytes_wait gets called from
curve25519_generate_secret, and at the same time, a user might use the
wg(8) utility, which then wants to grab a read lock for what we're write
locking.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/compat/memneq/include.h')
0 files changed, 0 insertions, 0 deletions