Home
last modified time | relevance | path

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 Dlnn_node_info.h33 #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 Dauth_test_mock.cpp145 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 Dlnn_local_net_ledger.c151 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 Dlnn_distributed_net_ledger.c238 if (memcpy_s(newInfo->offlineCode, OFFLINE_CODE_BYTE_SIZE, in RetainOfflineCode()
239 oldInfo->offlineCode, OFFLINE_CODE_BYTE_SIZE) != SOFTBUS_OK) { in RetainOfflineCode()
H A Dlnn_distributed_net_ledger_manager.c62 if (memcpy_s(buf, len, info->offlineCode, OFFLINE_CODE_BYTE_SIZE) != EOK) { in DlGetDeviceOfflineCode()
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_session_json.c1767 if (SoftBusBase64Decode(info->offlineCode, OFFLINE_CODE_BYTE_SIZE, in UnpackWiFi()
1771 if (len != OFFLINE_CODE_BYTE_SIZE) { in UnpackWiFi()