Home
last modified time | relevance | path

Searched refs:eceSeceKeyPath (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/key_manager_test/
H A Dkey_manager_test.cpp1203 std::string eceSeceKeyPath; variable
1207 EXPECT_EQ(KeyManager::GetInstance()->getEceSeceKeyPath(user, EL3_KEY, eceSeceKeyPath), 0);
1208 EXPECT_EQ(eceSeceKeyPath, "/data/test");
1210 eceSeceKeyPath.clear();
1211 EXPECT_EQ(KeyManager::GetInstance()->getEceSeceKeyPath(user, EL4_KEY, eceSeceKeyPath), 0);
1212 EXPECT_EQ(eceSeceKeyPath, "/data/test");
1214 eceSeceKeyPath.clear();
1215 EXPECT_EQ(KeyManager::GetInstance()->getEceSeceKeyPath(user, EL2_KEY, eceSeceKeyPath), 0);
1216 EXPECT_EQ(eceSeceKeyPath, "");
1221 EXPECT_EQ(KeyManager::GetInstance()->getEceSeceKeyPath(user, EL3_KEY, eceSeceKeyPath), -ENOENT);
[all …]
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dkey_manager.cpp1567 std::string eceSeceKeyPath; in UpdateCeEceSeceUserAuth() local
1585 if (getEceSeceKeyPath(user, type, eceSeceKeyPath) != 0) { in UpdateCeEceSeceUserAuth()
1598 …if (LoadAndSetEceAndSecePolicy(eceSeceKeyPath.c_str(), item.path.c_str(), static_cast<int>(type)) … in UpdateCeEceSeceUserAuth()
1608 int KeyManager::getEceSeceKeyPath(unsigned int user, KeyType type, std::string &eceSeceKeyPath) in UpdateCeEceSeceUserAuth() argument
1615 eceSeceKeyPath = userEl3Key_[user]->GetDir(); in UpdateCeEceSeceUserAuth()
1622 eceSeceKeyPath = userEl4Key_[user]->GetDir(); in UpdateCeEceSeceUserAuth()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/
H A Dkey_manager.h82 int getEceSeceKeyPath(unsigned int user, KeyType type, std::string &eceSeceKeyPath);