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

123

/freebsd-current/contrib/wpa/src/eap_server/
H A Deap_server_methods.c16 static struct eap_method *eap_methods;
25 const struct eap_method * eap_server_get_eap_method(int vendor,
28 struct eap_method *m;
48 struct eap_method *m;
72 struct eap_method * eap_server_method_alloc(int version, int vendor,
76 struct eap_method *eap;
92 static void eap_server_method_free(struct eap_method *method)
108 int eap_server_method_register(struct eap_method *method)
110 struct eap_method *m, *last = NULL;
145 struct eap_method *
[all...]
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,
19 int eap_server_method_register(struct eap_method *method);
H A Deap_i.h19 * struct eap_method - EAP method interface
24 struct eap_method { struct
51 * registration (e.g., allocated struct eap_method), they should be
57 void (*free)(struct eap_method *method);
76 struct eap_method *next;
81 * @priv: Pointer to private EAP method data from eap_method::init()
94 * @priv: Pointer to private EAP method data from eap_method::init()
153 const struct eap_method *m; /* selected EAP method */
H A Deap_server_aka.c49 u8 eap_method; member in struct:eap_aka_data
95 if (data->eap_method == EAP_TYPE_AKA_PRIME &&
98 if (data->eap_method == EAP_TYPE_AKA &&
116 if (data->eap_method == EAP_TYPE_AKA_PRIME) {
152 if ((data->eap_method == EAP_TYPE_AKA_PRIME &&
154 (data->eap_method == EAP_TYPE_AKA &&
194 data->eap_method = EAP_TYPE_AKA;
220 data->eap_method = EAP_TYPE_AKA_PRIME;
290 if (data->eap_method == EAP_TYPE_AKA_PRIME)
296 data->eap_method
[all...]
H A Deap_server_tls.c422 struct eap_method *eap;
447 struct eap_method *eap;
474 struct eap_method *eap;
H A Deap_server_gtc.c203 struct eap_method *eap;
H A Deap_server_identity.c159 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_ttls.c35 const struct eap_method *phase2_method;
859 const struct eap_method *m = data->phase2_method;
1370 struct eap_method *eap;
/freebsd-current/contrib/wpa/src/eap_peer/
H A Deap_methods.h14 const struct eap_method * eap_peer_get_eap_method(int vendor,
16 const struct eap_method * eap_peer_get_methods(size_t *count);
18 struct eap_method * eap_peer_method_alloc(int version, int vendor,
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)
H A Deap_methods.c19 static struct eap_method *eap_methods = NULL;
21 static void eap_peer_method_free(struct eap_method *method);
30 const struct eap_method * eap_peer_get_eap_method(int vendor,
33 struct eap_method *m;
53 struct eap_method *m;
76 struct eap_method *m;
97 struct eap_method *m;
131 struct eap_method *m;
166 const struct eap_method * eap_peer_get_methods(size_t *count)
169 struct eap_method *
[all...]
H A Deap_i.h30 * struct eap_method_ret - EAP return values from struct eap_method::process()
34 * the return value of struct eap_method::process() so it is not included in
61 * struct eap_method - EAP method interface
66 struct eap_method { struct
97 * @priv: Pointer to private EAP method data from eap_method::init()
106 * @priv: Pointer to private EAP method data from eap_method::init()
125 * @priv: Pointer to private EAP method data from eap_method::init()
133 * @priv: Pointer to private EAP method data from eap_method::init()
146 * @priv: Pointer to private EAP method data from eap_method::init()
163 * @priv: Pointer to private EAP method data from eap_method
[all...]
H A Deap_aka.c53 u8 eap_method; member in struct:eap_aka_data
102 data->eap_method = EAP_TYPE_AKA;
132 data->eap_method = EAP_TYPE_AKA_PRIME;
495 if (data->eap_method == EAP_TYPE_AKA_PRIME)
502 data->eap_method == EAP_TYPE_AKA_PRIME ?
528 hash_len = data->eap_method == EAP_TYPE_AKA_PRIME ?
542 if (data->eap_method == EAP_TYPE_AKA_PRIME)
568 msg = eap_sim_msg_init(EAP_CODE_RESPONSE, id, data->eap_method,
571 return eap_sim_msg_finish(msg, data->eap_method, NULL, NULL, 0);
586 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_tls.c426 struct eap_method *eap;
452 struct eap_method *eap;
479 struct eap_method *eap;
H A Deap_vendor_test.c171 struct eap_method *eap;
H A Deap.c331 const struct eap_method *eap_method; local
340 eap_method = eap_peer_get_eap_method(sm->reqVendor, method);
349 eap_method ? eap_method->name : "unknown");
357 eap_method ? eap_method->name : "unknown");
381 sm->m = eap_method;
1401 struct eap_sm *sm, int id, const struct eap_method *methods,
1406 const struct eap_method *
[all...]
H A Deap_leap.c402 struct eap_method *eap;
H A Deap_tnc.c412 struct eap_method *eap;
/freebsd-current/contrib/wpa/wpa_supplicant/
H A Dinterworking.c177 if (!cred->eap_method)
1020 if (cred->eap_method && cred->eap_method[0].vendor == EAP_VENDOR_IETF) {
1021 if (cred->eap_method[0].method == EAP_TYPE_SIM ||
1022 cred->eap_method[0].method == EAP_TYPE_AKA ||
1023 cred->eap_method[0].method == EAP_TYPE_AKA_PRIME)
1024 eap_type = cred->eap_method[0].method;
1397 if (!cred->eap_method)
1445 if (cred->eap_method) {
1446 ttls = cred->eap_method
[all...]
H A Dconfig.h296 * eap_method - EAP method to use
302 struct eap_method_type *eap_method; member in struct:wpa_cred
/freebsd-current/contrib/wpa/src/ap/
H A Dap_config.h230 u8 eap_method; member in struct:hostapd_nai_realm_data::hostapd_nai_realm_eap
234 } eap_method[MAX_NAI_EAP_METHODS]; member in struct:hostapd_nai_realm_data

Completed in 284 milliseconds

123