Home
last modified time | relevance | path

Searched refs:needGenerateShield (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/mock/
H A Dbase_key_mock.h31 virtual bool StoreKey(const UserAuth &auth, bool needGenerateShield) = 0;
49 MOCK_METHOD2(StoreKey, bool(const UserAuth &auth, bool needGenerateShield));
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/
H A Dbase_key.h44 bool StoreKey(const UserAuth &auth, bool needGenerateShield = true);
89 bool DoStoreKey(const UserAuth &auth, bool needGenerateShield = true);
93 …ool LoadAndSaveShield(const UserAuth &auth, const std::string &pathShield, bool needGenerateShield,
H A Dkey_manager.h64 bool needGenerateShield = true);
66 KeyType type, bool needGenerateShield);
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/mock/
H A Dbase_key_mock.cpp39 bool BaseKey::StoreKey(const UserAuth &auth, bool needGenerateShield) in StoreKey() argument
44 return IBaseKeyMoc::baseKeyMoc->StoreKey(auth, needGenerateShield); in StoreKey()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dbase_key.cpp193 bool BaseKey::StoreKey(const UserAuth &auth, bool needGenerateShield) in StoreKey() argument
201 if (DoStoreKey(auth, needGenerateShield)) { in StoreKey()
227 bool BaseKey::DoStoreKey(const UserAuth &auth, bool needGenerateShield) in StoreKey() argument
330 bool needGenerateShield, KeyContext &keyCtx) in StoreKey() argument
333 if (needGenerateShield) { in StoreKey()
H A Dkey_manager.cpp774 bool needGenerateShield) in UpdateUserAuth() argument
784 int ret = UpdateCeEceSeceUserAuth(user, userTokenSecret, EL2_KEY, needGenerateShield); in UpdateUserAuth()
791 ret = UpdateCeEceSeceUserAuth(user, userTokenSecret, EL3_KEY, needGenerateShield); in UpdateUserAuth()
798 ret = UpdateCeEceSeceUserAuth(user, userTokenSecret, EL4_KEY, needGenerateShield); in UpdateUserAuth()
882 KeyType type, bool needGenerateShield) in UpdateCeEceSeceUserAuth() argument
918 if (item->StoreKey(auth, needGenerateShield) == false) { in UpdateCeEceSeceUserAuth()