diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-03-16 15:28:16 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-03-19 15:34:46 +0100 |
commit | b42320fdd8354b7fee47b52b68d730911e57e534 (patch) | |
tree | 693f32855fe14320353b934b15c1b757bb0f62f4 /src/crypto | |
parent | 0cd737b5c78f6ec118e6aaea249ba22ced6cfd53 (diff) |
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/crypto')
0 files changed, 0 insertions, 0 deletions