summaryrefslogtreecommitdiffstats
path: root/cryptfs.h
diff options
context:
space:
mode:
authorPaul Lawrence <paullawrence@google.com>2014-03-10 13:20:50 -0700
committerPaul Lawrence <paullawrence@google.com>2014-03-21 11:15:39 -0700
commit399317ede45340eebc035ba204b6201b6d62dd66 (patch)
tree94a1ad57be778aaa5fafa5b6f60405cf29327f33 /cryptfs.h
parentf8e9569507a641ece6713cb4be072d1d9cfd2dcd (diff)
downloadandroid_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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cryptfs.h b/cryptfs.h
index ac678dc..c26f127 100644
--- a/cryptfs.h
+++ b/cryptfs.h
@@ -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