Home
last modified time | relevance | path

Searched refs:SHORT_DEVICE_ID_HASH_LENGTH (Results 1 - 5 of 5) sorted by relevance

/foundation/distributedhardware/device_manager/utils/src/crypto/
H A Ddm_crypto.cpp40 constexpr int SHORT_DEVICE_ID_HASH_LENGTH = 16; member
118 if (ConvertBytesToHexString(reinterpret_cast<char *>(udidHash), SHORT_DEVICE_ID_HASH_LENGTH + 1, in GetUdidHash()
119 reinterpret_cast<const uint8_t *>(hash), SHORT_DEVICE_ID_HASH_LENGTH / HEX_TO_UINT8) != DM_OK) { in GetUdidHash()
174 return ss.str().substr(0, SHORT_DEVICE_ID_HASH_LENGTH); in GetGroupIdHash()
/foundation/communication/dsoftbus/core/discovery/ble/softbus_ble/include/
H A Ddisc_ble_constant.h49 #define SHORT_DEVICE_ID_HASH_LENGTH 8 macro
/foundation/communication/dsoftbus/tests/core/discovery/ble/softbus_ble/
H A Ddisc_ble_utils_test.cpp324 char deviceIdHash[SHORT_DEVICE_ID_HASH_LENGTH + 1] = { 0 }; in HWTEST_F()
326 AssembleTLV(&broadcastData, TLV_TYPE_DEVICE_ID_HASH, (const void *)deviceIdHash, SHORT_DEVICE_ID_HASH_LENGTH); in HWTEST_F()
/foundation/communication/dsoftbus/core/discovery/ble/softbus_ble/src/
H A Ddisc_ble_utils.c137 retMem = memcpy_s(devIdHash, len, hashResult, SHORT_DEVICE_ID_HASH_LENGTH); in DiscBleGetDeviceIdHash()
H A Ddisc_ble.c889 char deviceIdHash[SHORT_DEVICE_ID_HASH_LENGTH + 1] = {0}; in GetBroadcastData()
890 if (DiscBleGetDeviceIdHash((uint8_t *)deviceIdHash, SHORT_DEVICE_ID_HASH_LENGTH + 1) != SOFTBUS_OK) { in GetBroadcastData()
894 SHORT_DEVICE_ID_HASH_LENGTH); in GetBroadcastData()

Completed in 6 milliseconds