/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/ |
H A D | query_sync_water_mark_helper.cpp | 303 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 D | fscrypt_key_v2.h | 43 bool GenerateAppkey(uint32_t userId, uint32_t hashId, std::string &keyId);
|
H A D | fbex.h | 66 static int GenerateAppkey(UserIdToFbeStr &userIdToFbe, uint32_t hashId, std::unique_ptr<uint8_t[]> &keyId,
|
H A D | fscrypt_key_v1.h | 39 bool GenerateAppkey(uint32_t userId, uint32_t hashId, std::string &keyId);
|
H A D | base_key.h | 54 virtual bool GenerateAppkey(uint32_t userId, uint32_t hashId, std::string &keyId) = 0;
|
/foundation/filemanagement/storage_service/test/fuzztest/filesystemcrypto_fuzzer/ |
H A D | filesystemcrypto_fuzzer.cpp | 212 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 D | filesystem_crypto.h | 49 int32_t GenerateAppkey(uint32_t hashId, uint32_t userId, std::string &keyId);
|
/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_common.c | 221 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 D | fscrypt_key_v1_test.cpp | 269 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 D | storage_daemon_client.h | 63 static int32_t GenerateAppkey(uint32_t userId, uint32_t hashId, std::string &keyId);
|
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/ |
H A D | key_manager_mock.cpp | 80 int32_t KeyManager::GenerateAppkey(uint32_t userId, uint32_t hashId, std::string &keyId) in GenerateAppkey() argument
|
/foundation/ability/form_fwk/services/src/ |
H A D | form_util.cpp | 127 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 D | fscrypt_key_v1_ext.cpp | 102 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 D | fscrypt_key_v2.cpp | 145 bool FscryptKeyV2::GenerateAppkey(uint32_t userId, uint32_t hashId, std::string &keyId) in GenerateAppkey() argument
|
H A D | fscrypt_key_v1.cpp | 73 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 D | filesystem_crypto.cpp | 194 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 D | storage_manager.cpp | 515 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 D | storage_daemon_client.cpp | 393 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 D | sdc.cpp | 271 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 D | filesystem_crypto_test.cpp | 475 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 D | storage_daemon_service_mock.h | 174 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 D | storage_daemon_proxy_mock.h | 67 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 D | storage_daemon_communication.h | 69 int32_t GenerateAppkey(uint32_t userId, uint32_t hashId, std::string &keyId);
|
/foundation/filemanagement/storage_service/services/storage_daemon/include/ipc/ |
H A D | storage_daemon_proxy.h | 67 virtual int32_t GenerateAppkey(uint32_t userId, uint32_t hashId, std::string &keyId) override;
|
H A D | istorage_daemon.h | 74 virtual int32_t GenerateAppkey(uint32_t userId, uint32_t hashId, std::string &keyId) = 0;
|