Home
last modified time | relevance | path

Searched refs:accountIdHash (Results 1 - 4 of 4) sorted by relevance

/foundation/distributedhardware/device_manager/utils/include/crypto/
H A Ddm_crypto.h36 static int32_t GetAccountIdHash(const std::string &accountId, unsigned char *accountIdHash);
/foundation/distributedhardware/device_manager/utils/src/crypto/
H A Ddm_crypto.cpp213 int32_t Crypto::GetAccountIdHash(const std::string &accountId, unsigned char *accountIdHash) in GetAccountIdHash() argument
217 if (ConvertBytesToHexString(reinterpret_cast<char *>(accountIdHash), SHORT_ACCOUNTID_ID_HASH_LENGTH + 1, in GetAccountIdHash()
/foundation/distributedhardware/device_manager/services/service/src/
H A Ddevice_manager_service.cpp1673 char accountIdHash[DM_MAX_DEVICE_ID_LEN] = {0}; in HandleAccountLogout() local
1674 if (Crypto::GetAccountIdHash(accountId, reinterpret_cast<uint8_t *>(accountIdHash)) != DM_OK) { in HandleAccountLogout()
1679 SendAccountLogoutBroadCast(peerUdids, std::string(accountIdHash), accountName, userId); in HandleAccountLogout()
/foundation/communication/dsoftbus/core/discovery/ble/softbus_ble/src/
H A Ddisc_ble.c444 uint8_t accountIdHash[SHORT_USER_ID_HASH_LEN] = {0}; in ProcessHashAccount() local
445 ret = DiscBleGetShortUserIdHash(accountIdHash, SHORT_USER_ID_HASH_LEN); in ProcessHashAccount()
450 if (memcmp(accountIdHash, foundInfo->accountHash, SHORT_USER_ID_HASH_LEN) == 0) { in ProcessHashAccount()

Completed in 9 milliseconds