Quantcast
Channel: lkml.org : Shesha Sreenivasamurthy
Viewing all articles
Browse latest Browse all 1267

Re: Hashed pointer issues

$
0
0
Linus Torvalds writes: (Summary) I think it's fine for this kind of "initialize hashing state" thing, but I would hate for somebody to actually use "get_random_bytes_arch()" as an actual source of random bytes. Even when the "real" random number generator uses it, at least it washes the result through chacha20 and has other sources or entropy mixed in too. Both to see if any external module actually uses that get_random_bytes_arch() function, and to discourage people to use it as direct random data.
it as direct random data.
Maybe call it something like "get_seed_bytes_arch()" or something.

Viewing all articles
Browse latest Browse all 1267

Trending Articles