Home
last modified time | relevance | path

Searched refs:password_len (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/include/zephyr/net/
Dwifi_credentials.h72 size_t password_len; /**< Length of the password */ member
83 size_t password_len; /**< Length of the password */ member
113 size_t password_buf_len, size_t *password_len,
137 size_t password_len, uint32_t flags, uint8_t channel,
/Zephyr-latest/subsys/net/lib/wifi_credentials/
Dwifi_credentials.c194 size_t password_len, uint32_t flags, uint8_t channel, in wifi_credentials_set_personal() argument
213 if ((type != WIFI_SECURITY_TYPE_NONE && (password_len == 0 || password == NULL)) || in wifi_credentials_set_personal()
214 (password_len > WIFI_CREDENTIALS_MAX_PASSWORD_LEN)) { in wifi_credentials_set_personal()
244 memcpy(header_personal->password, password, password_len); in wifi_credentials_set_personal()
245 header_personal->password_len = password_len; in wifi_credentials_set_personal()
263 size_t password_buf_len, size_t *password_len, in wifi_credentials_get_by_ssid_personal() argument
315 memcpy(password_buf, header_personal->password, header_personal->password_len); in wifi_credentials_get_by_ssid_personal()
316 *password_len = header_personal->password_len; in wifi_credentials_get_by_ssid_personal()
Dwifi_credentials_shell.c50 ", password: \"%.*s\", password_len: %d", (int)creds.password_len, in print_network_info()
51 creds.password, creds.password_len); in print_network_info()
169 creds.password_len = strlen(argv[3]); in cmd_add_network()
170 if (creds.password_len < WIFI_PSK_MIN_LEN) { in cmd_add_network()
175 if ((creds.password_len > CONFIG_WIFI_CREDENTIALS_SAE_PASSWORD_LENGTH && in cmd_add_network()
177 (creds.password_len > WIFI_PSK_MAX_LEN && in cmd_add_network()
182 memcpy(creds.password, argv[3], creds.password_len); in cmd_add_network()
/Zephyr-latest/subsys/net/l2/wifi/
Dwifi_mgmt.c1337 if (creds->password_len > 0) { in __stored_creds_to_params()
1338 psk = (char *)k_malloc(creds->password_len + 1); in __stored_creds_to_params()
1345 memset(psk, 0, creds->password_len + 1); in __stored_creds_to_params()
1346 ret = snprintf(psk, creds->password_len + 1, "%s", creds->password); in __stored_creds_to_params()
1347 if (ret > creds->password_len) { in __stored_creds_to_params()
1354 params->psk_length = creds->password_len; in __stored_creds_to_params()
1477 .password_len = strlen(CONFIG_WIFI_CREDENTIALS_STATIC_PASSWORD), in add_static_network_config()
/Zephyr-latest/tests/net/lib/wifi_credentials_backend_psa/src/
Dmain.c62 .password_len = strlen(PSK1),
/Zephyr-latest/tests/net/lib/wifi_credentials_backend_settings/src/
Dmain.c59 .password_len = strlen(PSK1),
/Zephyr-latest/drivers/wifi/nxp/
Dnxp_wifi_drv.c517 nxp_wlan_uap_network.security.password_len = params->psk_length; in nxp_wifi_start_ap()
913 nxp_wlan_network.security.password_len = params->psk_length; in nxp_wifi_connect()
/Zephyr-latest/modules/hostap/src/
Dsupp_api.c711 user->password_len = os_strlen(password); in hostapd_process_eap_user()