Searched refs:OFFLINE_CODE_BYTE_SIZE (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/include/ |
H A D | lnn_node_info.h | 33 #define OFFLINE_CODE_BYTE_SIZE 4 macro 156 unsigned char offlineCode[OFFLINE_CODE_BYTE_SIZE];
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/authentication/unittest/ |
H A D | auth_test_mock.cpp | 145 memset_s(g_localInfo.offlineCode, OFFLINE_CODE_BYTE_SIZE, 0, OFFLINE_CODE_BYTE_SIZE); in ClientFSMCreate()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/local_ledger/src/ |
H A D | lnn_local_net_ledger.c | 151 if (memcpy_s(buf, len, info->offlineCode, OFFLINE_CODE_BYTE_SIZE) != EOK) { in LlGetOffLineCode() 1011 if (memset_s(info->offlineCode, OFFLINE_CODE_BYTE_SIZE, 0, OFFLINE_CODE_BYTE_SIZE) != EOK) { in InitOfflineCode() 1015 if (SoftBusGenerateRandomArray(info->offlineCode, OFFLINE_CODE_BYTE_SIZE) != SOFTBUS_OK) { in InitOfflineCode() 1260 …return ModifyId((char *)g_localNetLedger.localInfo.offlineCode, OFFLINE_CODE_BYTE_SIZE, (char *)id… in LlUpdateLocalOffLineCode()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/src/ |
H A D | lnn_distributed_net_ledger.c | 238 if (memcpy_s(newInfo->offlineCode, OFFLINE_CODE_BYTE_SIZE, in RetainOfflineCode() 239 oldInfo->offlineCode, OFFLINE_CODE_BYTE_SIZE) != SOFTBUS_OK) { in RetainOfflineCode()
|
H A D | lnn_distributed_net_ledger_manager.c | 62 if (memcpy_s(buf, len, info->offlineCode, OFFLINE_CODE_BYTE_SIZE) != EOK) { in DlGetDeviceOfflineCode()
|
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_session_json.c | 1767 if (SoftBusBase64Decode(info->offlineCode, OFFLINE_CODE_BYTE_SIZE, in UnpackWiFi() 1771 if (len != OFFLINE_CODE_BYTE_SIZE) { in UnpackWiFi()
|