Home
last modified time | relevance | path

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

123

/aosp_15_r20/external/wpa_supplicant_8/src/eap_peer/
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, 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 …]
H A Deap_aka.c54 u8 eap_method; member
104 data->eap_method = EAP_TYPE_AKA; in eap_aka_init()
160 data->eap_method = EAP_TYPE_AKA_PRIME; in eap_aka_prime_init()
514 if (data->eap_method == EAP_TYPE_AKA_PRIME) in eap_aka_add_checkcode()
521 data->eap_method == EAP_TYPE_AKA_PRIME ? in eap_aka_add_checkcode()
547 hash_len = data->eap_method == EAP_TYPE_AKA_PRIME ? in eap_aka_verify_checkcode()
561 if (data->eap_method == EAP_TYPE_AKA_PRIME) in eap_aka_verify_checkcode()
587 msg = eap_sim_msg_init(EAP_CODE_RESPONSE, id, data->eap_method, in eap_aka_client_error()
590 return eap_sim_msg_finish(msg, data->eap_method, NULL, NULL, 0); in eap_aka_client_error()
605 msg = eap_sim_msg_init(EAP_CODE_RESPONSE, id, data->eap_method, in eap_aka_authentication_reject()
[all …]
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) in eap_peer_method_unload()
H A 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 */
H A Deap.c332 const struct eap_method *eap_method; in SM_STATE() local
341 eap_method = eap_peer_get_eap_method(sm->reqVendor, method); in SM_STATE()
350 eap_method ? eap_method->name : "unknown"); in SM_STATE()
358 eap_method ? eap_method->name : "unknown"); in SM_STATE()
382 sm->m = eap_method; in SM_STATE()
1413 struct eap_sm *sm, int id, const struct eap_method *methods, in eap_sm_build_expanded_nak()
1418 const struct eap_method *m; in eap_sm_build_expanded_nak()
1465 const struct eap_method *methods, *m; in eap_sm_buildNak()
2468 const struct eap_method *m = in eap_sm_get_status()
2768 const struct eap_method *methods, *m; in eap_get_phase2_types()
H A Deap_tls.c433 struct eap_method *eap; in eap_peer_tls_register()
459 struct eap_method *eap; in eap_peer_unauth_tls_register()
486 struct eap_method *eap; in eap_peer_wfa_unauth_tls_register()
H A Deap_otp.c85 struct eap_method *eap; in eap_peer_otp_register()
H A Deap_md5.c104 struct eap_method *eap; in eap_peer_md5_register()
H A Deap_gtc.c129 struct eap_method *eap; in eap_peer_gtc_register()
H A Deap_vendor_test.c171 struct eap_method *eap; in eap_peer_vendor_test_register()
/aosp_15_r20/external/wpa_supplicant_8/src/eap_server/
H A Deap_server_aka.c50 u8 eap_method; member
96 if (data->eap_method == EAP_TYPE_AKA_PRIME && in eap_aka_check_identity_reauth()
99 if (data->eap_method == EAP_TYPE_AKA && in eap_aka_check_identity_reauth()
139 if (data->eap_method == EAP_TYPE_AKA_PRIME) { in eap_aka_check_identity_reauth()
192 if ((data->eap_method == EAP_TYPE_AKA_PRIME && in eap_aka_check_identity()
194 (data->eap_method == EAP_TYPE_AKA && in eap_aka_check_identity()
234 data->eap_method = EAP_TYPE_AKA; in eap_aka_init()
260 data->eap_method = EAP_TYPE_AKA_PRIME; in eap_aka_prime_init()
330 if (data->eap_method == EAP_TYPE_AKA_PRIME) in eap_aka_add_checkcode()
336 data->eap_method == EAP_TYPE_AKA_PRIME ? in eap_aka_add_checkcode()
[all …]
H A 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 …]
H A 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 */
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_server_tls.c430 struct eap_method *eap; in eap_server_tls_register()
455 struct eap_method *eap; in eap_server_unauth_tls_register()
482 struct eap_method *eap; in eap_server_wfa_unauth_tls_register()
H A Deap_server_vendor_test.c170 struct eap_method *eap; in eap_server_vendor_test_register()
H A Deap_server_ttls.c35 const struct eap_method *phase2_method;
860 const struct eap_method *m = data->phase2_method; in eap_ttls_process_phase2_eap_response()
1371 struct eap_method *eap; in eap_server_ttls_register()
H A Deap_server_identity.c159 struct eap_method *eap; in eap_server_identity_register()
/aosp_15_r20/external/wpa_supplicant_8/hs20/server/
H A Dhs20_spp_server.c97 ctx->eap_method = getenv("HS20EAPMETHOD"); in process()
98 if (ctx->eap_method) in process()
99 debug_print(ctx, 1, "EAP method %s", ctx->eap_method); in process()
H A Dsql.txt29 eap_method TEXT,
106 eap_method TEXT,
H A Dspp_server.c1547 if (ctx->eap_method && os_strcmp(ctx->eap_method, "AKA") == 0) in build_pps()
1549 else if (ctx->eap_method && in build_pps()
1550 os_strcmp(ctx->eap_method, "AKA'") == 0) in build_pps()
2035 if (ctx->eap_method) in hs20_sim_provisioning()
2036 db_add_session_eap_method(ctx, session_id, ctx->eap_method); in hs20_sim_provisioning()
2399 char *osu_user, *osu_password, *eap_method; in add_subscription() local
2425 eap_method = db_get_session_val(ctx, NULL, NULL, session_id, in add_subscription()
2468 if (eap_method && eap_method[0]) in add_subscription()
2469 method = eap_method; in add_subscription()
2582 free(eap_method); in add_subscription()
H A Dspp_server.h21 const char *eap_method; member
/aosp_15_r20/external/wpa_supplicant_8/wpa_supplicant/
H A Dinterworking.c177 if (!cred->eap_method) in cred_with_nai_realm()
1025 if (cred->eap_method && cred->eap_method[0].vendor == EAP_VENDOR_IETF) { in interworking_connect_3gpp()
1026 if (cred->eap_method[0].method == EAP_TYPE_SIM || in interworking_connect_3gpp()
1027 cred->eap_method[0].method == EAP_TYPE_AKA || in interworking_connect_3gpp()
1028 cred->eap_method[0].method == EAP_TYPE_AKA_PRIME) in interworking_connect_3gpp()
1029 eap_type = cred->eap_method[0].method; in interworking_connect_3gpp()
1440 if (!cred->eap_method) in interworking_credentials_available_roaming_consortium()
1485 if (cred->eap_method) { in interworking_set_eap_params()
1486 ttls = cred->eap_method->vendor == EAP_VENDOR_IETF && in interworking_set_eap_params()
1487 cred->eap_method->method == EAP_TYPE_TTLS; in interworking_set_eap_params()
[all …]
/aosp_15_r20/external/wpa_supplicant_8/hs20/server/www/
H A Dspp.php107 $eap_method = $row['eap_method']; variable
120 putenv("HS20EAPMETHOD=$eap_method");
/aosp_15_r20/external/wpa_supplicant_8/hs20/client/
H A Dosu_client.c1474 const char *eap_method = NULL; in set_pps_cred_eap_method_eap_type() local
1483 eap_method = "TLS"; in set_pps_cred_eap_method_eap_type()
1486 eap_method = "TTLS"; in set_pps_cred_eap_method_eap_type()
1489 eap_method = "PEAP"; in set_pps_cred_eap_method_eap_type()
1492 eap_method = "PWD"; in set_pps_cred_eap_method_eap_type()
1496 if (!eap_method) { in set_pps_cred_eap_method_eap_type()
1501 if (set_cred(ctx->ifname, id, "eap", eap_method) < 0) in set_pps_cred_eap_method_eap_type()

123