/hostap-latest/src/eap_server/ |
D | eap_server_methods.c | 26 enum eap_type method) in eap_server_get_eap_method() argument 30 if (m->vendor == vendor && m->method == method) in eap_server_get_eap_method() 52 return m->method; in eap_server_get_type() 73 enum eap_type method, in eap_server_method_alloc() argument 82 eap->method = method; in eap_server_method_alloc() 92 static void eap_server_method_free(struct eap_method *method) in eap_server_method_free() argument 94 os_free(method); in eap_server_method_free() 108 int eap_server_method_register(struct eap_method *method) in eap_server_method_register() argument 112 if (method == NULL || method->name == NULL || in eap_server_method_register() 113 method->version != EAP_SERVER_METHOD_INTERFACE_VERSION) { in eap_server_method_register() [all …]
|
D | eap_methods.h | 15 enum eap_type method); 17 enum eap_type method, 19 int eap_server_method_register(struct eap_method *method);
|
D | eap_sim_db.h | 49 enum eap_sim_db_method method); 52 enum eap_sim_db_method method);
|
/hostap-latest/src/eap_peer/ |
D | eap_methods.c | 21 static void eap_peer_method_free(struct eap_method *method); 31 enum eap_type method) in eap_peer_get_eap_method() argument 35 if (m->vendor == vendor && m->method == method) in eap_peer_get_eap_method() 57 return m->method; in eap_peer_get_type() 80 if (m->vendor == vendor && m->method == type) in eap_get_name() 234 int eap_peer_method_unload(struct eap_method *method) in eap_peer_method_unload() argument 242 if (m == method) in eap_peer_method_unload() 283 enum eap_type method, in eap_peer_method_alloc() argument 292 eap->method = method; in eap_peer_method_alloc() 302 static void eap_peer_method_free(struct eap_method *method) in eap_peer_method_free() argument [all …]
|
D | eap_methods.h | 15 enum eap_type method); 19 enum eap_type method, 21 int eap_peer_method_register(struct eap_method *method); 70 int eap_peer_method_unload(struct eap_method *method); 79 static inline int eap_peer_method_unload(struct eap_method *method) in eap_peer_method_unload() argument
|
D | eap.c | 41 enum eap_type method); 142 int vendor, u32 method) in eap_config_allowed_method() argument 152 m[i].method != EAP_TYPE_NONE; i++) { in eap_config_allowed_method() 153 if (m[i].vendor == vendor && m[i].method == method) in eap_config_allowed_method() 167 int eap_allowed_method(struct eap_sm *sm, int vendor, u32 method) in eap_allowed_method() argument 170 method); in eap_allowed_method() 331 enum eap_type method; in SM_STATE() local 337 method = sm->reqVendorMethod; in SM_STATE() 339 method = sm->reqMethod; in SM_STATE() 341 eap_method = eap_peer_get_eap_method(sm->reqVendor, method); in SM_STATE() [all …]
|
D | eap_ttls.c | 181 data->phase2_eap_type.method = EAP_TYPE_NONE; in eap_ttls_init() 351 int vendor, enum eap_type method) in eap_ttls_phase2_select_eap_method() argument 356 data->phase2_eap_types[i].method != method) in eap_ttls_phase2_select_eap_method() 361 data->phase2_eap_type.method = in eap_ttls_phase2_select_eap_method() 362 data->phase2_eap_types[i].method; in eap_ttls_phase2_select_eap_method() 366 data->phase2_eap_type.method); in eap_ttls_phase2_select_eap_method() 402 int vendor, enum eap_type method, in eap_ttls_phase2_request_eap_method() argument 408 vendor == EAP_VENDOR_IETF && method == EAP_TYPE_TNC && in eap_ttls_phase2_request_eap_method() 409 data->phase2_eap_type.method == EAP_TYPE_TNC) in eap_ttls_phase2_request_eap_method() 414 vendor == EAP_VENDOR_IETF && method == EAP_TYPE_TNC) { in eap_ttls_phase2_request_eap_method() [all …]
|
D | eap_fast.c | 171 data->phase2_type.method = EAP_TYPE_NONE; in eap_fast_init() 349 data->phase2_type.method); in eap_fast_init_phase2_method() 387 data->phase2_type.method = EAP_TYPE_TNC; in eap_fast_select_phase2_method() 391 data->phase2_type.method); in eap_fast_select_phase2_method() 398 data->phase2_types[i].method != type) in eap_fast_select_phase2_method() 402 data->phase2_type.method = data->phase2_types[i].method; in eap_fast_select_phase2_method() 406 data->phase2_type.method); in eap_fast_select_phase2_method() 411 type != data->phase2_type.method || in eap_fast_select_phase2_method() 431 enum eap_type method; in eap_fast_phase2_request() local 439 method = *pos; in eap_fast_phase2_request() [all …]
|
D | eap_peap.c | 172 data->phase2_type.method = EAP_TYPE_NONE; in eap_peap_init() 641 enum eap_type method; in eap_peap_phase2_request() local 706 method = *pos; in eap_peap_phase2_request() 708 if (method == EAP_TYPE_EXPANDED) { in eap_peap_phase2_request() 716 method = WPA_GET_BE32(pos + 4); in eap_peap_phase2_request() 720 data->phase2_type.method == EAP_TYPE_NONE) { in eap_peap_phase2_request() 724 data->phase2_types[i].method != method) in eap_peap_phase2_request() 729 data->phase2_type.method = in eap_peap_phase2_request() 730 data->phase2_types[i].method; in eap_peap_phase2_request() 734 data->phase2_type.method); in eap_peap_phase2_request() [all …]
|
D | eap_teap.c | 189 data->phase2_type.method = EAP_TYPE_NONE; in eap_teap_init() 318 data->phase2_type.method); in eap_teap_init_phase2_method() 356 data->phase2_type.method = EAP_TYPE_TNC; in eap_teap_select_phase2_method() 360 data->phase2_type.method); in eap_teap_select_phase2_method() 367 data->phase2_types[i].method != type) in eap_teap_select_phase2_method() 371 data->phase2_type.method = data->phase2_types[i].method; in eap_teap_select_phase2_method() 375 data->phase2_type.method); in eap_teap_select_phase2_method() 380 type != data->phase2_type.method || in eap_teap_select_phase2_method() 400 data->phase2_type.method = EAP_TYPE_NONE; in eap_teap_deinit_inner_eap() 416 enum eap_type method; in eap_teap_phase2_request() local [all …]
|
D | eap_i.h | 75 enum eap_type method; member 234 void (*free)(struct eap_method *method); 413 int eap_allowed_method(struct eap_sm *sm, int vendor, u32 method);
|
D | eap_tls_common.c | 1111 u32 method; in eap_peer_select_phase2_methods() local 1141 method = eap_get_phase2_type(start, &vendor); in eap_peer_select_phase2_methods() 1142 if (vendor == EAP_VENDOR_IETF && method == EAP_TYPE_NONE) { in eap_peer_select_phase2_methods() 1159 methods[num_methods - 1].method = method; in eap_peer_select_phase2_methods() 1211 types[i].method < 256) in eap_peer_tls_phase2_nak() 1212 wpabuf_put_u8(*resp, types[i].method); in eap_peer_tls_phase2_nak()
|
/hostap-latest/doc/ |
D | eap_server.doxygen | 23 Each EAP method is implemented as a separate module, usually as one C 24 file named eap_server_<name of the method>.c, e.g., \ref eap_server_md5.c. All EAP 26 method specific functions. This allows new EAP methods to be added 30 (Makefile) and the EAP method registration list in the 32 method should use a build-time configuration option, e.g., EAP_TLS, in 37 \ref eap_method defines the needed function pointers that each EAP method 48 When adding an EAP method that uses a vendor specific EAP type 49 (Expanded Type as defined in RFC 3748, Chapter 5.7), the new method 52 expanded types by registering a legacy EAP method for type 254. See 53 \ref eap_server_vendor_test.c for an example of an EAP method implementation that
|
D | eap.doxygen | 23 Each EAP method is implemented as a separate module, usually as one C 24 file named eap_<name of the method>.c, e.g., \ref eap_md5.c. All EAP 26 method specific functions. This allows new EAP methods to be added 30 (Makefile) and the EAP method registration list in the 32 method should use a build-time configuration option, e.g., EAP_TLS, in 37 \ref eap_method defines the needed function pointers that each EAP method 48 When adding an EAP method that uses a vendor specific EAP type 49 (Expanded Type as defined in RFC 3748, Chapter 5.7), the new method 52 expanded types by registering a legacy EAP method for type 254. See 53 \ref eap_vendor_test.c for an example of an EAP method implementation that
|
/hostap-latest/tests/fuzzing/eap-sim-peer/ |
D | eap-sim-peer.c | 23 enum eap_type method, in eap_peer_method_alloc() argument 32 eap->method = method; in eap_peer_method_alloc() 38 int eap_peer_method_register(struct eap_method *method) in eap_peer_method_register() argument 40 registered_eap_method = method; in eap_peer_method_register()
|
/hostap-latest/tests/fuzzing/eap-aka-peer/ |
D | eap-aka-peer.c | 23 enum eap_type method, in eap_peer_method_alloc() argument 32 eap->method = method; in eap_peer_method_alloc() 38 int eap_peer_method_register(struct eap_method *method) in eap_peer_method_register() argument 40 registered_eap_method = method; in eap_peer_method_register()
|
/hostap-latest/tests/fuzzing/eap-mschapv2-peer/ |
D | eap-mschapv2-peer.c | 23 enum eap_type method, in eap_peer_method_alloc() argument 32 eap->method = method; in eap_peer_method_alloc() 38 int eap_peer_method_register(struct eap_method *method) in eap_peer_method_register() argument 40 registered_eap_method = method; in eap_peer_method_register()
|
/hostap-latest/wpa_supplicant/dbus/ |
D | dbus_new_helpers.c | 239 const char *method; in properties_get_or_set() local 241 method = dbus_message_get_member(message); in properties_get_or_set() 271 if (os_strncmp(WPA_DBUS_PROPERTIES_GET, method, in properties_get_or_set() 288 const char *method; in properties_handler() local 290 method = dbus_message_get_member(message); in properties_handler() 293 if (!os_strncmp(WPA_DBUS_PROPERTIES_GET, method, in properties_handler() 295 !os_strncmp(WPA_DBUS_PROPERTIES_SET, method, in properties_handler() 297 !os_strncmp(WPA_DBUS_PROPERTIES_GETALL, method, in properties_handler() 308 if (!os_strncmp(WPA_DBUS_PROPERTIES_GETALL, method, in properties_handler() 326 const char *method; in msg_method_handler() local [all …]
|
/hostap-latest/hs20/server/www/ |
D | est.php | 8 $method = $_SERVER["REQUEST_METHOD"]; variable 66 $A2 = md5($method . ':' . $data['uri']); 99 if ($method == "GET" && $cmd == "cacerts") { 113 } else if ($method == "GET" && $cmd == "csrattrs") { 118 } else if ($method == "POST" &&
|
/hostap-latest/src/p2p/ |
D | p2p_pd.c | 116 prov->method = config_methods; in p2ps_add_pd_req_attrs() 418 u32 session_id, u16 method, in p2ps_setup_p2ps_prov() argument 434 tmp->method = method; in p2ps_setup_p2ps_prov() 588 u16 method; in p2p_process_prov_disc_req() local 907 method = p2p->p2ps_prov->method; in p2p_process_prov_disc_req() 928 if (method & WPS_CONFIG_DISPLAY) in p2p_process_prov_disc_req() 929 method = WPS_CONFIG_KEYPAD; in p2p_process_prov_disc_req() 930 else if (method & WPS_CONFIG_KEYPAD) in p2p_process_prov_disc_req() 931 method = WPS_CONFIG_DISPLAY; in p2p_process_prov_disc_req() 933 if (!conncap || !(msg.wps_config_methods & method)) { in p2p_process_prov_disc_req() [all …]
|
/hostap-latest/wpa_supplicant/ |
D | README-NAN-USD | 47 This command maps to the Publish() method in the NAN Discovery Engine. 51 This command maps to the CancelPublish() method in the NAN Discovery 56 This command maps to the UpdatePublish() method in the NAN Discovery 72 This command maps to the Subscribe() method in the NAN Discovery Engine. 76 This command maps to the CancelSubscribe() method in the NAN Discovery Engine. 80 This command maps to the Transmit() method in the NAN Discovery Engine.
|
D | interworking.c | 336 u8 method; member 382 e->method = *pos++; in nai_realm_parse_eap() 385 elen, e->method, auth_count); in nai_realm_parse_eap() 409 if (e->method != EAP_TYPE_TTLS) in nai_realm_parse_eap() 610 if (eap_get_name(EAP_VENDOR_IETF, eap->method) == NULL) { in nai_realm_cred_username() 613 eap->method); in nai_realm_cred_username() 617 if (eap->method != EAP_TYPE_TTLS && eap->method != EAP_TYPE_PEAP && in nai_realm_cred_username() 618 eap->method != EAP_TYPE_FAST) { in nai_realm_cred_username() 622 eap->method); in nai_realm_cred_username() 626 if (eap->method == EAP_TYPE_PEAP || eap->method == EAP_TYPE_FAST) { in nai_realm_cred_username() [all …]
|
/hostap-latest/hostapd/ |
D | hostapd.eap_user | 3 # Each line must contain an identity, EAP method(s), and an optional password 32 # main purpose for this is to be able to avoid EAP method negotiation when the 33 # method is using known prefix in identities (e.g., EAP-SIM and EAP-AKA). This 37 # one until the peer accepts one. The method names are separated with a 46 # Tunneled EAP methods are configured with standard EAP method name and [2] 47 # flag. Non-EAP methods can be enabled by following method names: TTLS-PAP,
|
/hostap-latest/src/ap/ |
D | eap_user_db.c | 39 user->methods[num_methods].method = in set_user_methods() 43 user->methods[num_methods].method == EAP_TYPE_NONE) { in set_user_methods() 243 wsc_enrollee.methods[0].method = eap_server_get_type( in hostapd_get_eap_user() 252 wsc_registrar.methods[0].method = eap_server_get_type( in hostapd_get_eap_user()
|
/hostap-latest/tests/hwsim/ |
D | test_p2ps.py | 139 def p2ps_provision(seeker, advertiser, adv_id, auto_accept=True, method="1000", argument 146 session_mac=addr0, method=method, cpt=seeker_cpt, 149 if not auto_accept or method == "100": 170 if method == "100": 184 elif method == "8": 211 if method == "8": 233 if method == "8": 498 ev1, ev0, pin = p2ps_provision(dev[1], dev[0], adv_id, auto_accept=False, method="8") 515 ev1, ev0, pin = p2ps_provision(dev[1], dev[0], adv_id, auto_accept=False, method="100") 532 ev1, ev0, pin = p2ps_provision(dev[1], dev[0], adv_id, method="8") [all …]
|