/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_ptk_info_virtual.c | 44 int32_t LnnGetLocalPtkByUdid(const char *udid, char *localPtk, uint32_t len) in LnnGetLocalPtkByUdid() argument 47 (void)localPtk; in LnnGetLocalPtkByUdid() 52 int32_t LnnGetLocalPtkByUuid(const char *uuid, char *localPtk, uint32_t len) in LnnGetLocalPtkByUuid() argument 55 (void)localPtk; in LnnGetLocalPtkByUuid() 60 int32_t LnnGetLocalDefaultPtkByUuid(const char *uuid, char *localPtk, uint32_t len) in LnnGetLocalDefaultPtkByUuid() argument 63 (void)localPtk; in LnnGetLocalDefaultPtkByUuid()
|
/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/include/ |
H A D | lnn_p2p_info.h | 63 int32_t LnnGetLocalPtkByUdid(const char *udid, char *localPtk, uint32_t len); 64 int32_t LnnGetLocalPtkByUuid(const char *uuid, char *localPtk, uint32_t len); 65 int32_t LnnGetLocalDefaultPtkByUuid(const char *uuid, char *localPtk, uint32_t len);
|
/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/ |
H A D | wifi_direct_mock.cpp | 161 int32_t LnnGetLocalPtkByUuid(const char *uuid, char *localPtk, uint32_t len) in LnnGetLocalPtkByUuid() argument 163 return OHOS::SoftBus::WifiDirectInterfaceMock::GetMock()->LnnGetLocalPtkByUuid(uuid, localPtk, len); in LnnGetLocalPtkByUuid() 166 int32_t LnnGetLocalDefaultPtkByUuid(const char *uuid, char *localPtk, uint32_t len) in LnnGetLocalDefaultPtkByUuid() argument 168 return OHOS::SoftBus::WifiDirectInterfaceMock::GetMock()->LnnGetLocalDefaultPtkByUuid(uuid, localPtk, len); in LnnGetLocalDefaultPtkByUuid()
|
H A D | wifi_direct_mock.h | 72 virtual int32_t LnnGetLocalPtkByUuid(const char *uuid, char *localPtk, uint32_t len) = 0; 73 virtual int32_t LnnGetLocalDefaultPtkByUuid(const char *uuid, char *localPtk, uint32_t len) = 0; 157 MOCK_METHOD3(LnnGetLocalPtkByUuid, int32_t (const char *uuid, char *localPtk, uint32_t len)); 158 MOCK_METHOD3(LnnGetLocalDefaultPtkByUuid, int32_t (const char *uuid, char *localPtk, uint32_t len));
|
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/src/ |
H A D | lnn_net_ledger.c | 769 char localPtk[PTK_DEFAULT_LEN] = {0}; in SoftbusDumpPrintLocalPtk() local 770 if (LnnGetLocalPtkByUuid(peerUuid, localPtk, PTK_DEFAULT_LEN) != SOFTBUS_OK) { in SoftbusDumpPrintLocalPtk() 776 (unsigned char *)localPtk, PTK_DEFAULT_LEN) != SOFTBUS_OK) { in SoftbusDumpPrintLocalPtk() 777 LNN_LOGE(LNN_LEDGER, "convert localPtk to string fail."); in SoftbusDumpPrintLocalPtk() 778 (void)memset_s(localPtk, PTK_DEFAULT_LEN, 0, PTK_DEFAULT_LEN); in SoftbusDumpPrintLocalPtk() 785 (void)memset_s(localPtk, PTK_DEFAULT_LEN, 0, PTK_DEFAULT_LEN); in SoftbusDumpPrintLocalPtk()
|
/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/utils/ |
H A D | wifi_direct_utils_test.cpp | 164 .WillOnce([&ptkBytes](const std::string &uuid, char *localPtk, uint32_t len) { in HWTEST_F() 165 (void)strcpy_s(localPtk, len, ptkBytes); in HWTEST_F()
|
/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_session_json.c | 1193 char localPtk[PTK_DEFAULT_LEN] = {0}; in PackWifiDirectInfo() local 1197 if (LnnGetMetaPtk(connId, localPtk, PTK_DEFAULT_LEN) != SOFTBUS_OK) { in PackWifiDirectInfo() 1202 if (LnnGetLocalPtkByUuid(remoteUuid, localPtk, PTK_DEFAULT_LEN) != SOFTBUS_OK) { in PackWifiDirectInfo() 1207 LnnDumpRemotePtk(NULL, localPtk, "pack wifi direct info"); in PackWifiDirectInfo() 1209 if (SoftBusBase64Encode(encodePtk, PTK_ENCODE_LEN, &keyLen, (unsigned char *)localPtk, in PackWifiDirectInfo() 1212 (void)memset_s(localPtk, PTK_DEFAULT_LEN, 0, PTK_DEFAULT_LEN); in PackWifiDirectInfo() 1215 (void)memset_s(localPtk, PTK_DEFAULT_LEN, 0, PTK_DEFAULT_LEN); in PackWifiDirectInfo()
|