Home
last modified time | relevance | path

Searched refs:localAccountHash (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/core/adapter/bus_center/src/
H A Dlnn_ohos_account.cpp93 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 Dauth_interface.c640 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 Dlnn_heartbeat_utils.c269 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 Ddisc_event_form.h182 const char *localAccountHash; // LOCAL_ACCOUNT_HASH member
/ohos5.0/foundation/communication/dsoftbus/core/common/dfx/event/src/convert/
H A Ddisc_audit_converter.h56 DISC_AUDIT_ASSIGNER(String, LocalAccountHash, localAccountHash)