]> Gentwo Git Trees - linux/.git/commit
prandom: remove next_pseudo_random32
authorMarkus Theil <theil.markus@gmail.com>
Mon, 10 Feb 2025 13:35:56 +0000 (14:35 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Mon, 10 Feb 2025 13:46:17 +0000 (14:46 +0100)
commit93354d866ac44d0f9d65b2e4adb5cc9a1c1912c9
tree20e41d60c45658bfad117fd1e110cda1bf85e696
parenta64dcfb451e254085a7daee5fe51bf22959d52d3
prandom: remove next_pseudo_random32

next_pseudo_random32 implements a LCG with known bad statistical
properties and is only used in two pieces of testing code. Remove and
convert the remaining two users to the single PRNG interface in
prandom.h

This removes another option of using an insecure PRNG.

Signed-off-by: Markus Theil <theil.markus@gmail.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
drivers/gpu/drm/i915/selftests/i915_gem.c
drivers/media/test-drivers/vivid/vivid-vid-cap.c
include/linux/prandom.h