Home
last modified time | relevance | path

Searched refs:WIFI_MAX_KEY_LEN (Results 1 - 11 of 11) sorted by relevance

/foundation/communication/wifi/wifi/test/wifi_standard/native/
H A Dwifi_c_hotspot_test.cpp112 memcpy_s(config.preSharedKey, WIFI_MAX_KEY_LEN, g_testDataLen60, WIFI_MAX_KEY_LEN-5); in HWTEST_F()
160 memcpy_s(config.preSharedKey, WIFI_MAX_KEY_LEN, g_testDataLen65, WIFI_MAX_KEY_LEN); in HWTEST_F()
176 memcpy_s(config.preSharedKey, WIFI_MAX_KEY_LEN, g_testDataLen60, 60); in HWTEST_F()
/foundation/communication/wifi/wifi/test/fuzztest/frameworks/native/c_adapter/wifichotspot_fuzzer/
H A Dwifichotspot_fuzzer.cpp32 if (memcpy_s(config.preSharedKey, WIFI_MAX_KEY_LEN, data, WIFI_MAX_KEY_LEN - 1) != EOK) { in SetHotspotConfigTest()
52 if (memcpy_s(result.preSharedKey, WIFI_MAX_KEY_LEN, data, WIFI_MAX_KEY_LEN - 1) != EOK) { in GetHotspotConfigTest()
/foundation/communication/wifi_lite/interfaces/wifiservice/
H A Dwifi_device_config.h66 #define WIFI_MAX_KEY_LEN 65 // 64 + \0 macro
164 /** Key. For its length, see {@link WIFI_MAX_KEY_LEN}. */
165 char preSharedKey[WIFI_MAX_KEY_LEN];
H A Dwifi_hotspot_config.h97 char preSharedKey[WIFI_MAX_KEY_LEN];
/foundation/communication/wifi/wifi/interfaces/kits/c/
H A Dwifi_device_config.h66 #define WIFI_MAX_KEY_LEN 65 // 64 + \0 macro
206 /** Key. For its length, see {@link WIFI_MAX_KEY_LEN}. */
207 char preSharedKey[WIFI_MAX_KEY_LEN];
H A Dwifi_hotspot_config.h97 char preSharedKey[WIFI_MAX_KEY_LEN];
/foundation/communication/wifi/wifi/test/fuzztest/frameworks/native/c_adapter/wificdevice_fuzzer/
H A Dwificdevice_fuzzer.cpp86 if (memcpy_s(config.preSharedKey, WIFI_MAX_KEY_LEN, data, WIFI_MAX_KEY_LEN - 1) != EOK) { in AddDeviceConfigTest()
168 if (memcpy_s(result.preSharedKey, WIFI_MAX_KEY_LEN, data + WIFI_MAX_SSID_LEN, WIFI_MAX_KEY_LEN - 1) != EOK) { in GetDeviceConfigsTest()
198 if (memcpy_s(config.preSharedKey, WIFI_MAX_KEY_LEN, data + WIFI_MAX_SSID_LEN, WIFI_MAX_KEY_LEN - 1) != EOK) { in ConnectToDeviceTest()
/foundation/communication/dsoftbus/adapter/common/net/wifi/include/
H A Dsoftbus_wifi_api_adapter.h27 #define WIFI_MAX_KEY_LEN 65 macro
48 char preSharedKey[WIFI_MAX_KEY_LEN];
/foundation/communication/wifi/wifi/frameworks/native/c_adapter/src/
H A Dwifi_c_hotspot.cpp101 if (strnlen(config->preSharedKey, WIFI_MAX_KEY_LEN) == WIFI_MAX_KEY_LEN) { in GetHotspotConfigFromC()
129 if (memcpy_s(result->preSharedKey, WIFI_MAX_KEY_LEN, in GetHotspotConfigFromCpp()
H A Dwifi_c_device.cpp174 if (strnlen(config->preSharedKey, WIFI_MAX_KEY_LEN) == WIFI_MAX_KEY_LEN) { in ConvertDeviceConfigFromC()
207 if (memcpy_s(result->preSharedKey, WIFI_MAX_KEY_LEN, deviceConfig.preSharedKey.c_str(), WIFI_MAX_KEY_LEN) != EOK) { in ConvertDeviceConfigFromCpp()
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/src/
H A Dlnn_sync_item_info_test.cpp224 EXPECT_EQ(EOK, strcpy_s(conWifiConf.preSharedKey, WIFI_MAX_KEY_LEN, TEST_PRE_SHARED_KEY)); in HWTEST_F()

Completed in 9 milliseconds