Two phases to set the password for disk encryption
Paul Crowley authored
In one phase, we make the new password work, and in the second we make
it the only one which works ("fixation"). This means that we can set
the password in Gatekeeper between these two phases, and a crash
doesn't break things. Unlocking a user automatically fixates the
presented credential.

Bug: 28154455
Change-Id: I54623c8652f0c9f72dd60388a7dc0ab2d48e81c7
92c5eeb4
Name Last commit Last update
bench Track rename from base/ to android-base/.
fs resolve merge conflicts of b7d5a47c to master.
tests Remove superfluous OpenSSL include paths.
Android.mk vold: write bootloader message directly.
Asec.h Add in ext4 support for ASEC containers
AutoCloseFD.h Use android-base logging not cutils in secdiscard
Benchmark.cpp Track rename from base/ to android-base/.
Benchmark.h Trim both internal and adopted private storage.
BenchmarkGen.h Track rename from base/ to android-base/.
CheckBattery.cpp Make vold compile with -Werror -Wall.
CheckBattery.h On low power turn off rather than rebooting to allow device to charge
CleanSpec.mk Add an empty CleanSpec.mk
CommandListener.cpp Add log flag for verbose AppFuse log for nyc-dev.
CommandListener.h Mount appfuse in process namespace.
CryptCommandListener.cpp Two phases to set the password for disk encryption
CryptCommandListener.h Prefer bool returns to int throughout
Devmapper.cpp vold: fix 64 bit ioctl error
Devmapper.h vold: fix 64 bit ioctl error
Disk.cpp Merge "Print size as unsigned when sending to framework." into nyc-dev
Disk.h Trim both internal and adopted private storage.
EmulatedVolume.cpp Unmount emulated filesystems before killing the fuse process.
EmulatedVolume.h Let's reinvent storage, yet again!
Ext4Crypt.cpp Two phases to set the password for disk encryption
Ext4Crypt.h Two phases to set the password for disk encryption
KeyStorage.cpp Use a longer timeout on the disk encryption keys
KeyStorage.h
Keymaster.cpp
Keymaster.h
Loop.cpp
Loop.h
MoveTask.cpp
MoveTask.h
NetlinkHandler.cpp
NetlinkHandler.h
NetlinkManager.cpp
NetlinkManager.h
PrivateVolume.cpp
PrivateVolume.h
Process.cpp
Process.h
PublicVolume.cpp
PublicVolume.h
ResponseCode.cpp
ResponseCode.h
ScryptParameters.cpp
ScryptParameters.h
TrimTask.cpp
TrimTask.h
Utils.cpp
Utils.h
VoldCommand.cpp
VoldCommand.h
VoldUtil.c
VoldUtil.h
VolumeBase.cpp
VolumeBase.h
VolumeManager.cpp
VolumeManager.h
cryptfs.c
cryptfs.h
hash.h
main.cpp
secdiscard.cpp
secontext.cpp
secontext.h
sehandle.h
vdc.cpp
vdc.rc
vold.rc