Searched refs:localAccountHash (Results 1 - 5 of 5) sorted by relevance
/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() 119 "accountHash update. localAccountHash=[%{public}02X, %{public}02X], accountHash=[%{public}02X, %{public}02X]", 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()
|
/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_interface.c | 637 uint8_t localAccountHash[SHA_256_HASH_LEN] = {0}; in AuthIsPotentialTrusted() local 653 if (LnnGetLocalByteInfo(BYTE_KEY_ACCOUNT_HASH, localAccountHash, SHA_256_HASH_LEN) != SOFTBUS_OK) { in AuthIsPotentialTrusted() 657 if (memcmp(localAccountHash, device->accountHash, SHORT_ACCOUNT_HASH_LEN) == 0 && !LnnIsDefaultOhosAccount()) { in AuthIsPotentialTrusted() 677 uint8_t localAccountHash[SHA_256_HASH_LEN] = { 0 }; in IsSameAccountDevice() local 678 if (LnnGetLocalByteInfo(BYTE_KEY_ACCOUNT_HASH, localAccountHash, SHA_256_HASH_LEN) != SOFTBUS_OK) { in IsSameAccountDevice() 682 if (memcmp(localAccountHash, device->accountHash, SHORT_ACCOUNT_HASH_LEN) == 0 && !LnnIsDefaultOhosAccount()) { in IsSameAccountDevice()
|
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/heartbeat/src/ |
H A D | lnn_heartbeat_utils.c | 274 uint8_t localAccountHash[SHA_256_HASH_LEN] = { 0 }; in LnnGetShortAccountHash() local 280 if (LnnGetLocalByteInfo(BYTE_KEY_ACCOUNT_HASH, localAccountHash, SHA_256_HASH_LEN) != SOFTBUS_OK) { in LnnGetShortAccountHash() 284 if (memcpy_s(accountHash, len, localAccountHash, len) != EOK) { in LnnGetShortAccountHash()
|
/foundation/communication/dsoftbus/core/common/dfx/interface/include/form/ |
H A D | disc_event_form.h | 172 const char *localAccountHash; // LOCAL_ACCOUNT_HASH member
|
/foundation/communication/dsoftbus/core/common/dfx/event/src/convert/ |
H A D | disc_audit_converter.h | 56 DISC_AUDIT_ASSIGNER(String, LocalAccountHash, localAccountHash)
|
Completed in 5 milliseconds