Messages in this thread | | | Date | Fri, 13 May 2022 12:07:49 +0200 | From | "Jason A. Donenfeld" <> | Subject | Re: [PATCH] random32: use real rng for non-deterministic randomness |
| |
Hi Dominik,
On Fri, May 13, 2022 at 08:18:53AM +0200, Dominik Brodowski wrote: > Nice! However, wouldn't it be much better to clean up the indirection > introduced here as well? prandom_u32() as wrapper for get_random_u32() and > prandom_bytes() as wrapper for get_random_bytes() seems unnecessary...
Yes; we can look at tree-wide changes for 5.20. The first step in making tree-wide changes is filling in the old function with an inline wrapper, which then gets removed as part of the last step after all the other patches have landed. That's a huge process, so this is just step one.
Jason
| |