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

Skip to content
Commit be9c253f authored by Laura Abbott's avatar Laura Abbott Committed by Olav Haugan
Browse files

msm: Add support for early random numbers



Currently, the software random number generator is not initialized
until relatively late in the boot process. Software that relies on
random numbers early will not be reliable. Entropy sources are
available early but not early enough for some use cases which means
that moving the software random number generation earlier is not an
option. Instead we initialize the random pool with values from a
HW RNG accessed through a call to the secure environment.

Change-Id: Id756a8740df7ec938984c3e7de22681e0270bb5b
Signed-off-by: default avatarLaura Abbott <lauraa@codeaurora.org>
[ohaugan@codeaurora.org: Removed unsupported scm api]
Signed-off-by: default avatarOlav Haugan <ohaugan@codeaurora.org>
parent bc9054b6
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