summaryrefslogtreecommitdiffstats
path: root/crypto/ext4crypt/Decrypt.h
diff options
context:
space:
mode:
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();