aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/cookie.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-03-16 15:28:16 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2017-03-19 15:34:46 +0100
commitb42320fdd8354b7fee47b52b68d730911e57e534 (patch)
tree693f32855fe14320353b934b15c1b757bb0f62f4 /src/cookie.c
parenttimers: elide enable check (diff)
downloadwireguard-linux-compat-b42320fdd8354b7fee47b52b68d730911e57e534.tar.xz
wireguard-linux-compat-b42320fdd8354b7fee47b52b68d730911e57e534.zip
hashtables: get_random_int is now more secure, so expose directly
On 4.11, get_random_u32 now either uses chacha or rdrand, rather than the horrible former MD5 construction, so we feel more comfortable exposing RNG output directly. On older kernels, we fall back to something a bit disgusting. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/cookie.c')
0 files changed, 0 insertions, 0 deletions