summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2022-02-11 14:19:49 +0300
committerJason A. Donenfeld <Jason@zx2c4.com>2022-02-21 23:14:00 +0300
commit246c03dd899164d0186b6d685d6387f228c28d93 (patch)
tree1d8a8a168f2aa010245380567685aa87202f5fcd /include/linux
parentb2f408fe403800c91a49f6589d95b6759ce1b30b (diff)
downloadlinux-246c03dd899164d0186b6d685d6387f228c28d93.tar.xz
random: introduce drain_entropy() helper to declutter crng_reseed()
In preparation for separating responsibilities, break out the entropy count management part of crng_reseed() into its own function. No functional changes. Cc: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Dominik Brodowski <linux@dominikbrodowski.net> Reviewed-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions