/ohos5.0/foundation/communication/dsoftbus/core/connection/ble/src/ |
H A D | softbus_conn_ble_manager.c | 36 #define SHORT_UDID_HASH_LEN 8 macro 793 char leftHashStr[HEXIFY_LEN(SHORT_UDID_HASH_LEN)] = { 0 }; in IsSameDevice() 794 char rightHashStr[HEXIFY_LEN(SHORT_UDID_HASH_LEN)] = { 0 }; in IsSameDevice() 795 …f (ConvertBytesToHexString(leftHashStr, HEXIFY_LEN(SHORT_UDID_HASH_LEN), leftHash, SHORT_UDID_HASH… in IsSameDevice() 797 …ConvertBytesToHexString(rightHashStr, HEXIFY_LEN(SHORT_UDID_HASH_LEN), rightHash, SHORT_UDID_HASH_… in IsSameDevice() 829 char udidHashStr[HEXIFY_LEN(SHORT_UDID_HASH_LEN)] = { 0 }; in BleServerAccepted() 831 …udidHashStr, HEXIFY_LEN(SHORT_UDID_HASH_LEN), (unsigned char *)info.bleInfo.deviceIdHash, SHORT_UD… in BleServerAccepted() 1746 char udidHashStr[HEXIFY_LEN(SHORT_UDID_HASH_LEN)] = { 0 }; in BleConnectDevice() 1748 (unsigned char *)option->bleOption.deviceIdHash, SHORT_UDID_HASH_LEN); in BleConnectDevice() 1886 char hashStr[HEXIFY_LEN(SHORT_UDID_HASH_LEN)] = { 0 }; in BleCheckActiveConnection() [all …]
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/utils/src/ |
H A D | lnn_connection_addr_utils.c | 26 #define SHORT_UDID_HASH_LEN 8 macro 45 … return memcmp(addr1->info.ble.udidHash, addr2->info.ble.udidHash, SHORT_UDID_HASH_LEN) == 0 || in LnnIsSameConnectionAddr()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/include/ |
H A D | lnn_distributed_net_ledger.h | 29 #define SHORT_UDID_HASH_LEN 8 macro
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/ble/ |
H A D | connection_ble_manager_test.cpp | 40 #define SHORT_UDID_HASH_LEN 8 macro 527 char hashStr[HEXIFY_LEN(SHORT_UDID_HASH_LEN)] = { 0 }; 529 …hashStr, HEXIFY_LEN(SHORT_UDID_HASH_LEN), (unsigned char *)option.bleOption.deviceIdHash, SHORT_UD…
|
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_hichain.c | 52 #define SHORT_UDID_HASH_LEN 8 macro 330 … rc = ConvertBytesToHexString(udidHash, HB_SHORT_UDID_HASH_HEX_LEN + 1, hash, SHORT_UDID_HASH_LEN); in GetUdidHash()
|
H A D | auth_session_fsm.c | 42 #define SHORT_UDID_HASH_LEN 8 macro 227 (const unsigned char *)request.connInfo.info.bleInfo.deviceIdHash, SHORT_UDID_HASH_LEN); in ProcAuthFsm() 700 hash, SHORT_UDID_HASH_LEN) != SOFTBUS_OK) { in RecoveryNormalizedDeviceKey() 729 hash, SHORT_UDID_HASH_LEN) != SOFTBUS_OK) { in RecoveryFastAuthKey()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/src/ |
H A D | lnn_distributed_net_ledger.c | 1717 unsigned char shortUdidHash[SHORT_UDID_HASH_LEN + 1] = {0}; in LnnGetOnlineNodeByUdidHash() 1736 SHORT_UDID_HASH_LEN, shortUdidHash, SHORT_UDID_HASH_LEN + 1) != SOFTBUS_OK) { in LnnGetOnlineNodeByUdidHash() 1739 if (memcmp(shortUdidHash, recvUdidHash, SHORT_UDID_HASH_LEN) == 0) { in LnnGetOnlineNodeByUdidHash()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/heartbeat/src/ |
H A D | lnn_heartbeat_medium_mgr.c | 667 … udidHash, SHORT_UDID_HASH_HEX_LEN + 1, device->addr[0].info.ble.udidHash, SHORT_UDID_HASH_LEN); in HbAddAsyncProcessCallbackDelay() 790 SHORT_UDID_HASH_LEN) != SOFTBUS_OK) { in HbSuspendReAuth()
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/ |
H A D | softbus_proxychannel_manager.c | 2092 char udidHashStr[HEXIFY_LEN(SHORT_UDID_HASH_LEN)] = { 0 }; in TransProxyGetConnOptionByChanId() 2093 ret = ConvertBytesToHexString(udidHashStr, HEXIFY_LEN(SHORT_UDID_HASH_LEN), in TransProxyGetConnOptionByChanId() 2094 (unsigned char *)connOpt->bleOption.deviceIdHash, SHORT_UDID_HASH_LEN); in TransProxyGetConnOptionByChanId()
|
H A D | softbus_proxychannel_transceiver.c | 976 SHORT_UDID_HASH_LEN) == 0) { in CheckIsProxyAuthChannel()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_connection_fsm.c | 1227 if (memcpy_s(addr.info.ble.udidHash, UDID_HASH_LEN, hash, SHORT_UDID_HASH_LEN) != EOK) { in ProcessBleOnline()
|