Home
last modified time | relevance | path

Searched refs:network_key (Results 1 – 18 of 18) sorted by relevance

/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c292 os_free(hapd->wps->network_key); in hapd_wps_cred_cb()
293 hapd->wps->network_key = NULL; in hapd_wps_cred_cb()
296 if (hapd->wps->network_key == NULL || in hapd_wps_cred_cb()
299 os_free(hapd->wps->network_key); in hapd_wps_cred_cb()
300 hapd->wps->network_key = os_malloc(cred->key_len); in hapd_wps_cred_cb()
301 if (hapd->wps->network_key == NULL) in hapd_wps_cred_cb()
305 os_memcpy(hapd->wps->network_key, cred->key, cred->key_len); in hapd_wps_cred_cb()
812 wps->network_key = (u8 *) os_strdup(conf->ssid.wpa_passphrase); in hostapd_init_wps()
815 wps->network_key = os_malloc(2 * PMK_LEN + 1); in hostapd_init_wps()
816 if (wps->network_key == NULL) { in hostapd_init_wps()
[all …]
/external/wpa_supplicant_6/wpa_supplicant/src/wps/
Dwps_attr_process.c297 wps_process_cred_network_key(cred, attr->network_key, in wps_process_cred()
324 wps_process_cred_network_key(cred, attr->network_key, in wps_process_ap_settings()
Dwps.h439 u8 *network_key; member
Dwps_i.h164 const u8 *network_key; /* <= 64 octets */ member
Dwps_attr_parse.c373 attr->network_key = pos; in wps_set_attr()
Dwps_enrollee.c262 wpabuf_put_data(msg, wps->wps->network_key, wps->wps->network_key_len); in wps_build_cred_network_key()
Dwps_registrar.c1152 } else if (wps->wps->network_key) { in wps_build_cred()
1153 os_memcpy(wps->cred.key, wps->wps->network_key, in wps_build_cred()
/external/wpa_supplicant_8/src/wps/
Dwps_attr_process.c304 wps_process_cred_network_key(cred, attr->network_key, in wps_process_cred()
329 wps_process_cred_network_key(cred, attr->network_key, in wps_process_ap_settings()
Dwps_i.h191 const u8 *network_key; /* <= 64 octets */ member
Dwps_attr_parse.c498 attr->network_key = pos; in wps_set_attr()
Dwps.h670 u8 *network_key; member
Dwps_validate.c1050 wps_validate_network_key(attr.network_key, attr.network_key_len, in wps_validate_cred()
1749 wps_validate_network_key(attr.network_key, attr.network_key_len, in wps_validate_m7_encr()
Dwps_enrollee.c283 wpabuf_put_data(msg, wps->wps->network_key, wps->wps->network_key_len); in wps_build_cred_network_key()
Dwps_registrar.c1508 } else if (wps->wps->network_key) { in wps_build_cred()
1509 os_memcpy(wps->cred.key, wps->wps->network_key, in wps_build_cred()
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
Deap_wsc.c160 os_free(data->wps_ctx->network_key); in eap_wsc_deinit()
161 data->wps_ctx->network_key = NULL; in eap_wsc_deinit()
/external/wpa_supplicant_8/src/eap_peer/
Deap_wsc.c253 os_free(data->wps_ctx->network_key); in eap_wsc_deinit()
254 data->wps_ctx->network_key = NULL; in eap_wsc_deinit()
/external/wpa_supplicant_6/wpa_supplicant/
Dwps_supplicant.c735 os_free(wpa_s->wps->network_key); in wpas_wps_deinit()
/external/wpa_supplicant_8/wpa_supplicant/
Dwps_supplicant.c1192 os_free(wpa_s->wps->network_key); in wpas_wps_deinit()