Searched defs:method (Results 1 - 25 of 745) sorted by last modified time

1234567891011>>

/external/wpa_supplicant_8/hostapd/src/ap/
H A Dap_config.h145 u32 method; member in struct:hostapd_eap_user::__anon17123
/external/wpa_supplicant_8/hostapd/src/eap_peer/
H A Deap.c12 * functions in this file. The method functions, m.func(), are similar to the
40 EapType method);
113 wpa_printf(MSG_DEBUG, "EAP: deinitialize previously used EAP method "
122 * eap_allowed_method - Check whether EAP method is allowed
125 * @method: EAP type
126 * Returns: 1 = allowed EAP method, 0 = not allowed
128 int eap_allowed_method(struct eap_sm *sm, int vendor, u32 method) argument
139 m[i].method != EAP_TYPE_NONE; i++) {
140 if (m[i].vendor == vendor && m[i].method == method)
251 EapType method; local
1102 eap_sm_allowMethod(struct eap_sm *sm, int vendor, EapType method) argument
1311 enum { EAP_SM_SIM, EAP_SM_AKA, EAP_SM_AKA_PRIME } method = EAP_SM_SIM; local
2426 u32 method; local
[all...]
H A Deap.h22 u32 method; member in struct:eap_method_type
209 * An EAP method can perform a pending operation (e.g., to get a
244 * @parameter: Step-specific parameter, e.g., EAP method name
H A Deap_i.h37 * ignore - Whether method decided to drop the current packed (OUT)
52 * allowNotifications - Whether method allows notifications (OUT)
59 * struct eap_method - EAP method interface
60 * This structure defines the EAP method interface. Each method will need to
61 * register its own EAP type, EAP name, and set of function pointers for method
71 * method - EAP type number (EAP_TYPE_*)
73 EapType method; member in struct:eap_method
76 * name - Name of the method (e.g., "TLS")
81 * init - Initialize an EAP method
[all...]
H A Deap_methods.c23 * eap_peer_get_eap_method - Get EAP method based on type number
25 * @method: EAP type number
26 * Returns: Pointer to EAP method or %NULL if not found
28 const struct eap_method * eap_peer_get_eap_method(int vendor, EapType method) argument
32 if (m->vendor == vendor && m->method == method)
40 * eap_peer_get_type - Get EAP type for the given EAP method name
41 * @name: EAP method name, e.g., TLS
43 * Returns: EAP method type or %EAP_TYPE_NONE if not found
54 return m->method;
231 eap_peer_method_unload(struct eap_method *method) argument
279 eap_peer_method_alloc(int version, int vendor, EapType method, const char *name) argument
298 eap_peer_method_free(struct eap_method *method) argument
313 eap_peer_method_register(struct eap_method *method) argument
[all...]
H A Deap_methods.h14 const struct eap_method * eap_peer_get_eap_method(int vendor, EapType method);
18 EapType method, const char *name);
19 void eap_peer_method_free(struct eap_method *method);
20 int eap_peer_method_register(struct eap_method *method);
69 int eap_peer_method_unload(struct eap_method *method);
78 static inline int eap_peer_method_unload(struct eap_method *method) argument
85 /* EAP peer method registration calls for statically linked in methods */
H A Deap_tls_common.c234 * @eap_type: EAP method used in Phase 1 (EAP_TYPE_TLS/PEAP/TTLS/FAST)
333 * @eap_type: EAP method used in Phase 1 (EAP_TYPE_TLS/PEAP/TTLS/FAST)
338 * (client/server random and method type).
629 * tls_connection_established() returns 1, EAP method specific decrypting of
791 * for continuation of EAP method processing. The caller is responsible for
977 * eap_peer_select_phase2_methods - Select phase 2 EAP method
984 * This function is used to parse EAP method list and select allowed methods
994 u32 method; local
1020 method = eap_get_phase2_type(start, &vendor);
1021 if (vendor == EAP_VENDOR_IETF && method
[all...]
H A Deap_ttls.c2 * EAP peer method: EAP-TTLS (RFC 5281)
112 data->phase2_eap_type.method = EAP_TYPE_NONE;
264 u8 method)
269 data->phase2_eap_types[i].method != method)
274 data->phase2_eap_type.method =
275 data->phase2_eap_types[i].method;
277 "Phase 2 EAP vendor %d method %d",
279 data->phase2_eap_type.method);
315 u8 method, struc
263 eap_ttls_phase2_select_eap_method(struct eap_ttls_data *data, u8 method) argument
311 eap_ttls_phase2_request_eap_method(struct eap_sm *sm, struct eap_ttls_data *data, struct eap_method_ret *ret, struct eap_hdr *hdr, size_t len, u8 method, struct wpabuf **resp) argument
[all...]
H A Dikev2.c522 u8 method, const u8 *auth, size_t auth_len)
524 if (method != AUTH_RSA_SIGN) {
526 "method %d", method);
536 u8 method, const u8 *auth,
542 if (method != AUTH_SHARED_KEY_MIC) {
544 "method %d", method);
521 ikev2_process_auth_cert(struct ikev2_responder_data *data, u8 method, const u8 *auth, size_t auth_len) argument
535 ikev2_process_auth_secret(struct ikev2_responder_data *data, u8 method, const u8 *auth, size_t auth_len) argument
/external/wpa_supplicant_8/hostapd/src/eap_server/
H A Deap.h28 u32 method; member in struct:eap_user::__anon17260
H A Deap_i.h19 * struct eap_method - EAP method interface
20 * This structure defines the EAP method interface. Each method will need to
21 * register its own EAP type, EAP name, and set of function pointers for method
26 EapType method; member in struct:eap_method
46 * free - Free EAP method data
47 * @method: Pointer to the method data registered with
50 * This function will be called when the EAP method is being
51 * unregistered. If the EAP method allocate
[all...]
H A Deap_server.c45 static Boolean eap_sm_Policy_doPickUp(struct eap_sm *sm, EapType method);
229 * Need to allow internal Identity method to be used instead
250 * This is not defined in RFC 4137, but method state needs to be
293 "initialize EAP method %d",
305 "method=%u", sm->currentMethod);
393 wpa_printf(MSG_DEBUG, "EAP: method not initialized");
561 "method %d", sm->currentMethod);
568 wpa_printf(MSG_DEBUG, "EAP: Could not find suitable EAP method");
569 eap_log_msg(sm, "Could not find suitable EAP method");
580 "vendor=%u method
1757 eap_sm_Policy_doPickUp(struct eap_sm *sm, EapType method) argument
[all...]
H A Deap_server_methods.c2 * EAP server method registration
20 * eap_server_get_eap_method - Get EAP method based on type number
22 * @method: EAP type number
23 * Returns: Pointer to EAP method or %NULL if not found
25 const struct eap_method * eap_server_get_eap_method(int vendor, EapType method) argument
29 if (m->vendor == vendor && m->method == method)
37 * eap_server_get_type - Get EAP type for the given EAP method name
38 * @name: EAP method name, e.g., TLS
40 * Returns: EAP method typ
71 eap_server_method_alloc(int version, int vendor, EapType method, const char *name) argument
90 eap_server_method_free(struct eap_method *method) argument
105 eap_server_method_register(struct eap_method *method) argument
[all...]
H A Deap_sim_db.c977 * @method: EAP method (SIM/AKA/AKA')
986 enum eap_sim_db_method method)
990 switch (method) {
1009 * @method: EAP method (SIM/AKA/AKA')
1019 enum eap_sim_db_method method)
1023 switch (method) {
985 eap_sim_db_get_next_pseudonym(struct eap_sim_db_data *data, enum eap_sim_db_method method) argument
1018 eap_sim_db_get_next_reauth_id(struct eap_sim_db_data *data, enum eap_sim_db_method method) argument
H A Dikev2.c590 u8 method, const u8 *auth, size_t auth_len)
592 if (method != AUTH_RSA_SIGN) {
594 "method %d", method);
604 u8 method, const u8 *auth,
610 if (method != AUTH_SHARED_KEY_MIC) {
612 "method %d", method);
589 ikev2_process_auth_cert(struct ikev2_initiator_data *data, u8 method, const u8 *auth, size_t auth_len) argument
603 ikev2_process_auth_secret(struct ikev2_initiator_data *data, u8 method, const u8 *auth, size_t auth_len) argument
/external/wpa_supplicant_8/hostapd/src/p2p/
H A Dp2p.c4082 const char * p2p_wps_method_text(enum p2p_wps_method method) argument
4084 switch (method) {
H A Dp2p.h132 * wps_method - WPS method to be used during provisioning
174 * method - WPS Method (to be) used to establish session
176 u16 method; member in struct:p2ps_provision
1198 * @wps_method: WPS method to be used in provisioning
1226 * @wps_method: WPS method to be used in provisioning
1423 * Returns: WPS provisioning information (WPS config method) or 0 if no
2142 const char * p2p_wps_method_text(enum p2p_wps_method method);
H A Dp2p_pd.c99 prov->method = config_methods;
378 u32 session_id, u16 method,
394 tmp->method = method;
616 u16 method = p2p->p2ps_prov->method; local
629 * our method is consistent with original
632 if (method & WPS_CONFIG_DISPLAY)
633 method = WPS_CONFIG_KEYPAD;
634 else if (method
377 p2ps_setup_p2ps_prov(struct p2p_data *p2p, u32 adv_id, u32 session_id, u16 method, const u8 *session_mac, const u8 *adv_mac) argument
[all...]
/external/wpa_supplicant_8/hs20/server/www/
H A Dest.php8 $method = $_SERVER["REQUEST_METHOD"]; variable
66 $A2 = md5($method . ':' . $data['uri']);
76 if ($method == "GET" && $cmd == "cacerts") {
90 } else if ($method == "GET" && $cmd == "csrattrs") {
95 } else if ($method == "POST" && $cmd == "simpleenroll") {
194 error_log("EST: Unexpected method or path");
195 die("Unexpected method or path");
/external/wpa_supplicant_8/src/ap/
H A Dap_config.h145 u32 method; member in struct:hostapd_eap_user::__anon17368
/external/wpa_supplicant_8/src/eap_peer/
H A Deap.c12 * functions in this file. The method functions, m.func(), are similar to the
40 EapType method);
113 wpa_printf(MSG_DEBUG, "EAP: deinitialize previously used EAP method "
122 * eap_allowed_method - Check whether EAP method is allowed
125 * @method: EAP type
126 * Returns: 1 = allowed EAP method, 0 = not allowed
128 int eap_allowed_method(struct eap_sm *sm, int vendor, u32 method) argument
139 m[i].method != EAP_TYPE_NONE; i++) {
140 if (m[i].vendor == vendor && m[i].method == method)
251 EapType method; local
1102 eap_sm_allowMethod(struct eap_sm *sm, int vendor, EapType method) argument
1311 enum { EAP_SM_SIM, EAP_SM_AKA, EAP_SM_AKA_PRIME } method = EAP_SM_SIM; local
2426 u32 method; local
[all...]
H A Deap.h22 u32 method; member in struct:eap_method_type
209 * An EAP method can perform a pending operation (e.g., to get a
244 * @parameter: Step-specific parameter, e.g., EAP method name
H A Deap_i.h37 * ignore - Whether method decided to drop the current packed (OUT)
52 * allowNotifications - Whether method allows notifications (OUT)
59 * struct eap_method - EAP method interface
60 * This structure defines the EAP method interface. Each method will need to
61 * register its own EAP type, EAP name, and set of function pointers for method
71 * method - EAP type number (EAP_TYPE_*)
73 EapType method; member in struct:eap_method
76 * name - Name of the method (e.g., "TLS")
81 * init - Initialize an EAP method
[all...]
H A Deap_methods.c23 * eap_peer_get_eap_method - Get EAP method based on type number
25 * @method: EAP type number
26 * Returns: Pointer to EAP method or %NULL if not found
28 const struct eap_method * eap_peer_get_eap_method(int vendor, EapType method) argument
32 if (m->vendor == vendor && m->method == method)
40 * eap_peer_get_type - Get EAP type for the given EAP method name
41 * @name: EAP method name, e.g., TLS
43 * Returns: EAP method type or %EAP_TYPE_NONE if not found
54 return m->method;
231 eap_peer_method_unload(struct eap_method *method) argument
279 eap_peer_method_alloc(int version, int vendor, EapType method, const char *name) argument
298 eap_peer_method_free(struct eap_method *method) argument
313 eap_peer_method_register(struct eap_method *method) argument
[all...]
H A Deap_methods.h14 const struct eap_method * eap_peer_get_eap_method(int vendor, EapType method);
18 EapType method, const char *name);
19 void eap_peer_method_free(struct eap_method *method);
20 int eap_peer_method_register(struct eap_method *method);
69 int eap_peer_method_unload(struct eap_method *method);
78 static inline int eap_peer_method_unload(struct eap_method *method) argument
85 /* EAP peer method registration calls for statically linked in methods */

Completed in 237 milliseconds

1234567891011>>