Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9e439615 authored by Stephen Boyd's avatar Stephen Boyd
Browse files

hwrng: Pass entropy to add_hwgenerator_randomness() in bits, not bytes



The entropy argument to add_hwgenerator_randomness() is passed
directly to credit_entropy_bits() so we should be passing the
number of bits, not bytes.

Change-Id: I068c1073245944dddf0cbf7e69f1c0f1d96010e2
Fixes: 646d838eef81 "hwrng: create filler thread"
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 94469927
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment