Searched refs:eap_method (Results 1 - 25 of 53) sorted by relevance

123

/freebsd-10.1-release/contrib/wpa/src/eap_server/
H A Deap_methods.h14 const struct eap_method * eap_server_get_eap_method(int vendor,
16 struct eap_method * eap_server_method_alloc(int version, int vendor,
18 void eap_server_method_free(struct eap_method *method);
19 int eap_server_method_register(struct eap_method *method);
H A Deap_server_methods.c16 static struct eap_method *eap_methods;
25 const struct eap_method * eap_server_get_eap_method(int vendor, EapType method)
27 struct eap_method *m;
47 struct eap_method *m;
71 struct eap_method * eap_server_method_alloc(int version, int vendor,
74 struct eap_method *eap;
90 void eap_server_method_free(struct eap_method *method)
105 int eap_server_method_register(struct eap_method *method)
107 struct eap_method *m, *last = NULL;
138 struct eap_method *
[all...]
H A Deap_i.h19 * struct eap_method - EAP method interface
24 struct eap_method { struct
52 * registration (e.g., allocated struct eap_method), they should be
58 void (*free)(struct eap_method *method);
77 struct eap_method *next;
82 * @priv: Pointer to private EAP method data from eap_method::init()
139 const struct eap_method *m; /* selected EAP method */
H A Deap_server_aka.c48 u8 eap_method; member in struct:eap_aka_data
94 if (data->eap_method == EAP_TYPE_AKA_PRIME &&
97 if (data->eap_method == EAP_TYPE_AKA &&
115 if (data->eap_method == EAP_TYPE_AKA_PRIME) {
151 if ((data->eap_method == EAP_TYPE_AKA_PRIME &&
153 (data->eap_method == EAP_TYPE_AKA &&
193 data->eap_method = EAP_TYPE_AKA;
219 data->eap_method = EAP_TYPE_AKA_PRIME;
289 if (data->eap_method == EAP_TYPE_AKA_PRIME)
295 data->eap_method
[all...]
H A Deap_server_tls.c289 struct eap_method *eap;
317 struct eap_method *eap;
H A Deap_server_identity.c152 struct eap_method *eap;
H A Deap_server_md5.c155 struct eap_method *eap;
H A Deap_server_vendor_test.c170 struct eap_method *eap;
H A Deap_server_gtc.c204 struct eap_method *eap;
H A Deap_server_ttls.c35 const struct eap_method *phase2_method;
801 const struct eap_method *m = data->phase2_method;
1172 struct eap_method *eap;
/freebsd-10.1-release/contrib/wpa/src/eap_peer/
H A Deap_methods.h14 const struct eap_method * eap_peer_get_eap_method(int vendor, EapType method);
15 const struct eap_method * eap_peer_get_methods(size_t *count);
17 struct eap_method * eap_peer_method_alloc(int version, int vendor,
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)
H A Deap_methods.c19 static struct eap_method *eap_methods = NULL;
28 const struct eap_method * eap_peer_get_eap_method(int vendor, EapType method)
30 struct eap_method *m;
50 struct eap_method *m;
73 struct eap_method *m;
94 struct eap_method *m;
128 struct eap_method *m;
163 const struct eap_method * eap_peer_get_methods(size_t *count)
166 struct eap_method *m;
231 int eap_peer_method_unload(struct eap_method *metho
[all...]
H A Deap_i.h27 * struct eap_method_ret - EAP return values from struct eap_method::process()
31 * the return value of struct eap_method::process() so it is not included in
58 * struct eap_method - EAP method interface
63 struct eap_method { struct
94 * @priv: Pointer to private EAP method data from eap_method::init()
103 * @priv: Pointer to private EAP method data from eap_method::init()
122 * @priv: Pointer to private EAP method data from eap_method::init()
130 * @priv: Pointer to private EAP method data from eap_method::init()
143 * @priv: Pointer to private EAP method data from eap_method::init()
160 * @priv: Pointer to private EAP method data from eap_method
[all...]
H A Deap_aka.c51 u8 eap_method; member in struct:eap_aka_data
99 data->eap_method = EAP_TYPE_AKA;
125 data->eap_method = EAP_TYPE_AKA_PRIME;
370 if (data->eap_method == EAP_TYPE_AKA_PRIME)
377 data->eap_method == EAP_TYPE_AKA_PRIME ?
403 hash_len = data->eap_method == EAP_TYPE_AKA_PRIME ?
417 if (data->eap_method == EAP_TYPE_AKA_PRIME)
443 msg = eap_sim_msg_init(EAP_CODE_RESPONSE, id, data->eap_method,
461 msg = eap_sim_msg_init(EAP_CODE_RESPONSE, id, data->eap_method,
477 msg = eap_sim_msg_init(EAP_CODE_RESPONSE, id, data->eap_method,
[all...]
H A Deap_otp.c85 struct eap_method *eap;
H A Deap_md5.c104 struct eap_method *eap;
H A Deap_gtc.c129 struct eap_method *eap;
H A Deap.c236 const struct eap_method *eap_method; local
245 eap_method = eap_peer_get_eap_method(sm->reqVendor, method);
254 eap_method ? eap_method->name : "unknown");
262 eap_method ? eap_method->name : "unknown");
286 sm->m = eap_method;
792 struct eap_sm *sm, int id, const struct eap_method *methods,
797 const struct eap_method *
[all...]
H A Deap_vendor_test.c170 struct eap_method *eap;
H A Deap_tls.c294 struct eap_method *eap;
323 struct eap_method *eap;
/freebsd-10.1-release/contrib/wpa/wpa_supplicant/
H A Dinterworking.c143 if (!cred->eap_method)
825 if (cred->eap_method && cred->eap_method[0].vendor == EAP_VENDOR_IETF) {
826 if (cred->eap_method[0].method == EAP_TYPE_SIM ||
827 cred->eap_method[0].method == EAP_TYPE_AKA ||
828 cred->eap_method[0].method == EAP_TYPE_AKA_PRIME)
829 eap_type = cred->eap_method[0].method;
1026 if (cred->eap_method) {
1027 ttls = cred->eap_method->vendor == EAP_VENDOR_IETF &&
1028 cred->eap_method
[all...]
H A Dconfig.h178 * eap_method - EAP method to use
184 struct eap_method_type *eap_method; member in struct:wpa_cred
H A Dconfig_file.c736 if (cred->eap_method) {
738 name = eap_get_name(cred->eap_method[0].vendor,
739 cred->eap_method[0].method);
H A Dconfig.c1836 os_free(cred->eap_method);
2307 os_free(cred->eap_method);
2308 cred->eap_method = os_malloc(sizeof(*cred->eap_method));
2309 if (cred->eap_method == NULL)
2311 os_memcpy(cred->eap_method, &method, sizeof(method));
/freebsd-10.1-release/contrib/wpa/src/ap/
H A Dap_config.h170 u8 eap_method; member in struct:hostapd_nai_realm_data::hostapd_nai_realm_eap
174 } eap_method[MAX_NAI_EAP_METHODS]; member in struct:hostapd_nai_realm_data

Completed in 200 milliseconds

123