Home
last modified time | relevance | path

Searched refs:hashId (Results 1 - 25 of 47) sorted by relevance

12

/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/
H A Dquery_sync_water_mark_helper.cpp303 std::string hashId = GetHashDeleteSyncDeviceId(deviceId); in GetDeleteSyncWaterMark() local
306 return GetDeleteWaterMarkFromCache(hashId, deleteWaterMark); in GetDeleteSyncWaterMark()
311 std::string hashId = GetHashDeleteSyncDeviceId(deviceId); in SetSendDeleteSyncWaterMark() local
315 int errCode = GetDeleteWaterMarkFromCache(hashId, deleteWaterMark); in SetSendDeleteSyncWaterMark()
320 return UpdateDeleteSyncCacheAndSave(hashId, deleteWaterMark); in SetSendDeleteSyncWaterMark()
326 std::string hashId = GetHashDeleteSyncDeviceId(deviceId, isNeedHash); in SetRecvDeleteSyncWaterMark() local
330 int errCode = GetDeleteWaterMarkFromCache(hashId, deleteWaterMark); in SetRecvDeleteSyncWaterMark()
335 return UpdateDeleteSyncCacheAndSave(hashId, deleteWaterMark); in SetRecvDeleteSyncWaterMark()
/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/
H A Dfscrypt_key_v2.h43 bool GenerateAppkey(uint32_t userId, uint32_t hashId, std::string &keyId);
H A Dfbex.h66 static int GenerateAppkey(UserIdToFbeStr &userIdToFbe, uint32_t hashId, std::unique_ptr<uint8_t[]> &keyId,
H A Dfscrypt_key_v1.h39 bool GenerateAppkey(uint32_t userId, uint32_t hashId, std::string &keyId);
H A Dbase_key.h54 virtual bool GenerateAppkey(uint32_t userId, uint32_t hashId, std::string &keyId) = 0;
/foundation/filemanagement/storage_service/test/fuzztest/filesystemcrypto_fuzzer/
H A Dfilesystemcrypto_fuzzer.cpp212 uint32_t hashId = TypeCast<uint32_t>(data, &pos); in GenerateAppkeyFuzzTest() local
215 int32_t result = fileSystem->GenerateAppkey(hashId, userId, keyId); in GenerateAppkeyFuzzTest()
/foundation/filemanagement/storage_service/services/storage_manager/include/crypto/
H A Dfilesystem_crypto.h49 int32_t GenerateAppkey(uint32_t hashId, uint32_t userId, std::string &keyId);
/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_common.c221 uint8_t hashId[SHA_256_HASH_LEN] = { 0 }; in UpdateUniqueId() local
222 if (SoftBusGenerateStrHash((uint8_t *)networkId, strlen(networkId), hashId) != SOFTBUS_OK) { in UpdateUniqueId()
227 g_uniqueId = (g_uniqueId << BYTES_BIT_NUM) | hashId[i]; in UpdateUniqueId()
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/fscrypt_v1_test/
H A Dfscrypt_key_v1_test.cpp269 uint32_t hashId = 2; in HWTEST_F() local
273 EXPECT_FALSE(g_testKeyV1->GenerateAppkey(userId, hashId, keyDesc)); in HWTEST_F()
276 EXPECT_TRUE(g_testKeyV1->GenerateAppkey(userId, hashId, keyDesc)); in HWTEST_F()
/foundation/filemanagement/storage_service/services/storage_daemon/client/include/
H A Dstorage_daemon_client.h63 static int32_t GenerateAppkey(uint32_t userId, uint32_t hashId, std::string &keyId);
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/
H A Dkey_manager_mock.cpp80 int32_t KeyManager::GenerateAppkey(uint32_t userId, uint32_t hashId, std::string &keyId) in GenerateAppkey() argument
/foundation/ability/form_fwk/services/src/
H A Dform_util.cpp127 u_int64_t hashId = 0L; in GenerateUdidHash() local
129 udidHash = (hashId & 0x0000000000ffffffL) << thirtyTwo; in GenerateUdidHash()
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dfscrypt_key_v1_ext.cpp102 bool FscryptKeyV1Ext::GenerateAppkey(uint32_t user, uint32_t hashId, std::unique_ptr<uint8_t[]> &appKey, uint32_t size) in GenerateAppkey() argument
111 if (FBEX::GenerateAppkey(userIdToFbe, hashId, appKey, size)) { in GenerateAppkey()
H A Dfscrypt_key_v2.cpp145 bool FscryptKeyV2::GenerateAppkey(uint32_t userId, uint32_t hashId, std::string &keyId) in GenerateAppkey() argument
H A Dfscrypt_key_v1.cpp73 bool FscryptKeyV1::GenerateAppkey(uint32_t userId, uint32_t hashId, std::string &keyDesc) in GenerateAppkey() argument
76 if (!fscryptV1Ext.GenerateAppkey(userId, hashId, appKey.data, appKey.size)) { in GenerateAppkey()
/foundation/filemanagement/storage_service/services/storage_manager/crypto/
H A Dfilesystem_crypto.cpp194 int32_t FileSystemCrypto::GenerateAppkey(uint32_t hashId, uint32_t userId, std::string &keyId) in GenerateAppkey() argument
204 return sdCommunication->GenerateAppkey(userId, hashId, keyId); in GenerateAppkey()
/foundation/filemanagement/storage_service/services/storage_manager/ipc/src/
H A Dstorage_manager.cpp515 int32_t StorageManager::GenerateAppkey(uint32_t hashId, uint32_t userId, std::string &keyId) in GenerateAppkey() argument
518 LOGI("hashId: %{public}u", hashId); in GenerateAppkey()
520 return fsCrypto->GenerateAppkey(hashId, userId, keyId); in GenerateAppkey()
/foundation/filemanagement/storage_service/services/storage_daemon/client/
H A Dstorage_daemon_client.cpp393 int32_t StorageDaemonClient::GenerateAppkey(uint32_t userId, uint32_t hashId, std::string &keyId) in GenerateAppkey() argument
406 return client->GenerateAppkey(userId, hashId, keyId); in GenerateAppkey()
/foundation/filemanagement/storage_service/services/storage_daemon/
H A Dsdc.cpp271 uint32_t hashId = 0; in GenerateAppkey() local
273 return OHOS::StorageDaemon::StorageDaemonClient::GenerateAppkey(userId, hashId, keyId); in GenerateAppkey()
/foundation/filemanagement/storage_service/services/storage_manager/crypto/test/
H A Dfilesystem_crypto_test.cpp475 uint32_t hashId = -1; in HWTEST_F() local
478 uint32_t result = fileSystemCrypto_->GenerateAppkey(hashId, userId, keyId); in HWTEST_F()
/foundation/filemanagement/storage_service/services/storage_daemon/ipc/test/
H A Dstorage_daemon_service_mock.h174 virtual int32_t GenerateAppkey(uint32_t userId, uint32_t hashId, std::string &keyId) override
/foundation/filemanagement/storage_service/services/storage_manager/include/mock/
H A Dstorage_daemon_proxy_mock.h67 virtual int32_t GenerateAppkey(uint32_t userId, uint32_t hashId, std::string &keyId) override;
/foundation/filemanagement/storage_service/services/storage_manager/include/storage_daemon_communication/
H A Dstorage_daemon_communication.h69 int32_t GenerateAppkey(uint32_t userId, uint32_t hashId, std::string &keyId);
/foundation/filemanagement/storage_service/services/storage_daemon/include/ipc/
H A Dstorage_daemon_proxy.h67 virtual int32_t GenerateAppkey(uint32_t userId, uint32_t hashId, std::string &keyId) override;
H A Distorage_daemon.h74 virtual int32_t GenerateAppkey(uint32_t userId, uint32_t hashId, std::string &keyId) = 0;

Completed in 14 milliseconds

12