summaryrefslogtreecommitdiffstats
path: root/crypto/ext4crypt/Decrypt.h
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2018-08-30 22:16:27 +0200
committerEthan Yonker <dees_troy@teamw.in>2018-08-31 17:37:08 +0200
commite9afc3de0fe1df795cc2f8cfab489177252812be (patch)
tree867698dc2670b97f821726b71043a232ad54c6ce /crypto/ext4crypt/Decrypt.h
parentMerge AOSP android-9.0.0_r3 (diff)
downloadandroid_bootable_recovery-e9afc3de0fe1df795cc2f8cfab489177252812be.tar
android_bootable_recovery-e9afc3de0fe1df795cc2f8cfab489177252812be.tar.gz
android_bootable_recovery-e9afc3de0fe1df795cc2f8cfab489177252812be.tar.bz2
android_bootable_recovery-e9afc3de0fe1df795cc2f8cfab489177252812be.tar.lz
android_bootable_recovery-e9afc3de0fe1df795cc2f8cfab489177252812be.tar.xz
android_bootable_recovery-e9afc3de0fe1df795cc2f8cfab489177252812be.tar.zst
android_bootable_recovery-e9afc3de0fe1df795cc2f8cfab489177252812be.zip
Diffstat (limited to 'crypto/ext4crypt/Decrypt.h')
-rw-r--r--crypto/ext4crypt/Decrypt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/ext4crypt/Decrypt.h b/crypto/ext4crypt/Decrypt.h
index c05ac69b9..56318e278 100644
--- a/crypto/ext4crypt/Decrypt.h
+++ b/crypto/ext4crypt/Decrypt.h
@@ -26,6 +26,10 @@ __BEGIN_DECLS
// NOTE: keep in sync with StorageManager
static constexpr int FLAG_STORAGE_DE = 1 << 0;
static constexpr int FLAG_STORAGE_CE = 1 << 1;
+// For 9.0 Ext4CryptPie.cpp
+static constexpr int STORAGE_FLAG_DE = 1 << 0;
+static constexpr int STORAGE_FLAG_CE = 1 << 1;
+
int Get_Password_Type(const userid_t user_id, std::string& filename);
bool Decrypt_DE();