Home
last modified time | relevance | path

Searched refs:MNT_DATA (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/
H A Dfscrypt_key_v2.h33 bool ActiveKey(uint32_t flag = 0, const std::string &mnt = MNT_DATA);
34 bool InactiveKey(uint32_t flag = 0, const std::string &mnt = MNT_DATA);
35 … bool LockUserScreen(uint32_t flag = 0, uint32_t sdpClass = 0, const std::string &mnt = MNT_DATA);
36 …bool UnlockUserScreen(uint32_t flag = 0, uint32_t sdpClass = 0, const std::string &mnt = MNT_DATA);
H A Dfscrypt_key_v1.h35 bool ActiveKey(uint32_t flag = 0, const std::string &mnt = MNT_DATA);
36 bool InactiveKey(uint32_t flag = 0, const std::string &mnt = MNT_DATA);
37 … bool LockUserScreen(uint32_t flag = 0, uint32_t sdpClass = 0, const std::string &mnt = MNT_DATA);
38 …bool UnlockUserScreen(uint32_t flag = 0, uint32_t sdpClass = 0, const std::string &mnt = MNT_DATA);
H A Dbase_key.h50 virtual bool ActiveKey(uint32_t flag, const std::string &mnt = MNT_DATA) = 0;
51 virtual bool InactiveKey(uint32_t flag, const std::string &mnt = MNT_DATA) = 0;
52 …virtual bool LockUserScreen(uint32_t flag, uint32_t sdpClass, const std::string &mnt = MNT_DATA) =…
53 …ual bool UnlockUserScreen(uint32_t flag, uint32_t sdpClass, const std::string &mnt = MNT_DATA) = 0;
67 bool ClearKey(const std::string &mnt = MNT_DATA);
H A Dkey_blob.h48 static const std::string MNT_DATA = "/data"; variable
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dfscrypt_key_v1.cpp440 int fd = open(MNT_DATA.c_str(), O_RDONLY | O_DIRECTORY | O_CLOEXEC); in DropCachesIfNeed()
H A Dbase_key.cpp87 …if (keyInfo_.version == FSCRYPT_INVALID || keyInfo_.version > KeyCtrlGetFscryptVersion(MNT_DATA.c_… in InitKey()
H A Dkey_manager.cpp54 uint8_t kernelSupportVersion = KeyCtrlGetFscryptVersion(MNT_DATA.c_str()); in GetBaseKey()