]> git.baikalelectronics.ru Git - kernel.git/commit
random: cleanup poolinfo abstraction
authorJason A. Donenfeld <Jason@zx2c4.com>
Sun, 9 Jan 2022 16:32:02 +0000 (17:32 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 18 Jan 2022 12:03:55 +0000 (13:03 +0100)
commit813cf635d0bd2fa6636e7a67bdcf7c1e77f6a55b
tree527486bcbab1f7296f714b39d209c49a09843981
parentcbdb3c7983efabbf01482433c495ca48ed0a16ef
random: cleanup poolinfo abstraction

Now that we're only using one polynomial, we can cleanup its
representation into constants, instead of passing around pointers
dynamically to select different polynomials. This improves the codegen
and makes the code a bit more straightforward.

Reviewed-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
drivers/char/random.c