Home
last modified time | relevance | path

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

12345

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
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, in eap_peer_get_eap_method()
33 struct eap_method *m; in eap_peer_get_eap_method()
53 struct eap_method *m; in eap_peer_get_type()
76 struct eap_method *m; in eap_get_name()
97 struct eap_method *m; in eap_get_names()
131 struct eap_method *m; in eap_get_names_as_string_array()
166 const struct eap_method * eap_peer_get_methods(size_t *count) in eap_peer_get_methods()
169 struct eap_method *m; in eap_peer_get_methods()
[all …]
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) in eap_peer_method_unload()
Deap_aka.c53 u8 eap_method; member
102 data->eap_method = EAP_TYPE_AKA; in eap_aka_init()
132 data->eap_method = EAP_TYPE_AKA_PRIME; in eap_aka_prime_init()
495 if (data->eap_method == EAP_TYPE_AKA_PRIME) in eap_aka_add_checkcode()
502 data->eap_method == EAP_TYPE_AKA_PRIME ? in eap_aka_add_checkcode()
528 hash_len = data->eap_method == EAP_TYPE_AKA_PRIME ? in eap_aka_verify_checkcode()
542 if (data->eap_method == EAP_TYPE_AKA_PRIME) in eap_aka_verify_checkcode()
568 msg = eap_sim_msg_init(EAP_CODE_RESPONSE, id, data->eap_method, in eap_aka_client_error()
571 return eap_sim_msg_finish(msg, data->eap_method, NULL, NULL, 0); in eap_aka_client_error()
586 msg = eap_sim_msg_init(EAP_CODE_RESPONSE, id, data->eap_method, in eap_aka_authentication_reject()
[all …]
Deap_i.h66 struct eap_method { struct
234 void (*free)(struct eap_method *method); argument
253 struct eap_method *next; argument
340 const struct eap_method *m; /* selected EAP method */
Deap.c331 const struct eap_method *eap_method; in SM_STATE() local
340 eap_method = eap_peer_get_eap_method(sm->reqVendor, method); in SM_STATE()
349 eap_method ? eap_method->name : "unknown"); in SM_STATE()
357 eap_method ? eap_method->name : "unknown"); in SM_STATE()
381 sm->m = eap_method; in SM_STATE()
1401 struct eap_sm *sm, int id, const struct eap_method *methods, in eap_sm_build_expanded_nak()
1406 const struct eap_method *m; in eap_sm_build_expanded_nak()
1453 const struct eap_method *methods, *m; in eap_sm_buildNak()
2389 const struct eap_method *m = in eap_sm_get_status()
2689 const struct eap_method *methods, *m; in eap_get_phase2_types()
Deap_tls.c426 struct eap_method *eap; in eap_peer_tls_register()
452 struct eap_method *eap; in eap_peer_unauth_tls_register()
479 struct eap_method *eap; in eap_peer_wfa_unauth_tls_register()
Deap_otp.c85 struct eap_method *eap; in eap_peer_otp_register()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
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, EapType method) in eap_peer_get_eap_method()
32 struct eap_method *m; in eap_peer_get_eap_method()
52 struct eap_method *m; in eap_peer_get_type()
75 struct eap_method *m; in eap_get_name()
96 struct eap_method *m; in eap_get_names()
130 struct eap_method *m; in eap_get_names_as_string_array()
165 const struct eap_method * eap_peer_get_methods(size_t *count) in eap_peer_get_methods()
168 struct eap_method *m; in eap_peer_get_methods()
[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 int eap_peer_method_register(struct eap_method *method);
68 int eap_peer_method_unload(struct eap_method *method);
77 static inline int eap_peer_method_unload(struct eap_method *method) in eap_peer_method_unload()
Deap_aka.c53 u8 eap_method; member
102 data->eap_method = EAP_TYPE_AKA; in eap_aka_init()
132 data->eap_method = EAP_TYPE_AKA_PRIME; in eap_aka_prime_init()
486 if (data->eap_method == EAP_TYPE_AKA_PRIME) in eap_aka_add_checkcode()
493 data->eap_method == EAP_TYPE_AKA_PRIME ? in eap_aka_add_checkcode()
519 hash_len = data->eap_method == EAP_TYPE_AKA_PRIME ? in eap_aka_verify_checkcode()
533 if (data->eap_method == EAP_TYPE_AKA_PRIME) in eap_aka_verify_checkcode()
559 msg = eap_sim_msg_init(EAP_CODE_RESPONSE, id, data->eap_method, in eap_aka_client_error()
562 return eap_sim_msg_finish(msg, data->eap_method, NULL, NULL, 0); in eap_aka_client_error()
577 msg = eap_sim_msg_init(EAP_CODE_RESPONSE, id, data->eap_method, in eap_aka_authentication_reject()
[all …]
Deap_i.h66 struct eap_method { struct
234 void (*free)(struct eap_method *method); argument
253 struct eap_method *next; argument
340 const struct eap_method *m; /* selected EAP method */
Deap.c323 const struct eap_method *eap_method; in SM_STATE() local
332 eap_method = eap_peer_get_eap_method(sm->reqVendor, method); in SM_STATE()
341 eap_method ? eap_method->name : "unknown"); in SM_STATE()
349 eap_method ? eap_method->name : "unknown"); in SM_STATE()
373 sm->m = eap_method; in SM_STATE()
1368 struct eap_sm *sm, int id, const struct eap_method *methods, in eap_sm_build_expanded_nak()
1373 const struct eap_method *m; in eap_sm_build_expanded_nak()
1420 const struct eap_method *methods, *m; in eap_sm_buildNak()
2351 const struct eap_method *m = in eap_sm_get_status()
2649 const struct eap_method *methods, *m; in eap_get_phase2_types()
Deap_tls.c424 struct eap_method *eap; in eap_peer_tls_register()
450 struct eap_method *eap; in eap_peer_unauth_tls_register()
477 struct eap_method *eap; in eap_peer_wfa_unauth_tls_register()
/third_party/wpa_supplicant/wpa_supplicant-2.9/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 static void eap_server_method_free(struct eap_method *method) in eap_server_method_free()
106 int eap_server_method_register(struct eap_method *method) in eap_server_method_register()
108 struct eap_method *m, *last = NULL; in eap_server_method_register()
143 struct eap_method *m; in eap_server_unregister_methods()
[all …]
Deap_server_aka.c49 u8 eap_method; member
95 if (data->eap_method == EAP_TYPE_AKA_PRIME && in eap_aka_check_identity_reauth()
98 if (data->eap_method == EAP_TYPE_AKA && in eap_aka_check_identity_reauth()
116 if (data->eap_method == EAP_TYPE_AKA_PRIME) { in eap_aka_check_identity_reauth()
152 if ((data->eap_method == EAP_TYPE_AKA_PRIME && in eap_aka_check_identity()
154 (data->eap_method == EAP_TYPE_AKA && in eap_aka_check_identity()
194 data->eap_method = EAP_TYPE_AKA; in eap_aka_init()
220 data->eap_method = EAP_TYPE_AKA_PRIME; in eap_aka_prime_init()
290 if (data->eap_method == EAP_TYPE_AKA_PRIME) in eap_aka_add_checkcode()
296 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 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
154 const struct eap_method *m; /* selected EAP method */
Deap_server_tls.c454 struct eap_method *eap; in eap_server_tls_register()
479 struct eap_method *eap; in eap_server_unauth_tls_register()
506 struct eap_method *eap; in eap_server_wfa_unauth_tls_register()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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, in eap_server_get_eap_method()
28 struct eap_method *m; in eap_server_get_eap_method()
48 struct eap_method *m; in eap_server_get_type()
72 struct eap_method * eap_server_method_alloc(int version, int vendor, in eap_server_method_alloc()
76 struct eap_method *eap; in eap_server_method_alloc()
92 static void eap_server_method_free(struct eap_method *method) in eap_server_method_free()
108 int eap_server_method_register(struct eap_method *method) in eap_server_method_register()
110 struct eap_method *m, *last = NULL; in eap_server_method_register()
145 struct eap_method *m; in eap_server_unregister_methods()
[all …]
Deap_server_aka.c49 u8 eap_method; member
95 if (data->eap_method == EAP_TYPE_AKA_PRIME && in eap_aka_check_identity_reauth()
98 if (data->eap_method == EAP_TYPE_AKA && in eap_aka_check_identity_reauth()
116 if (data->eap_method == EAP_TYPE_AKA_PRIME) { in eap_aka_check_identity_reauth()
152 if ((data->eap_method == EAP_TYPE_AKA_PRIME && in eap_aka_check_identity()
154 (data->eap_method == EAP_TYPE_AKA && in eap_aka_check_identity()
194 data->eap_method = EAP_TYPE_AKA; in eap_aka_init()
220 data->eap_method = EAP_TYPE_AKA_PRIME; in eap_aka_prime_init()
290 if (data->eap_method == EAP_TYPE_AKA_PRIME) in eap_aka_add_checkcode()
296 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,
19 int eap_server_method_register(struct eap_method *method);
Deap_i.h24 struct eap_method { struct
57 void (*free)(struct eap_method *method); argument
76 struct eap_method *next; argument
153 const struct eap_method *m; /* selected EAP method */
Deap_server_tls.c422 struct eap_method *eap; in eap_server_tls_register()
447 struct eap_method *eap; in eap_server_unauth_tls_register()
474 struct eap_method *eap; in eap_server_wfa_unauth_tls_register()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dinterworking.c177 if (!cred->eap_method) in cred_with_nai_realm()
1014 if (cred->eap_method && cred->eap_method[0].vendor == EAP_VENDOR_IETF) { in interworking_connect_3gpp()
1015 if (cred->eap_method[0].method == EAP_TYPE_SIM || in interworking_connect_3gpp()
1016 cred->eap_method[0].method == EAP_TYPE_AKA || in interworking_connect_3gpp()
1017 cred->eap_method[0].method == EAP_TYPE_AKA_PRIME) in interworking_connect_3gpp()
1018 eap_type = cred->eap_method[0].method; in interworking_connect_3gpp()
1391 if (!cred->eap_method) in interworking_credentials_available_roaming_consortium()
1435 if (cred->eap_method) { in interworking_set_eap_params()
1436 ttls = cred->eap_method->vendor == EAP_VENDOR_IETF && in interworking_set_eap_params()
1437 cred->eap_method->method == EAP_TYPE_TTLS; in interworking_set_eap_params()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dinterworking.c177 if (!cred->eap_method) in cred_with_nai_realm()
1020 if (cred->eap_method && cred->eap_method[0].vendor == EAP_VENDOR_IETF) { in interworking_connect_3gpp()
1021 if (cred->eap_method[0].method == EAP_TYPE_SIM || in interworking_connect_3gpp()
1022 cred->eap_method[0].method == EAP_TYPE_AKA || in interworking_connect_3gpp()
1023 cred->eap_method[0].method == EAP_TYPE_AKA_PRIME) in interworking_connect_3gpp()
1024 eap_type = cred->eap_method[0].method; in interworking_connect_3gpp()
1397 if (!cred->eap_method) in interworking_credentials_available_roaming_consortium()
1445 if (cred->eap_method) { in interworking_set_eap_params()
1446 ttls = cred->eap_method->vendor == EAP_VENDOR_IETF && in interworking_set_eap_params()
1447 cred->eap_method->method == EAP_TYPE_TTLS; in interworking_set_eap_params()
[all …]

12345