Home
last modified time | relevance | path

Searched refs:USER_EL2_DIR (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/
H A Dcrypto_key_test.cpp879 const string USER_EL2_DIR = "/data/test/user/el2"; variable
884 OHOS::ForceRemoveDirectory(USER_EL2_DIR);
886 MkDirRecurse(USER_EL2_DIR, S_IRWXU);
904 …_EQ(0, KeyManager::GetInstance()->SetDirectoryElPolicy(userId, EL2_KEY, {{userId, USER_EL2_DIR}}));
929 const string USER_EL2_DIR = "/data/test/user/el2"; variable
934 OHOS::ForceRemoveDirectory(USER_EL2_DIR);
936 MkDirRecurse(USER_EL2_DIR, S_IRWXU);
952 …NOENT, KeyManager::GetInstance()->SetDirectoryElPolicy(userId, EL2_KEY, {{userId, USER_EL2_DIR}}));
954 … {{userId, USER_EL2_DIR}})); // bad keytype
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dkey_manager.cpp396 ReadDigitDir(USER_EL2_DIR, dirInfo); in LoadAllUsersEl1Key()
442 ret = MkDir(USER_EL2_DIR, S_IRWXU); in InitUserElkeyStorageDir()
519 if ((!IsDir(USER_EL1_DIR)) || (!IsDir(USER_EL2_DIR)) || (!IsDir(USER_EL3_DIR)) || in GenerateUserKeys()
536 std::string el2Path = USER_EL2_DIR + "/" + std::to_string(user); in GenerateElxAndInstallUserKey()
728 deleteRet = DoDeleteUserCeEceSeceKeys(user, USER_EL2_DIR, userEl2Key_); in DoDeleteUserKeys()
970 keyDir = USER_EL2_DIR + "/" + std::to_string(user); in UpdateCeEceSeceUserAuth()
996 keyDir = USER_EL2_DIR; in UpdateCeEceSeceUserAuth()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/ipc/src/
H A Dstorage_daemon.cpp207 return GetNeedRestoreFilePath(userId, USER_EL2_DIR); in GetNeedRestoreFilePathByType()
409 std::string el2NeedRestorePath = GetNeedRestoreFilePath(START_USER_ID, USER_EL2_DIR); in InitGlobalUserKeys()
578 std::string el2NeedRestorePath = GetNeedRestoreFilePath(userId, USER_EL2_DIR); in IsNeedRestorePathExist()
716 std::string el2NeedRestorePath = GetNeedRestoreFilePath(userId, USER_EL2_DIR); in ActiveUserKey()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/
H A Dkey_manager.h37 const std::string USER_EL2_DIR = FSCRYPT_EL_DIR + "/el2"; variable
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/key_manager_test/
H A Dkey_manager_test.cpp872 …EXPECT_EQ(KeyManager::GetInstance()->GetKeyDirByUserAndType(user, EL2_KEY), USER_EL2_DIR + "/" + t…