Re: [PATCH] prandom: remove next_pseudo_random32

2025-02-12 Thread Markus Theil
Hi, On 11.02.25 00:07, Andi Shyti wrote: actually would be better if we apply the i915 part in drm-tip rather than waiting for kernel releases to receive this change in our branch. It has been source of conflicts and headaches. May I ask Markus to split the patch in two parts and we handle the

Re: [PATCH] prandom: remove next_pseudo_random32

2025-02-10 Thread Andi Shyti
Hi, On Mon, Feb 10, 2025 at 02:39:43PM +0100, Jason A. Donenfeld wrote: > Hey Markus, > > Thanks for this. I hadn't realized that next_pseudo_random32() only > had two users left. Excellent. > > I'll queue this up in the random tree (unless there are objections > from the maintainers of that tes

[PATCH] prandom: remove next_pseudo_random32

2025-02-10 Thread Markus Theil
next_pseudo_random32 implements a LCG with known bad statistical properties and is only used in two pieces of testing code. Remove and convert users to the remaining single PRNG interface in prandom/random32. This removes another option of using an insecure PRNG. This is a preliminary patch for f

Re: [PATCH] prandom: remove next_pseudo_random32

2025-02-10 Thread Jason A. Donenfeld
Hey Markus, Thanks for this. I hadn't realized that next_pseudo_random32() only had two users left. Excellent. I'll queue this up in the random tree (unless there are objections from the maintainers of that test code). Jason