summaryrefslogtreecommitdiffstats
path: root/libctest
diff options
context:
space:
mode:
authorAlex Klyubin <klyubin@google.com>2013-08-16 13:19:24 -0700
committerAlex Klyubin <klyubin@google.com>2013-08-19 16:58:28 -0700
commit0d872d8bb4f5371200601b7615ea48993383befb (patch)
treee64977ddb66f256039463db2e85feb576ef921e6 /libctest
parentc7a4f74dad2b91bebad608618f3fda434563be74 (diff)
downloadsystem_core-0d872d8bb4f5371200601b7615ea48993383befb.zip
system_core-0d872d8bb4f5371200601b7615ea48993383befb.tar.gz
system_core-0d872d8bb4f5371200601b7615ea48993383befb.tar.bz2
Seed Linux RNG from Hardware RNG at boot during init.
The Linux RNG may have little entropy during boot. As more and more devices have a Hardware RNG, we mix in 512 bytes from Hardware RNG (if present) into Linux RNG early during boot (after wait_for_coldboot_done and before property_service_init actions in init). To avoid having to trust the output of Hardware RNG, we do not mix it into the Linux RNG's primary pool or increase the Linux RNG's entropy estimates. Bug: 10362513 Change-Id: I80617f21710400747f5e7533e518d90ea74e2f11
Diffstat (limited to 'libctest')
0 files changed, 0 insertions, 0 deletions