Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c454 os_free(hapd->wps->network_key); in hapd_wps_cred_cb()
455 hapd->wps->network_key = NULL; in hapd_wps_cred_cb()
463 if (hapd->wps->network_key == NULL || in hapd_wps_cred_cb()
466 os_free(hapd->wps->network_key); in hapd_wps_cred_cb()
467 hapd->wps->network_key = os_malloc(cred->key_len); in hapd_wps_cred_cb()
468 if (hapd->wps->network_key == NULL) in hapd_wps_cred_cb()
472 os_memcpy(hapd->wps->network_key, cred->key, cred->key_len); in hapd_wps_cred_cb()
971 os_free(wps->network_key); in hostapd_free_wps()
1107 wps->network_key = (u8 *) os_strdup(conf->ssid.wpa_passphrase); in hostapd_init_wps()
1110 wps->network_key = os_malloc(2 * PMK_LEN + 1); in hostapd_init_wps()
[all …]
/external/wpa_supplicant_8/src/wps/
Dwps_attr_process.c247 wps_process_cred_network_key(cred, attr->network_key, in wps_process_cred()
266 wps_process_cred_network_key(cred, attr->network_key, in wps_process_ap_settings()
Dwps_module_tests.c292 if (!attr.network_key || !attr.ap_setup_locked) in wps_attr_parse_tests()
Dwps_attr_parse.h69 const u8 *network_key; /* <= 64 octets */ member
Dwps_attr_parse.c527 attr->network_key = pos; in wps_set_attr()
Dwps_validate.c1046 wps_validate_network_key(attr.network_key, attr.network_key_len, in wps_validate_cred()
1745 wps_validate_network_key(attr.network_key, attr.network_key_len, in wps_validate_m7_encr()
Dwps.h706 u8 *network_key; member
Dwps_enrollee.c329 wpabuf_put_data(msg, wps->wps->network_key, wps->wps->network_key_len); in wps_build_cred_network_key()
Dwps_registrar.c1693 wps->wps->network_key) { in wps_build_cred()
1694 os_memcpy(wps->cred.key, wps->wps->network_key, in wps_build_cred()
/external/wpa_supplicant_8/src/eap_peer/
Deap_wsc.c291 os_free(data->wps_ctx->network_key); in eap_wsc_deinit()
292 data->wps_ctx->network_key = NULL; in eap_wsc_deinit()
/external/wpa_supplicant_8/wpa_supplicant/
Dwps_supplicant.c1626 os_free(wpa_s->wps->network_key); in wpas_wps_deinit()