3 #include <cutils/multiuser.h>
7 // These functions assume they are being called from init
8 // They will not operate properly outside of init
9 int e4crypt_install_keyring();
10 int e4crypt_create_device_key(const char* path,
11 int ensure_dir_exists(const char* dir));
12 int e4crypt_set_directory_policy(const char* path);
13 int e4crypt_do_init_user0();
14 int do_policy_set(const char *directory, const char *policy, int policy_length);
16 static const char* e4crypt_unencrypted_folder = "/unencrypted";
17 static const char* e4crypt_key_ref = "/unencrypted/ref";