/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_ptk_info_virtual.c | 68 int32_t LnnGetRemoteDefaultPtkByUuid(const char *uuid, char *remotePtk, uint32_t len) in LnnGetRemoteDefaultPtkByUuid() argument 71 (void)remotePtk; in LnnGetRemoteDefaultPtkByUuid()
|
H A D | lnn_data_cloud_sync.c | 779 *cacheInfo->rpaInfo.publicAddress, *cacheInfo->remotePtk, anonyDeviceVersion); in PrintSyncNodeInfo() 870 if (memcpy_s(oldInfo->remotePtk, PTK_DEFAULT_LEN, newInfo->remotePtk, PTK_DEFAULT_LEN) != EOK) { in LnnUpdateOldCacheInfo()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/src/ |
H A D | lnn_node_info.c | 569 int32_t LnnSetPtk(NodeInfo *info, const char *remotePtk) in LnnSetPtk() argument 571 if (info == NULL || remotePtk == NULL) { in LnnSetPtk() 575 if (memcpy_s(info->remotePtk, PTK_DEFAULT_LEN, remotePtk, PTK_DEFAULT_LEN) != EOK) { in LnnSetPtk()
|
H A D | lnn_net_ledger.c | 694 char remotePtk[PTK_DEFAULT_LEN] = {0}; in SoftbusDumpPrintRemotePtk() local 696 (uint8_t *)&remotePtk, PTK_DEFAULT_LEN) != SOFTBUS_OK) { in SoftbusDumpPrintRemotePtk() 702 (unsigned char *)remotePtk, PTK_DEFAULT_LEN) != SOFTBUS_OK) { in SoftbusDumpPrintRemotePtk()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/authentication/unittest/ |
H A D | auth_net_ledger_mock.cpp | 184 bool LnnSetDlPtk(const char *networkId, const char *remotePtk) in LnnSetDlPtk() argument 186 return GetNetLedgerInterface()->LnnSetDlPtk(networkId, remotePtk); in LnnSetDlPtk()
|
H A D | auth_net_ledger_mock.h | 66 virtual bool LnnSetDlPtk(const char *networkId, const char *remotePtk) = 0;
|
H A D | auth_session_message_test.cpp | 448 ASSERT_TRUE(memcpy_s(info.remotePtk, PTK_DEFAULT_LEN, REMOTE_PTK, strlen(REMOTE_PTK)) == EOK);
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/src/ |
H A D | lnn_distributed_net_ledger_manager.c | 221 if (memcpy_s(buf, len, info->remotePtk, PTK_DEFAULT_LEN) != EOK) { in DlGetRemotePtk() 1082 bool LnnSetDlPtk(const char *networkId, const char *remotePtk) in LnnSetDlPtk() argument 1085 if (networkId == NULL || remotePtk == NULL) { in LnnSetDlPtk() 1099 LnnDumpRemotePtk(node->remotePtk, remotePtk, "set remote ptk"); in LnnSetDlPtk() 1100 if (LnnSetPtk(node, remotePtk) != SOFTBUS_OK) { in LnnSetDlPtk() 1119 if (memcmp(cacheInfo.remotePtk, remotePtk, PTK_DEFAULT_LEN) == 0) { in LnnSetDlPtk() 1123 if (memcpy_s(cacheInfo.remotePtk, PTK_DEFAULT_LEN, remotePtk, PTK_DEFAULT_LEN) != EOK) { in LnnSetDlPtk()
|
H A D | lnn_distributed_net_ledger.c | 733 LnnDumpRemotePtk(oldInfo->remotePtk, newInfo->remotePtk, "update node info"); in LnnUpdateNodeInfo() 734 if (memcpy_s(oldInfo->remotePtk, PTK_DEFAULT_LEN, newInfo->remotePtk, PTK_DEFAULT_LEN) != EOK) { in LnnUpdateNodeInfo() 967 LnnDumpRemotePtk(deviceInfo->remotePtk, info->remotePtk, "get and save remote device info"); in GetAndSaveRemoteDeviceInfo() 968 if (memcpy_s(deviceInfo->remotePtk, PTK_DEFAULT_LEN, info->remotePtk, PTK_DEFAULT_LEN) != EOK) { in GetAndSaveRemoteDeviceInfo()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/include/ |
H A D | lnn_data_cloud_sync.h | 58 char remotePtk[PTK_DEFAULT_LEN]; member
|
H A D | lnn_p2p_info.h | 66 int32_t LnnGetRemoteDefaultPtkByUuid(const char *uuid, char *remotePtk, uint32_t len);
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/include/ |
H A D | lnn_node_info.h | 185 char remotePtk[PTK_DEFAULT_LEN]; member 252 int32_t LnnSetPtk(NodeInfo *info, const char *remotePtk);
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/ |
H A D | wifi_direct_mock.h | 74 … virtual int32_t LnnGetRemoteDefaultPtkByUuid(const char *uuid, char *remotePtk, uint32_t len) = 0; 156 …MOCK_METHOD3(LnnGetRemoteDefaultPtkByUuid, int32_t (const char *uuid, char *remotePtk, uint32_t le…
|
H A D | wifi_direct_mock.cpp | 162 int32_t LnnGetRemoteDefaultPtkByUuid(const char *uuid, char *remotePtk, uint32_t len) in LnnGetRemoteDefaultPtkByUuid() argument 164 …S::SoftBus::WifiDirectInterfaceMock::GetMock()->LnnGetRemoteDefaultPtkByUuid(uuid, remotePtk, len); in LnnGetRemoteDefaultPtkByUuid()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/include/ |
H A D | lnn_distributed_net_ledger.h | 97 bool LnnSetDlPtk(const char *networkId, const char *remotePtk);
|
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_session_json.c | 1469 static void UnpackPtk(char *remotePtk, char *decodePtk) in UnpackPtk() argument 1472 if (SoftBusBase64Decode((unsigned char *)remotePtk, PTK_DEFAULT_LEN, &len, in UnpackPtk() 1477 LnnDumpRemotePtk(NULL, remotePtk, "unpack wifi direct info"); in UnpackPtk() 1510 UnpackPtk(info->remotePtk, encodePtk); in UnpackWifiDirectInfo()
|
H A D | auth_manager.c | 972 if (!LnnSetDlPtk(info->nodeInfo.networkId, info->nodeInfo.remotePtk)) { in AuthManagerSetAuthPassed()
|