diff options
| author | Jason A. Donenfeld <[email protected]> | 2022-02-11 12:19:49 +0100 |
|---|---|---|
| committer | Jason A. Donenfeld <[email protected]> | 2022-02-21 21:14:00 +0100 |
| commit | 246c03dd899164d0186b6d685d6387f228c28d93 (patch) | |
| tree | 1d8a8a168f2aa010245380567685aa87202f5fcd /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | b2f408fe403800c91a49f6589d95b6759ce1b30b (diff) | |
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 <[email protected]>
Reviewed-by: Dominik Brodowski <[email protected]>
Reviewed-by: Eric Biggers <[email protected]>
Signed-off-by: Jason A. Donenfeld <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions