diff options
author | Paul Lawrence <paullawrence@google.com> | 2014-03-10 13:20:50 -0700 |
---|---|---|
committer | Paul Lawrence <paullawrence@google.com> | 2014-03-21 11:15:39 -0700 |
commit | 399317ede45340eebc035ba204b6201b6d62dd66 (patch) | |
tree | 94a1ad57be778aaa5fafa5b6f60405cf29327f33 /cryptfs.h | |
parent | f8e9569507a641ece6713cb4be072d1d9cfd2dcd (diff) | |
download | android_system_vold-399317ede45340eebc035ba204b6201b6d62dd66.tar.gz android_system_vold-399317ede45340eebc035ba204b6201b6d62dd66.tar.bz2 android_system_vold-399317ede45340eebc035ba204b6201b6d62dd66.zip |
Store password in vold
If we are not to double prompt, we need to pass the password from
CryptKeeper to KeyStore. Since the entire framework is taken down
and restarted, we must store the password in a secure system daemon.
There seems no better way than holding it in vold.
Change-Id: Ia60f2f051fc3f87c4b6468465f17b655f43f97de
Diffstat (limited to 'cryptfs.h')
-rw-r--r-- | cryptfs.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -166,7 +166,8 @@ extern "C" { int cryptfs_setfield(char *fieldname, char *value); int cryptfs_mount_default_encrypted(void); int cryptfs_get_password_type(void); - int cryptfs_just_decrypted(void); + char* cryptfs_get_password(void); + void cryptfs_clear_password(void); #ifdef __cplusplus } #endif |