Home
last modified time | relevance | path

Searched refs:ConvertBytesToHexString (Results 1 – 25 of 31) sorted by relevance

12

/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_ledger/
H A Dlnn_decision_db_test.cpp182 …EXPECT_CALL(decisionDbMock, ConvertBytesToHexString(_, _, _, _)).WillRepeatedly(Return(SOFTBUS_OK)…
294 …EXPECT_CALL(decisionDbMock, ConvertBytesToHexString(_, _, _, _)).WillRepeatedly(Return(SOFTBUS_OK)…
400 …EXPECT_CALL(decisionDbMock, ConvertBytesToHexString(_, _, _, _)).WillRepeatedly(Return(SOFTBUS_OK)…
433 …EXPECT_CALL(decisionDbMock, ConvertBytesToHexString(_, _, _, _)).WillRepeatedly(Return(SOFTBUS_OK)…
449 …EXPECT_CALL(decisionDbMock, ConvertBytesToHexString(_, _, _, _)).WillRepeatedly(Return(SOFTBUS_OK)…
500 …EXPECT_CALL(decisionDbMock, ConvertBytesToHexString(_, _, _, _)).WillRepeatedly(Return(SOFTBUS_OK)…
518 …EXPECT_CALL(decisionDbMock, ConvertBytesToHexString(_, _, _, _)).WillRepeatedly(Return(SOFTBUS_OK)…
538 …EXPECT_CALL(decisionDbMock, ConvertBytesToHexString(_, _, _, _)).WillRepeatedly(Return(SOFTBUS_OK)…
558 …EXPECT_CALL(decisionDbMock, ConvertBytesToHexString(_, _, _, _)).WillRepeatedly(Return(SOFTBUS_OK)…
574 …EXPECT_CALL(decisionDbMock, ConvertBytesToHexString(_, _, _, _)).WillRepeatedly(Return(SOFTBUS_OK)…
[all …]
H A Dlnn_decision_db_deps_mock.cpp164 int32_t ConvertBytesToHexString(char *outBuf, uint32_t outBufLen, in ConvertBytesToHexString() function
167 return GetDecisionDbDepsInterface()->ConvertBytesToHexString(outBuf, outBufLen, inBuf, inLen); in ConvertBytesToHexString()
H A Dlnn_decision_db_deps_mock.h67 virtual int32_t ConvertBytesToHexString(char *outBuf, uint32_t outBufLen,
107 …MOCK_METHOD4(ConvertBytesToHexString, int32_t (char *, uint32_t, const unsigned char *, uint32_t));
/ohos5.0/foundation/communication/dsoftbus/tests/core/common/utils/unittest/
H A Dsoftbus_utils_test.cpp202 int32_t ret = ConvertBytesToHexString(outBuf, outBufLen, inBuf, inLen);
209 ret = ConvertBytesToHexString(outBuf, outBufLen, inBuf, inLen);
215 ret = ConvertBytesToHexString(outBuf, outBufLen, inBuf2, inLen);
231 int32_t ret = ConvertBytesToHexString(outBuf, outBufLen, inBuf, inLen);
/ohos5.0/foundation/communication/dsoftbus/core/common/utils/
H A Dsoftbus_utils.c225 int32_t ConvertBytesToHexString(char *outBuf, uint32_t outBufLen, const unsigned char *inBuf, in ConvertBytesToHexString() function
269 if (ConvertBytesToHexString(str, len, hexAuthId, hexLen) != SOFTBUS_OK) { in GenerateRandomStr()
504 ret = ConvertBytesToHexString(signalingMsgBuf, BUF_HEX_LEN + OFFSET, data, BUF_BYTE_LEN); in SignalingMsgPrint()
506 ret = ConvertBytesToHexString(signalingMsgBuf, BUF_HEX_LEN + OFFSET, data, dataLen); in SignalingMsgPrint()
611 ret = ConvertBytesToHexString((char *)hashStr, hashStrLen, (const unsigned char *)hashResult, in GenerateStrHashAndConvertToHexString()
/ohos5.0/foundation/distributedhardware/device_manager/utils/src/crypto/
H A Ddm_crypto.cpp65 int32_t ConvertBytesToHexString(char *outBuf, uint32_t outBufLen, const unsigned char *inBuf, in ConvertBytesToHexString() function
117 if (ConvertBytesToHexString(reinterpret_cast<char *>(udidHash), SHORT_DEVICE_ID_HASH_LENGTH + 1, in GetUdidHash()
199 … if (ConvertBytesToHexString(outHex, SALT_LENGTH * HEX_TO_UINT8 + 1, out, SALT_LENGTH) != DM_OK) { in GetSecSalt()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/src/
H A Dlnn_net_ledger.c502 if (ConvertBytesToHexString(accountHashStr, SHA_256_HEX_HASH_LEN, in SoftbusDumpPrintAccountId()
652 …if (ConvertBytesToHexString(peerIrkStr, LFINDER_IRK_STR_LEN, irk, LFINDER_IRK_LEN) != SOFTBUS_OK) { in SoftbusDumpPrintIrk()
676 if (ConvertBytesToHexString(broadcastCipherStr, SESSION_KEY_STR_LEN, in SoftbusDumpPrintBroadcastCipher()
701 if (ConvertBytesToHexString(remotePtkStr, PTK_STR_LEN, in SoftbusDumpPrintRemotePtk()
730 if (ConvertBytesToHexString(localPtkStr, PTK_STR_LEN, in SoftbusDumpPrintLocalPtk()
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_deviceprofile.cpp76 …if (ConvertBytesToHexString(hashStr, CUST_UDID_LEN + 1, udidHash, CUST_UDID_LEN / HEXIFY_UNIT_LEN)… in DelNotTrustDevice()
109 if (ConvertBytesToHexString(hashStr, CUST_UDID_LEN + 1, udidHash, in IsTrustDevice()
H A Dauth_session_json.c270 … if (ConvertBytesToHexString(udidHashBuf, bufLen, hash, UDID_SHORT_HASH_LEN_TEMP) != SOFTBUS_OK) { in GenerateUdidShortHash()
289 return (ConvertBytesToHexString(udidBuf, bufLen, info->connInfo.info.bleInfo.deviceIdHash, in GetUdidOrShortHash()
318 … return (ConvertBytesToHexString(udidBuf, bufLen, info->connInfo.info.bleInfo.deviceIdHash, in GetUdidShortHash()
703 if (ConvertBytesToHexString(udidShortHash, UDID_SHORT_HASH_HEX_STR + 1, in UnpackFastAuth()
1226 if (ConvertBytesToHexString((char *)staticCap, STATIC_CAP_STR_LEN, in PackWifiDirectInfo()
1276 if (ConvertBytesToHexString(cipherKey, SESSION_KEY_STR_LEN, in PackCipherRpaInfo()
1281 if (ConvertBytesToHexString(cipherIv, BROADCAST_IV_STR_LEN, in PackCipherRpaInfo()
1286 if (ConvertBytesToHexString(peerIrk, LFINDER_IRK_STR_LEN, in PackCipherRpaInfo()
1291 if (ConvertBytesToHexString(pubMac, LFINDER_MAC_ADDR_STR_LEN, in PackCipherRpaInfo()
H A Dauth_session_message.c455 …if (ConvertBytesToHexString(emptyHashStr, UDID_SHORT_HASH_HEX_STR + 1, emptyHash, SHORT_HASH_LEN) … in IsEmptyShortHashStr()
477 if (ConvertBytesToHexString(udidHash, len, hash, UDID_SHORT_HASH_LEN_TEMP) != SOFTBUS_OK) { in GetLocalUdidHash()
H A Dauth_hichain_adapter.c188 if (ConvertBytesToHexString(hashStr, CUST_UDID_LEN + 1, udidHash, in IsTrustedDeviceInAGroup()
H A Dauth_hichain.c330 … rc = ConvertBytesToHexString(udidHash, HB_SHORT_UDID_HASH_HEX_LEN + 1, hash, SHORT_UDID_HASH_LEN); in GetUdidHash()
H A Dauth_common.c535 if (ConvertBytesToHexString(udidHash, UDID_BUF_LEN, in PrintAuthConnInfo()
/ohos5.0/foundation/communication/dsoftbus/tests/core/common/utils/fuzztest/softbusutils_fuzzer/
H A Dsoftbusutils_fuzzer.cpp57 ConvertBytesToHexString(outBuf, SHA_256_HASH_LEN - 1, in SoftbusUtilsSwitch()
/ohos5.0/foundation/communication/dsoftbus/adapter/common/net/bluetooth/broadcast/adapter/ble/src/
H A Dsoftbus_ble_utils.c332 … (void)ConvertBytesToHexString(serviceData, hexLen, (nativeFilter + filterSize)->serviceData, len); in DumpBleScanFilter()
333 …(void)ConvertBytesToHexString(serviceDataMask, hexLen, (nativeFilter + filterSize)->serviceDataMas… in DumpBleScanFilter()
510 (void)ConvertBytesToHexString(softbusData, hexLen, data, len); in DumpSoftbusAdapterData()
/ohos5.0/foundation/communication/dsoftbus/core/common/include/
H A Dsoftbus_utils.h70 int32_t ConvertBytesToHexString(char *outBuf, uint32_t outBufLen, const unsigned char *inBuf, uint3…
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/utils/src/
H A Dlnn_network_id.c146 if (ConvertBytesToHexString(irkStr, LFINDER_IRK_STR_LEN, irk, LFINDER_IRK_LEN) != SOFTBUS_OK) { in LnnGenLocalIrk()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/heartbeat/src/
H A Dlnn_heartbeat_utils.c259 ret = ConvertBytesToHexString(hashStr, len + 1, hashResult, len / HEXIFY_UNIT_LEN); in LnnGenerateHexStringHash()
322 …if (ConvertBytesToHexString(hashLower, BT_MAC_HASH_STR_LEN, (const uint8_t *)hash, BT_MAC_HASH_LEN… in LnnGenerateBtMacHash()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/decision_db/src/
H A Dlnn_decision_db.c287 …if (ConvertBytesToHexString(accountHexHash, SHA_256_HEX_HASH_LEN, accountHash, SHA_256_HASH_LEN) !… in BuildTrustedDevInfoRecord()
558 …if (ConvertBytesToHexString(accountHexHash, SHA_256_HEX_HASH_LEN, accountHash, SHA_256_HASH_LEN) !… in GetLocalAccountHexHash()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/
H A Dlnn_connection_fsm.c492 …if (ConvertBytesToHexString(emptyHashStr, HB_SHORT_UDID_HASH_HEX_LEN + 1, emptyHash, HB_SHORT_UDID… in IsEmptyShortHashStr()
519 …rc = ConvertBytesToHexString(localUdidHash, HB_SHORT_UDID_HASH_HEX_LEN + 1, hash, HB_SHORT_UDID_HA… in GetUdidHashForDfx()
531 rc = ConvertBytesToHexString(peerUdidHash, HB_SHORT_UDID_HASH_HEX_LEN + 1, in GetUdidHashForDfx()
555 …rc = ConvertBytesToHexString(peerUdidHash, HB_SHORT_UDID_HASH_HEX_LEN + 1, hash, HB_SHORT_UDID_HAS… in GetPeerUdidHash()
1078 ret = ConvertBytesToHexString(udidHash, HB_SHORT_UDID_HASH_HEX_LEN + 1, in BleDirectOnline()
H A Dlnn_sync_info_manager.c673 if (ConvertBytesToHexString(convertOfflineCode, WIFI_OFFLINE_CODE_LEN * HEXIFY_UNIT_LEN + 1, in CheckWifiOfflineMsgResult()
1278 if (ConvertBytesToHexString(convertOfflineCode, WIFI_OFFLINE_CODE_LEN * HEXIFY_UNIT_LEN + 1, in LnnSendWifiOfflineInfoMsg()
/ohos5.0/foundation/communication/dsoftbus/core/connection/ble/src/
H A Dsoftbus_conn_ble_manager.c795 …if (ConvertBytesToHexString(leftHashStr, HEXIFY_LEN(SHORT_UDID_HASH_LEN), leftHash, SHORT_UDID_HAS… in IsSameDevice()
797ConvertBytesToHexString(rightHashStr, HEXIFY_LEN(SHORT_UDID_HASH_LEN), rightHash, SHORT_UDID_HASH_… in IsSameDevice()
830 status = ConvertBytesToHexString( in BleServerAccepted()
891 status = ConvertBytesToHexString( in BleConnectionClosed()
1747 int32_t status = ConvertBytesToHexString(udidHashStr, HEXIFY_LEN(SHORT_UDID_HASH_LEN), in BleConnectDevice()
1887 if (ConvertBytesToHexString(hashStr, HEXIFY_LEN(SHORT_UDID_HASH_LEN), in BleCheckActiveConnection()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/src/
H A Dlnn_distributed_net_ledger.c926 if (ConvertBytesToHexString(hashStr, SHORT_UDID_HASH_HEX_LEN + 1, udidHash, in IsDeviceInfoChanged()
993 if (ConvertBytesToHexString(hashStr, SHORT_UDID_HASH_HEX_LEN + 1, udidHash, in BleDirectlyOnlineProc()
1114 if (ConvertBytesToHexString(hashStr, SHORT_UDID_HASH_HEX_LEN + 1, udidHash, in TryUpdateDeviceSecurityLevel()
1141 if (ConvertBytesToHexString(hashStr, SHORT_UDID_HASH_HEX_LEN + 1, udidHash, in ReversionLastAuthSeq()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/
H A Dlnn_lane_link_conflict.c371 …ret = ConvertBytesToHexString(outputInfo->devInfo.udidHash, CONFLICT_UDIDHASH_STR_LEN + 1, udidHas… in GenerateConflictInfoWithDevIdHash()
/ohos5.0/foundation/communication/dsoftbus/core/discovery/ble/softbus_ble/src/
H A Ddisc_ble_utils.c257 int32_t ret = ConvertBytesToHexString((char *)device->info->devId, DISC_MAX_DEVICE_ID_LEN, in CopyDeviceIdHashValue()

12