Searched refs:localAccountHash (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/communication/dsoftbus/core/adapter/bus_center/src/ |
H A D | lnn_ohos_account.cpp | 93 uint8_t localAccountHash[SHA_256_HASH_LEN] = {0}; in LnnUpdateOhosAccount() local 98 …if (LnnGetLocalByteInfo(BYTE_KEY_ACCOUNT_HASH, localAccountHash, SHA_256_HASH_LEN) != SOFTBUS_OK) { in LnnUpdateOhosAccount() 110 if (memcmp(accountHash, localAccountHash, SHA_256_HASH_LEN) == EOK) { in LnnUpdateOhosAccount() 120 localAccountHash[0], localAccountHash[1], accountHash[0], accountHash[1]); in LnnUpdateOhosAccount() 153 uint8_t localAccountHash[SHA_256_HASH_LEN] = {0}; in LnnIsDefaultOhosAccount() local 156 …if (LnnGetLocalByteInfo(BYTE_KEY_ACCOUNT_HASH, localAccountHash, SHA_256_HASH_LEN) != SOFTBUS_OK) { in LnnIsDefaultOhosAccount() 165 return memcmp(localAccountHash, defaultAccountHash, SHA_256_HASH_LEN) == 0; in LnnIsDefaultOhosAccount()
|
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_interface.c | 640 uint8_t localAccountHash[SHA_256_HASH_LEN] = {0}; in AuthIsPotentialTrusted() local 656 …if (LnnGetLocalByteInfo(BYTE_KEY_ACCOUNT_HASH, localAccountHash, SHA_256_HASH_LEN) != SOFTBUS_OK) { in AuthIsPotentialTrusted() 660 …if (memcmp(localAccountHash, device->accountHash, SHORT_ACCOUNT_HASH_LEN) == 0 && !LnnIsDefaultOho… in AuthIsPotentialTrusted() 680 uint8_t localAccountHash[SHA_256_HASH_LEN] = { 0 }; in IsSameAccountDevice() local 681 …if (LnnGetLocalByteInfo(BYTE_KEY_ACCOUNT_HASH, localAccountHash, SHA_256_HASH_LEN) != SOFTBUS_OK) { in IsSameAccountDevice() 685 …if (memcmp(localAccountHash, device->accountHash, SHORT_ACCOUNT_HASH_LEN) == 0 && !LnnIsDefaultOho… in IsSameAccountDevice()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/heartbeat/src/ |
H A D | lnn_heartbeat_utils.c | 269 uint8_t localAccountHash[SHA_256_HASH_LEN] = { 0 }; in LnnGetShortAccountHash() local 275 …if (LnnGetLocalByteInfo(BYTE_KEY_ACCOUNT_HASH, localAccountHash, SHA_256_HASH_LEN) != SOFTBUS_OK) { in LnnGetShortAccountHash() 279 if (memcpy_s(accountHash, len, localAccountHash, len) != EOK) { in LnnGetShortAccountHash()
|
/ohos5.0/foundation/communication/dsoftbus/core/common/dfx/interface/include/form/ |
H A D | disc_event_form.h | 182 const char *localAccountHash; // LOCAL_ACCOUNT_HASH member
|
/ohos5.0/foundation/communication/dsoftbus/core/common/dfx/event/src/convert/ |
H A D | disc_audit_converter.h | 56 DISC_AUDIT_ASSIGNER(String, LocalAccountHash, localAccountHash)
|