commit | f1079ed67ba8e84d70b026d1fb7a0f44203a9fe0 | [log] [tgz] |
---|---|---|
author | mauronofrio matarrese <poronofrio@gmail.com> | Mon May 25 20:52:57 2020 +0200 |
committer | bigbiff <bigbiff@teamw.in> | Tue Jun 23 14:44:34 2020 +0000 |
tree | 87ad63bc350af4b9a3aec7d51ab95d46d2d4defb | |
parent | bd79db4d6d2d38929ffd748c2929d6fb72666551 [diff] [blame] |
fscrypt: : Use wrapped key for metadata encryption Importing of this commit: https://github.com/LineageOS/android_system_vold/commit/944c48d5a4c6df1eb751b04f52c06adac35ebab6 Change-Id: I048a6c2aeff2591135f47223a99af5ddd215703c
diff --git a/crypto/fscrypt/FsCrypt.h b/crypto/fscrypt/FsCrypt.h index 11a338f..c63e11f 100755 --- a/crypto/fscrypt/FsCrypt.h +++ b/crypto/fscrypt/FsCrypt.h
@@ -42,5 +42,6 @@ bool fscrypt_destroy_volume_keys(const std::string& volume_uuid); bool is_wrapped_key_supported(); bool is_wrapped_key_supported_external(); +bool is_metadata_wrapped_key_supported(); bool lookup_key_ref(const std::map<userid_t, std::string>& key_map, userid_t user_id, std::string* raw_ref); \ No newline at end of file