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.c320 os_free(hapd->wps->network_key); in hapd_wps_cred_cb()
321 hapd->wps->network_key = NULL; in hapd_wps_cred_cb()
324 if (hapd->wps->network_key == NULL || in hapd_wps_cred_cb()
327 os_free(hapd->wps->network_key); in hapd_wps_cred_cb()
328 hapd->wps->network_key = os_malloc(cred->key_len); in hapd_wps_cred_cb()
329 if (hapd->wps->network_key == NULL) in hapd_wps_cred_cb()
333 os_memcpy(hapd->wps->network_key, cred->key, cred->key_len); in hapd_wps_cred_cb()
888 wps->network_key = (u8 *) os_strdup(conf->ssid.wpa_passphrase); in hostapd_init_wps()
891 wps->network_key = os_malloc(2 * PMK_LEN + 1); in hostapd_init_wps()
892 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.c298 wps_process_cred_network_key(cred, attr->network_key, in wps_process_cred()
323 wps_process_cred_network_key(cred, attr->network_key, in wps_process_ap_settings()
Dwps_i.h185 const u8 *network_key; /* <= 64 octets */ member
Dwps_attr_parse.c492 attr->network_key = pos; in wps_set_attr()
Dwps.h671 u8 *network_key; member
Dwps_validate.c1044 wps_validate_network_key(attr.network_key, attr.network_key_len, in wps_validate_cred()
1743 wps_validate_network_key(attr.network_key, attr.network_key_len, in wps_validate_m7_encr()
Dwps_enrollee.c304 wpabuf_put_data(msg, wps->wps->network_key, wps->wps->network_key_len); in wps_build_cred_network_key()
Dwps_registrar.c1534 } else if (wps->wps->network_key) { in wps_build_cred()
1535 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.c247 os_free(data->wps_ctx->network_key); in eap_wsc_deinit()
248 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.c1231 os_free(wpa_s->wps->network_key); in wpas_wps_deinit()