/freebsd-11.0-release/contrib/wpa/src/eap_server/ |
H A D | eap_server_wsc.c | 21 int registrar; member in struct:eap_wsc_data 82 int registrar; local 88 registrar = 0; /* Supplicant is Registrar */ 92 registrar = 1; /* Supplicant is Enrollee */ 102 data->state = registrar ? START : MESG; 103 data->registrar = registrar; 107 cfg.registrar = registrar; 108 if (registrar) { [all...] |
/freebsd-11.0-release/contrib/wpa/src/wps/ |
H A D | wps.c | 41 data->registrar = cfg->registrar; 42 if (cfg->registrar) { 66 if (cfg->wps->ap && !cfg->registrar && cfg->wps->ap_nfc_dev_pw_id) { 101 data->state = data->registrar ? RECV_M1 : SEND_M1; 159 if (data->registrar && data->nfc_pw_token) 160 wps_registrar_remove_nfc_pw_token(data->wps->registrar, 167 if (data->registrar) 168 wps_registrar_invalidate_pin(data->wps->registrar, 170 } else if (data->registrar) [all...] |
H A D | wps_registrar.c | 1043 void wps_registrar_complete(struct wps_registrar *registrar, const u8 *uuid_e, argument 1046 if (registrar->pbc) { 1047 wps_registrar_remove_pbc_session(registrar, 1049 wps_registrar_pbc_completed(registrar); 1051 os_get_reltime(®istrar->pbc_ignore_start); 1053 os_memcpy(registrar->pbc_ignore_uuid, uuid_e, WPS_UUID_LEN); 1055 wps_registrar_pin_completed(registrar); 1059 wps_registrar_invalidate_wildcard_pin(registrar, dev_pw, 1387 pin = wps_registrar_get_pin(wps->wps->registrar, wps->uuid_e, 1400 "the Enrollee (context %p registrar [all...] |
H A D | wps_er.c | 861 wps_registrar_probe_req_rx(ap->er->wps->registrar, addr, msg, 0); 1045 cfg.registrar = 1; 1508 struct wps_registrar *reg = er->wps->registrar; 1569 if (wps_registrar_pbc_overlap(er->wps->registrar, NULL, NULL)) { 1598 res = wps_registrar_button_pushed(er->wps->registrar, NULL); 1801 cfg.registrar = 1; 1938 wps_registrar_add_pin(er->wps->registrar, NULL, uuid, pin, pin_len, 0); 1985 cfg.registrar = 1; 2031 wps_registrar_add_pin(er->wps->registrar, NULL, uuid, pin, pin_len, 0);
|
H A D | wps.h | 115 * registrar - Whether this end is a Registrar 117 int registrar; member in struct:wps_config 306 * set_sel_reg_cb - Callback for reporting selected registrar changes 601 * registrar - Pointer to WPS registrar data from wps_registrar_init() 603 struct wps_registrar *registrar; member in struct:wps_context 806 void wps_registrar_complete(struct wps_registrar *registrar, const u8 *uuid_e,
|
H A D | wps_i.h | 30 * registrar - Whether this end is a Registrar 32 int registrar; member in struct:wps_data 35 * er - Whether the local end is an external registrar
|
H A D | wps_enrollee.c | 317 if (wps->wps->registrar) { 318 wps_cb_new_psk(wps->wps->registrar, 403 if (wps->wps->ap && wps->wps->registrar) { 409 wps_device_store(wps->wps->registrar, &wps->peer_dev, 1372 wpa_printf(MSG_DEBUG, "WPS: Mismatch in registrar nonce"); 1419 wpa_printf(MSG_DEBUG, "WPS: Mismatch in registrar nonce");
|
H A D | wps_attr_build.c | 84 if (wps->registrar) {
|
H A D | wps_upnp.c | 547 upnp_er_remove_notification(iface->wps->registrar, s); 1102 iface->wps->registrar);
|
H A D | wps_common.c | 75 pubkey = wps->registrar ? wps->dh_pubkey_e : wps->dh_pubkey_r;
|
H A D | wps_upnp_web.c | 652 if (upnp_er_set_selected_registrar(iface->wps->registrar, s,
|
/freebsd-11.0-release/contrib/wpa/src/eap_peer/ |
H A D | eap_wsc.c | 21 int registrar; member in struct:eap_wsc_data 147 int registrar; local 167 registrar = 1; /* Supplicant is Registrar */ 170 registrar = 0; /* Supplicant is Enrollee */ 180 data->state = registrar ? MESG : WAIT_START; 181 data->registrar = registrar; 186 cfg.registrar = registrar; 276 if (registrar [all...] |
/freebsd-11.0-release/contrib/wpa/src/ap/ |
H A D | wps_hostapd.c | 221 wps_registrar_complete(hapd->wps->registrar, data->uuid_e, 646 wps_registrar_update_ie(hapd->wps->registrar); 673 wps_registrar_update_ie(hapd->wps->registrar); 1151 wps->registrar = wps_registrar_init(wps, &cfg); 1152 if (wps->registrar == NULL) { 1187 wps_registrar_deinit(wps->registrar); 1225 wps_registrar_deinit(hapd->wps->registrar); 1249 wps_registrar_update_ie(hapd->wps->registrar); 1272 ret = wps_registrar_add_pin(hapd->wps->registrar, data->addr, 1318 return wps_registrar_button_pushed(hapd->wps->registrar, [all...] |
/freebsd-11.0-release/contrib/wpa/wpa_supplicant/ |
H A D | p2p_supplicant.h | 172 int registrar); 233 const u8 *peer_addr, int registrar) 232 wpas_p2p_wps_success(struct wpa_supplicant *wpa_s, const u8 *peer_addr, int registrar) argument
|
H A D | wps_supplicant.c | 366 int registrar = 0; local 434 registrar = 1; 502 if (registrar) { 977 int registrar, const u8 *dev_addr, 990 wpa_config_set(ssid, "identity", registrar ? 1556 wps->registrar = wps_registrar_init(wps, &rcfg); 1557 if (wps->registrar == NULL) { 1604 wps_registrar_deinit(wpa_s->wps->registrar); 1909 return wps_registrar_add_pin(wpa_s->wps->registrar, addr, 2369 wpa_s->wps->registrar, att 976 wpas_wps_add_network(struct wpa_supplicant *wpa_s, int registrar, const u8 *dev_addr, const u8 *bssid) argument [all...] |
H A D | ap.c | 835 reg = wpa_s->ap_iface->bss[0]->wps->registrar; 1293 return wps_registrar_add_nfc_pw_token(hapd->wps->registrar, pubkey_hash,
|
H A D | p2p_supplicant.c | 6057 int registrar) 6056 wpas_p2p_wps_success(struct wpa_supplicant *wpa_s, const u8 *peer_addr, int registrar) argument
|
H A D | ctrl_iface.c | 6816 wps_registrar_flush(wpa_s->wps->registrar);
|