Home
last modified time | relevance | path

Searched refs:eap_method (Results 1 – 25 of 55) sorted by relevance

123

/external/wpa_supplicant_8/src/eap_peer/
Deap_methods.c19 static struct eap_method *eap_methods = NULL;
28 const struct eap_method * eap_peer_get_eap_method(int vendor, EapType method) in eap_peer_get_eap_method()
30 struct eap_method *m; in eap_peer_get_eap_method()
50 struct eap_method *m; in eap_peer_get_type()
73 struct eap_method *m; in eap_get_name()
94 struct eap_method *m; in eap_get_names()
128 struct eap_method *m; in eap_get_names_as_string_array()
163 const struct eap_method * eap_peer_get_methods(size_t *count) in eap_peer_get_methods()
166 struct eap_method *m; in eap_peer_get_methods()
231 int eap_peer_method_unload(struct eap_method *method) in eap_peer_method_unload()
[all …]
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) in eap_peer_method_unload()
Deap_aka.c51 u8 eap_method; member
99 data->eap_method = EAP_TYPE_AKA; in eap_aka_init()
125 data->eap_method = EAP_TYPE_AKA_PRIME; in eap_aka_prime_init()
370 if (data->eap_method == EAP_TYPE_AKA_PRIME) in eap_aka_add_checkcode()
377 data->eap_method == EAP_TYPE_AKA_PRIME ? in eap_aka_add_checkcode()
403 hash_len = data->eap_method == EAP_TYPE_AKA_PRIME ? in eap_aka_verify_checkcode()
417 if (data->eap_method == EAP_TYPE_AKA_PRIME) in eap_aka_verify_checkcode()
443 msg = eap_sim_msg_init(EAP_CODE_RESPONSE, id, data->eap_method, in eap_aka_client_error()
461 msg = eap_sim_msg_init(EAP_CODE_RESPONSE, id, data->eap_method, in eap_aka_authentication_reject()
477 msg = eap_sim_msg_init(EAP_CODE_RESPONSE, id, data->eap_method, in eap_aka_synchronization_failure()
[all …]
Deap_i.h63 struct eap_method { struct
220 void (*free)(struct eap_method *method); argument
239 struct eap_method *next; argument
316 const struct eap_method *m; /* selected EAP method */
Deap.c238 const struct eap_method *eap_method; in SM_STATE() local
247 eap_method = eap_peer_get_eap_method(sm->reqVendor, method); in SM_STATE()
256 eap_method ? eap_method->name : "unknown"); in SM_STATE()
264 eap_method ? eap_method->name : "unknown"); in SM_STATE()
288 sm->m = eap_method; in SM_STATE()
801 struct eap_sm *sm, int id, const struct eap_method *methods, in eap_sm_build_expanded_nak()
806 const struct eap_method *m; in eap_sm_build_expanded_nak()
853 const struct eap_method *methods, *m; in eap_sm_buildNak()
1590 const struct eap_method *m = in eap_sm_get_status()
1871 const struct eap_method *methods, *m; in eap_get_phase2_types()
Deap_otp.c85 struct eap_method *eap; in eap_peer_otp_register()
Deap_md5.c104 struct eap_method *eap; in eap_peer_md5_register()
Deap_tls.c329 struct eap_method *eap; in eap_peer_tls_register()
359 struct eap_method *eap; in eap_peer_unauth_tls_register()
Deap_gtc.c129 struct eap_method *eap; in eap_peer_gtc_register()
Deap_vendor_test.c170 struct eap_method *eap; in eap_peer_vendor_test_register()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_methods.c16 static struct eap_method *eap_methods;
25 const struct eap_method * eap_server_get_eap_method(int vendor, EapType method) in eap_server_get_eap_method()
27 struct eap_method *m; in eap_server_get_eap_method()
47 struct eap_method *m; in eap_server_get_type()
71 struct eap_method * eap_server_method_alloc(int version, int vendor, in eap_server_method_alloc()
74 struct eap_method *eap; in eap_server_method_alloc()
90 void eap_server_method_free(struct eap_method *method) in eap_server_method_free()
105 int eap_server_method_register(struct eap_method *method) in eap_server_method_register()
107 struct eap_method *m, *last = NULL; in eap_server_method_register()
138 struct eap_method *m; in eap_server_unregister_methods()
[all …]
Deap_server_aka.c48 u8 eap_method; member
94 if (data->eap_method == EAP_TYPE_AKA_PRIME && in eap_aka_check_identity_reauth()
97 if (data->eap_method == EAP_TYPE_AKA && in eap_aka_check_identity_reauth()
115 if (data->eap_method == EAP_TYPE_AKA_PRIME) { in eap_aka_check_identity_reauth()
151 if ((data->eap_method == EAP_TYPE_AKA_PRIME && in eap_aka_check_identity()
153 (data->eap_method == EAP_TYPE_AKA && in eap_aka_check_identity()
193 data->eap_method = EAP_TYPE_AKA; in eap_aka_init()
219 data->eap_method = EAP_TYPE_AKA_PRIME; in eap_aka_prime_init()
289 if (data->eap_method == EAP_TYPE_AKA_PRIME) in eap_aka_add_checkcode()
295 data->eap_method == EAP_TYPE_AKA_PRIME ? in eap_aka_add_checkcode()
[all …]
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);
Deap_i.h24 struct eap_method { struct
58 void (*free)(struct eap_method *method); argument
77 struct eap_method *next; argument
139 const struct eap_method *m; /* selected EAP method */
Deap_server_tls.c289 struct eap_method *eap; in eap_server_tls_register()
317 struct eap_method *eap; in eap_server_unauth_tls_register()
Deap_server_identity.c152 struct eap_method *eap; in eap_server_identity_register()
Deap_server_vendor_test.c170 struct eap_method *eap; in eap_server_vendor_test_register()
Deap_server_md5.c155 struct eap_method *eap; in eap_server_md5_register()
Deap_server_gtc.c204 struct eap_method *eap; in eap_server_gtc_register()
Deap_server_ttls.c35 const struct eap_method *phase2_method;
801 const struct eap_method *m = data->phase2_method; in eap_ttls_process_phase2_eap_response()
1172 struct eap_method *eap; in eap_server_ttls_register()
/external/wpa_supplicant_8/wpa_supplicant/
Dinterworking.c139 if (!cred->eap_method) in cred_with_nai_realm()
788 if (cred->eap_method && cred->eap_method[0].vendor == EAP_VENDOR_IETF) { in interworking_connect_3gpp()
789 if (cred->eap_method[0].method == EAP_TYPE_SIM || in interworking_connect_3gpp()
790 cred->eap_method[0].method == EAP_TYPE_AKA || in interworking_connect_3gpp()
791 cred->eap_method[0].method == EAP_TYPE_AKA_PRIME) in interworking_connect_3gpp()
792 eap_type = cred->eap_method[0].method; in interworking_connect_3gpp()
989 if (cred->eap_method) { in interworking_set_eap_params()
990 ttls = cred->eap_method->vendor == EAP_VENDOR_IETF && in interworking_set_eap_params()
991 cred->eap_method->method == EAP_TYPE_TTLS; in interworking_set_eap_params()
998 os_memcpy(ssid->eap.eap_methods, cred->eap_method, in interworking_set_eap_params()
[all …]
Dconfig.h184 struct eap_method_type *eap_method; member
Dconfig_file.c745 if (cred->eap_method) { in wpa_config_write_cred()
747 name = eap_get_name(cred->eap_method[0].vendor, in wpa_config_write_cred()
748 cred->eap_method[0].method); in wpa_config_write_cred()
Dconfig.c1765 os_free(cred->eap_method); in wpa_config_free_cred()
2256 os_free(cred->eap_method); in wpa_config_set_cred()
2257 cred->eap_method = os_malloc(sizeof(*cred->eap_method)); in wpa_config_set_cred()
2258 if (cred->eap_method == NULL) in wpa_config_set_cred()
2260 os_memcpy(cred->eap_method, &method, sizeof(method)); in wpa_config_set_cred()
/external/wpa_supplicant_8/src/ap/
Dap_config.h170 u8 eap_method; member
174 } eap_method[MAX_NAI_EAP_METHODS]; member

123