diff options
author | Jason A. Donenfeld <[email protected]> | 2017-06-07 22:47:13 -0400 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2017-06-19 22:06:28 -0400 |
commit | d48ad080ec0101c2cca92926bed64993ab565c3d (patch) | |
tree | 85a3211479e495739ba9a2763cf2a8095e70f87f /lib/mpi/mpi-bit.c | |
parent | ae5b806a3d3c23d9d3b57aecbe687a0bd82ab086 (diff) |
rhashtable: use get_random_u32 for hash_rnd
This is much faster and just as secure. It also has the added benefit of
probably returning better randomness at early-boot on systems with
architectural RNGs.
Signed-off-by: Jason A. Donenfeld <[email protected]>
Cc: Thomas Graf <[email protected]>
Cc: Herbert Xu <[email protected]>
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions