Home
last modified time | relevance | path

Searched refs:USER_EL1_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.cpp878 const string USER_EL1_DIR = "/data/test/user/el1"; variable
883 OHOS::ForceRemoveDirectory(USER_EL1_DIR);
885 MkDirRecurse(USER_EL1_DIR, S_IRWXU);
903 …_EQ(0, KeyManager::GetInstance()->SetDirectoryElPolicy(userId, EL1_KEY, {{userId, USER_EL1_DIR}}));
928 const string USER_EL1_DIR = "/data/test/user/el1"; variable
933 OHOS::ForceRemoveDirectory(USER_EL1_DIR);
935 MkDirRecurse(USER_EL1_DIR, S_IRWXU);
951 …NOENT, KeyManager::GetInstance()->SetDirectoryElPolicy(userId, EL1_KEY, {{userId, USER_EL1_DIR}}));
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dkey_manager.cpp399 ReadDigitDir(USER_EL1_DIR, dirInfo); in LoadAllUsersEl1Key()
437 ret = MkDir(USER_EL1_DIR, S_IRWXU); in InitUserElkeyStorageDir()
483 std::string globalUserEl1Path = USER_EL1_DIR + "/" + std::to_string(GLOBAL_USER_ID); in InitGlobalUserKeys()
519 if ((!IsDir(USER_EL1_DIR)) || (!IsDir(USER_EL2_DIR)) || (!IsDir(USER_EL3_DIR)) || in GenerateUserKeys()
535 std::string el1Path = USER_EL1_DIR + "/" + std::to_string(user); in GenerateElxAndInstallUserKey()
585 std::string el1NeedRestorePath = USER_EL1_DIR + "/" + std::to_string(user) + RESTORE_DIR; in CheckAndFixUserKeyDirectory()
723 int deleteRet = DoDeleteUserCeEceSeceKeys(user, USER_EL1_DIR, userEl1Key_); in DoDeleteUserKeys()
967 keyDir = USER_EL1_DIR + "/" + std::to_string(user); in UpdateCeEceSeceUserAuth()
993 keyDir = USER_EL1_DIR; in UpdateCeEceSeceUserAuth()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/key_manager_test/
H A Dkey_manager_test.cpp297 std::string keyDir = USER_EL1_DIR + "/" + std::to_string(user);
325 std::string keyDir = USER_EL1_DIR + "/" + std::to_string(user);
611 std::string keyDir = USER_EL1_DIR + "/" + std::to_string(userId);
871 …EXPECT_EQ(KeyManager::GetInstance()->GetKeyDirByUserAndType(user, EL1_KEY), USER_EL1_DIR + "/" + t…
1574 const std::string EL1_PATH = USER_EL1_DIR + "/" + std::to_string(userId);
1575 const std::string EL2_PATH = USER_EL1_DIR + "/" + std::to_string(userId);
1576 const std::string EL3_PATH = USER_EL1_DIR + "/" + std::to_string(userId);
1577 const std::string EL4_PATH = USER_EL1_DIR + "/" + std::to_string(userId);
1631 const std::string EL5_PATH = USER_EL1_DIR + "/" + std::to_string(userId);
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/
H A Dkey_manager.h36 const std::string USER_EL1_DIR = FSCRYPT_EL_DIR + "/el1"; variable
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/ipc/src/
H A Dstorage_daemon.cpp205 return GetNeedRestoreFilePath(userId, USER_EL1_DIR); in GetNeedRestoreFilePathByType()
585 std::string el1NeedRestorePath = GetNeedRestoreFilePath(userId, USER_EL1_DIR); in IsNeedRestorePathExist()