X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=Ext4Crypt.h;h=e90167bdbf941f02893529a1006c0c36e090156c;hb=f707f1bb8845386d23f0abb8ae11ca497b2cbc88;hp=dff2953a1c2fbeae9f3fc2366c934fd7d979497a;hpb=f84fe907141bcdb76425d5ba42913576f018a11c;p=android-x86%2Fsystem-vold.git diff --git a/Ext4Crypt.h b/Ext4Crypt.h index dff2953..e90167b 100644 --- a/Ext4Crypt.h +++ b/Ext4Crypt.h @@ -28,12 +28,15 @@ bool e4crypt_initialize_global_de(); bool e4crypt_init_user0(); bool e4crypt_vold_create_user_key(userid_t user_id, int serial, bool ephemeral); bool e4crypt_destroy_user_key(userid_t user_id); -bool e4crypt_change_user_key(userid_t user_id, int serial, const char* token, - const char* old_secret, const char* new_secret); +bool e4crypt_add_user_key_auth(userid_t user_id, int serial, const char* token, + const char* secret); +bool e4crypt_fixate_newest_user_key_auth(userid_t user_id); bool e4crypt_unlock_user_key(userid_t user_id, int serial, const char* token, const char* secret); bool e4crypt_lock_user_key(userid_t user_id); bool e4crypt_prepare_user_storage(const char* volume_uuid, userid_t user_id, int serial, int flags); +bool e4crypt_destroy_user_storage(const char* volume_uuid, userid_t user_id, int flags); +bool e4crypt_secdiscard(const char* path); __END_DECLS