Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit dd1f723b authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

ext4: use prandom_u32() instead of get_random_bytes()



Many of the uses of get_random_bytes() do not actually need
cryptographically secure random numbers.  Replace those uses with a
call to prandom_u32(), which is faster and which doesn't consume
entropy from the /dev/random driver.

Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent f2754114
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment