aboutsummaryrefslogtreecommitdiff
path: root/crypto/ext4crypt/Ext4CryptPie.cpp
diff options
context:
space:
mode:
authorbigbiff bigbiff <bigbiff@teamw.in>2019-08-27 20:50:31 -0400
committernebrassy <nebras30@gmail.com>2019-09-03 23:34:36 +0300
commitda2588ec7e3c1e42090c0dd66efaac2847f62c6b (patch)
treed412fb3c17db74874f7419733d38227a729745e9 /crypto/ext4crypt/Ext4CryptPie.cpp
parent176955f0a310afa123de379cfd07c4f33a2a51c6 (diff)
Encryption: try wrapped key if the first time decryption failsq10.0-twrp
Change-Id: I108b7aeea41c6b85c851f40c1c4a7e25012e2463
Diffstat (limited to 'crypto/ext4crypt/Ext4CryptPie.cpp')
-rw-r--r--crypto/ext4crypt/Ext4CryptPie.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/ext4crypt/Ext4CryptPie.cpp b/crypto/ext4crypt/Ext4CryptPie.cpp
index d76ca245..548e4e44 100644
--- a/crypto/ext4crypt/Ext4CryptPie.cpp
+++ b/crypto/ext4crypt/Ext4CryptPie.cpp
@@ -208,11 +208,11 @@ static bool read_and_fixate_user_ce_key(userid_t user_id,
}
static bool is_wrapped_key_supported_common(const std::string& mount_point) {
- LOG(DEBUG) << "Determining wrapped-key support for " << mount_point;
+ LOG(DEBUG) << "Determining wrapped-key support for " << mount_point << std::endl;
std::string wrapped_key_supported = android::base::GetProperty("fbe.data.wrappedkey", "false");
- LOG(DEBUG) << "fbe.data.wrappedkey = " << wrapped_key_supported;
+ LOG(DEBUG) << "fbe.data.wrappedkey = " << wrapped_key_supported << std::endl;
if (mount_point == DATA_MNT_POINT && wrapped_key_supported == "true") {
- LOG(DEBUG) << "Wrapped key supported on " << mount_point;
+ LOG(DEBUG) << "Wrapped key supported on " << mount_point << std::endl;
return true;
} else {
return false;