summaryrefslogtreecommitdiff
path: root/services/java/com/android/server/EntropyMixer.java
AgeCommit message (Collapse)Author
2013-12-19Move some system services to separate directoriesAmith Yamasani
Refactored the directory structure so that services can be optionally excluded. This is step 1. Will be followed by another change that makes it possible to remove services from the build. Change-Id: Ideacedfd34b5e213217ad3ff4ebb21c4a8e73f85
2013-10-03Make EntropyMixer mix in output of Hardware RNG into Linux RNG.Alex Klyubin
On devices with Hardware RNG (HW RNG), this makes EntropyMixer periodically (every three hours) read 512 bytes from HW RNG and mix them into the Linux RNG. This is done without increasing Linux RNG's entropy estimates to avoid having to trust the quality of the HW RNG. This approach cannot reduce the quality of the Linux RNG output, but may increase it. Change-Id: Ifde851004301ffd41b2189151a64a0c5989c630f
2013-03-04EntropyMixer: Write entropy at shutdown / reboot / powerNick Kralevich
Write out entropy if we're shutting down or rebooting, or if someone plugs in the power. Bug: 8312061 Change-Id: Id9a48064a7bdfe6c05a9227ea95a1bdbd0e9b8ae
2013-02-01EntropyMixer: add ro.build.fingerprint to the mixNick Kralevich
Change-Id: I001d337f61fef9667dd3289461bbafe574652232
2012-11-28Cleaner initial boot.Dianne Hackborn
This does some cleanup of the initial boot, especially when booting in "no core apps" mode for encryption/decryption. Change-Id: Ifb3949f580e52f54559e603c4b0b104f6bac2f6c
2011-11-17Rename EntropyService to EntropyMixerNick Kralevich
EntropyService implies that this program provides entropy to other programs, and is misleading. The EntropyMixer class is designed purely to stir the existing entropy pool with some possibily random-ish data, and carryover entropy across device reboots. Change-Id: I086cd339a3b652d32371521e61e1b1f555ce2280