Home
last modified time | relevance | path

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

/ohos5.0/foundation/distributedhardware/device_manager/services/service/src/softbus/
H A Dmine_softbus_listener.cpp390 if (GetSha256Hash(optionInfo[i].deviceAlias.c_str(), in ParseScopeDeviceJsonArray()
441 if (GetSha256Hash((const char *) optionInfo[i].value.data(), optionInfo[i].value.size(), in ParseVertexDeviceJsonArray()
453 int32_t MineSoftbusListener::GetSha256Hash(const char *data, size_t len, char *output) in GetSha256Hash() function in OHOS::DistributedHardware::MineSoftbusListener
485 if (GetSha256Hash((const char *)pkgName.c_str(), pkgName.size(), sha256Out) != DM_OK) { in SetBroadcastPkgname()
884 if (GetSha256Hash((const char *)deviceAlias, strlen(deviceAlias), sha256Out) != DM_OK) { in GetDeviceAliasHash()
902 if (GetSha256Hash((const char *)deviceSn, strlen(deviceSn), sha256Out) != DM_OK) { in GetDeviceSnHash()
921 if (GetSha256Hash((const char *)deviceUdid, strlen(deviceUdid), sha256Out) != DM_OK) { in GetDeviceUdidHash()
939 if (GetSha256Hash((const char *)deviceType, strlen(deviceType), sha256Out) != DM_OK) { in GetDeviceTypeHash()
/ohos5.0/foundation/distributedhardware/device_manager/services/service/include/softbus/
H A Dmine_softbus_listener.h121 static int32_t GetSha256Hash(const char *data, size_t len, char *output);
/ohos5.0/foundation/distributedhardware/device_manager/test/softbusunittest/
H A DUTTest_mine_softbus_listener.cpp542 int32_t ret = mineListener->GetSha256Hash(data, outLen, output);
552 int32_t ret = mineListener->GetSha256Hash(data.c_str(), outLen, output);
562 int32_t ret = mineListener->GetSha256Hash(data.c_str(), outLen, output);
572 int32_t ret = mineListener->GetSha256Hash(data.c_str(), outLen, output);