Home
last modified time | relevance | path

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

/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/mock/
H A Dbase_key_mock.h39 virtual bool SaveKeyBlob(const KeyBlob &blob, const std::string &path) = 0;
59 MOCK_METHOD2(SaveKeyBlob, bool(const KeyBlob &blob, const std::string &path));
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/mock/
H A Dbase_key_mock.cpp127 bool BaseKey::SaveKeyBlob(const KeyBlob &blob, const std::string &path) in SaveKeyBlob() function in BaseKey
132 return IBaseKeyMoc::baseKeyMoc->SaveKeyBlob(blob, path); in SaveKeyBlob()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dbase_key.cpp108 bool BaseKey::SaveKeyBlob(const KeyBlob &blob, const std::string &path) in SaveKeyBlob() function in OHOS::StorageDaemon::BaseKey
123 return SaveKeyBlob(blob, path); in GenerateAndSaveKeyBlob()
314 if (!SaveKeyBlob(storeKey, keyPath + PATH_ENCRYPTED)) { in StoreKey()
350 if (!SaveKeyBlob(keyCtx.shield, pathShield)) { in StoreKey()
435 if (!SaveKeyBlob(ctxDe.rndEnc, path + PATH_ENCRYPTED)) { in StoreKey()
884 SaveKeyBlob(keyContext_.shield, shieldPath); in StoreKey()
902 !SaveKeyBlob(keyCtx.shield, keyPath + PATH_SHIELD)) { in StoreKey()
H A Dfscrypt_key_v2.cpp58 if (!SaveKeyBlob(keyInfo_.keyId, dir_ + PATH_KEYID)) { in ActiveKey()
H A Dfscrypt_key_v1.cpp370 if (!SaveKeyBlob(keyInfo_.keyDesc, dir_ + PATH_KEYDESC)) { in InstallKeyToKeyring()
412 if (!SaveKeyBlob(keyInfo_.keyDesc, dir_ + PATH_KEYDESC)) { in InstallEceSeceKeyToKeyring()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/
H A Dbase_key.h83 static bool SaveKeyBlob(const KeyBlob &blob, const std::string &path);