Home
last modified time | relevance | path

Searched refs:SHORT_UDID_HASH_LEN (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/core/connection/ble/src/
H A Dsoftbus_conn_ble_manager.c36 #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 Dlnn_connection_addr_utils.c26 #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 Dlnn_distributed_net_ledger.h29 #define SHORT_UDID_HASH_LEN 8 macro
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/ble/
H A Dconnection_ble_manager_test.cpp40 #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 Dauth_hichain.c52 #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 Dauth_session_fsm.c42 #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 Dlnn_distributed_net_ledger.c1717 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 Dlnn_heartbeat_medium_mgr.c667 … 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 Dsoftbus_proxychannel_manager.c2092 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 Dsoftbus_proxychannel_transceiver.c976 SHORT_UDID_HASH_LEN) == 0) { in CheckIsProxyAuthChannel()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/
H A Dlnn_connection_fsm.c1227 if (memcpy_s(addr.info.ble.udidHash, UDID_HASH_LEN, hash, SHORT_UDID_HASH_LEN) != EOK) { in ProcessBleOnline()