/external/wpa_supplicant_8/src/eap_peer/ |
D | eap.h | 16 struct eap_sm; 334 struct eap_sm * eap_peer_sm_init(void *eapol_ctx, 337 void eap_peer_sm_deinit(struct eap_sm *sm); 338 int eap_peer_sm_step(struct eap_sm *sm); 339 void eap_sm_abort(struct eap_sm *sm); 340 int eap_sm_get_status(struct eap_sm *sm, char *buf, size_t buflen, 342 const char * eap_sm_get_method_name(struct eap_sm *sm); 343 struct wpabuf * eap_sm_buildIdentity(struct eap_sm *sm, int id, int encrypted); 344 void eap_sm_request_identity(struct eap_sm *sm); 345 void eap_sm_request_password(struct eap_sm *sm); [all …]
|
D | eap_i.h | 92 void * (*init)(struct eap_sm *sm); 101 void (*deinit)(struct eap_sm *sm, void *priv); 118 struct wpabuf * (*process)(struct eap_sm *sm, void *priv, 128 Boolean (*isKeyAvailable)(struct eap_sm *sm, void *priv); 141 u8 * (*getKey)(struct eap_sm *sm, void *priv, size_t *len); 157 int (*get_status)(struct eap_sm *sm, void *priv, char *buf, 170 Boolean (*has_reauth_data)(struct eap_sm *sm, void *priv); 183 void (*deinit_for_reauth)(struct eap_sm *sm, void *priv); 195 void * (*init_for_reauth)(struct eap_sm *sm, void *priv); 208 const u8 * (*get_identity)(struct eap_sm *sm, void *priv, size_t *len); [all …]
|
D | eap_tls_common.h | 65 struct eap_sm *eap; 98 int eap_peer_tls_ssl_init(struct eap_sm *sm, struct eap_ssl_data *data, 100 void eap_peer_tls_ssl_deinit(struct eap_sm *sm, struct eap_ssl_data *data); 101 u8 * eap_peer_tls_derive_key(struct eap_sm *sm, struct eap_ssl_data *data, 104 u8 * eap_peer_tls_derive_session_id(struct eap_sm *sm, 107 int eap_peer_tls_process_helper(struct eap_sm *sm, struct eap_ssl_data *data, 113 int eap_peer_tls_reauth_init(struct eap_sm *sm, struct eap_ssl_data *data); 114 int eap_peer_tls_status(struct eap_sm *sm, struct eap_ssl_data *data, 116 const u8 * eap_peer_tls_process_init(struct eap_sm *sm, 124 int eap_peer_tls_decrypt(struct eap_sm *sm, struct eap_ssl_data *data, [all …]
|
D | eap.c | 32 #define STATE_MACHINE_DATA struct eap_sm 39 static Boolean eap_sm_allowMethod(struct eap_sm *sm, int vendor, 41 static struct wpabuf * eap_sm_buildNak(struct eap_sm *sm, int id); 42 static void eap_sm_processIdentity(struct eap_sm *sm, 44 static void eap_sm_processNotify(struct eap_sm *sm, const struct wpabuf *req); 46 static void eap_sm_parseEapReq(struct eap_sm *sm, const struct wpabuf *req); 51 static void eap_sm_request(struct eap_sm *sm, enum wpa_ctrl_req_type field, 56 static Boolean eapol_get_bool(struct eap_sm *sm, enum eapol_bool_var var) in eapol_get_bool() 62 static void eapol_set_bool(struct eap_sm *sm, enum eapol_bool_var var, in eapol_set_bool() 69 static unsigned int eapol_get_int(struct eap_sm *sm, enum eapol_int_var var) in eapol_get_int() [all …]
|
D | eap_tls.c | 18 static void eap_tls_deinit(struct eap_sm *sm, void *priv); 32 static void * eap_tls_init(struct eap_sm *sm) in eap_tls_init() 76 static void * eap_unauth_tls_init(struct eap_sm *sm) in eap_unauth_tls_init() 103 static void * eap_wfa_unauth_tls_init(struct eap_sm *sm) in eap_wfa_unauth_tls_init() 138 static void eap_tls_deinit(struct eap_sm *sm, void *priv) in eap_tls_deinit() 151 static struct wpabuf * eap_tls_failure(struct eap_sm *sm, in eap_tls_failure() 173 static void eap_tls_success(struct eap_sm *sm, struct eap_tls_data *data, in eap_tls_success() 227 static struct wpabuf * eap_tls_process(struct eap_sm *sm, void *priv, in eap_tls_process() 306 static Boolean eap_tls_has_reauth_data(struct eap_sm *sm, void *priv) in eap_tls_has_reauth_data() 313 static void eap_tls_deinit_for_reauth(struct eap_sm *sm, void *priv) in eap_tls_deinit_for_reauth() [all …]
|
D | eap_ttls.c | 26 static void eap_ttls_deinit(struct eap_sm *sm, void *priv); 71 static void * eap_ttls_init(struct eap_sm *sm) in eap_ttls_init() 169 static void eap_ttls_phase2_eap_deinit(struct eap_sm *sm, in eap_ttls_phase2_eap_deinit() 189 static void eap_ttls_deinit(struct eap_sm *sm, void *priv) in eap_ttls_deinit() 268 static int eap_ttls_v0_derive_key(struct eap_sm *sm, in eap_ttls_v0_derive_key() 304 static u8 * eap_ttls_implicit_challenge(struct eap_sm *sm, in eap_ttls_implicit_challenge() 335 static int eap_ttls_phase2_eap_process(struct eap_sm *sm, in eap_ttls_phase2_eap_process() 361 static int eap_ttls_phase2_request_eap_method(struct eap_sm *sm, in eap_ttls_phase2_request_eap_method() 433 static int eap_ttls_phase2_request_eap(struct eap_sm *sm, in eap_ttls_phase2_request_eap() 476 static int eap_ttls_phase2_request_mschapv2(struct eap_sm *sm, in eap_ttls_phase2_request_mschapv2() [all …]
|
D | eap_vendor_test.c | 31 static void * eap_vendor_test_init(struct eap_sm *sm) in eap_vendor_test_init() 51 static void eap_vendor_test_deinit(struct eap_sm *sm, void *priv) in eap_vendor_test_deinit() 60 struct eap_sm *sm = eloop_ctx; in eap_vendor_ready() 67 static struct wpabuf * eap_vendor_test_process(struct eap_sm *sm, void *priv, in eap_vendor_test_process() 141 static Boolean eap_vendor_test_isKeyAvailable(struct eap_sm *sm, void *priv) in eap_vendor_test_isKeyAvailable() 148 static u8 * eap_vendor_test_getKey(struct eap_sm *sm, void *priv, size_t *len) in eap_vendor_test_getKey()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_i.h | 29 void * (*init)(struct eap_sm *sm); 30 void * (*initPickUp)(struct eap_sm *sm); 31 void (*reset)(struct eap_sm *sm, void *priv); 33 struct wpabuf * (*buildReq)(struct eap_sm *sm, void *priv, u8 id); 34 int (*getTimeout)(struct eap_sm *sm, void *priv); 35 Boolean (*check)(struct eap_sm *sm, void *priv, 37 void (*process)(struct eap_sm *sm, void *priv, 39 Boolean (*isDone)(struct eap_sm *sm, void *priv); 40 u8 * (*getKey)(struct eap_sm *sm, void *priv, size_t *len); 43 Boolean (*isSuccess)(struct eap_sm *sm, void *priv); [all …]
|
D | eap.h | 18 struct eap_sm; 146 struct eap_sm * eap_server_sm_init(void *eapol_ctx, 149 void eap_server_sm_deinit(struct eap_sm *sm); 150 int eap_server_sm_step(struct eap_sm *sm); 151 void eap_sm_notify_cached(struct eap_sm *sm); 152 void eap_sm_pending_cb(struct eap_sm *sm); 153 int eap_sm_method_pending(struct eap_sm *sm); 154 const u8 * eap_get_identity(struct eap_sm *sm, size_t *len); 155 const char * eap_get_serial_num(struct eap_sm *sm); 156 const char * eap_get_method(struct eap_sm *sm); [all …]
|
D | eap_tls_common.h | 49 struct eap_sm *eap; 77 int eap_server_tls_ssl_init(struct eap_sm *sm, struct eap_ssl_data *data, 79 void eap_server_tls_ssl_deinit(struct eap_sm *sm, struct eap_ssl_data *data); 80 u8 * eap_server_tls_derive_key(struct eap_sm *sm, struct eap_ssl_data *data, 83 u8 * eap_server_tls_derive_session_id(struct eap_sm *sm, 89 int eap_server_tls_phase1(struct eap_sm *sm, struct eap_ssl_data *data); 90 struct wpabuf * eap_server_tls_encrypt(struct eap_sm *sm, 93 int eap_server_tls_process(struct eap_sm *sm, struct eap_ssl_data *data, 95 int (*proc_version)(struct eap_sm *sm, void *priv, 97 void (*proc_msg)(struct eap_sm *sm, void *priv,
|
D | eap_server_tls.c | 17 static void eap_tls_reset(struct eap_sm *sm, void *priv); 57 static void eap_tls_valid_session(struct eap_sm *sm, struct eap_tls_data *data) in eap_tls_valid_session() 72 static void * eap_tls_init(struct eap_sm *sm) in eap_tls_init() 96 static void * eap_unauth_tls_init(struct eap_sm *sm) in eap_unauth_tls_init() 118 static void * eap_wfa_unauth_tls_init(struct eap_sm *sm) in eap_wfa_unauth_tls_init() 140 static void eap_tls_reset(struct eap_sm *sm, void *priv) in eap_tls_reset() 150 static struct wpabuf * eap_tls_build_start(struct eap_sm *sm, in eap_tls_build_start() 171 static struct wpabuf * eap_tls_buildReq(struct eap_sm *sm, void *priv, u8 id) in eap_tls_buildReq() 228 static Boolean eap_tls_check(struct eap_sm *sm, void *priv, in eap_tls_check() 255 static void eap_tls_process_msg(struct eap_sm *sm, void *priv, in eap_tls_process_msg() [all …]
|
D | eap_server_vendor_test.c | 51 static void * eap_vendor_test_init(struct eap_sm *sm) in eap_vendor_test_init() 64 static void eap_vendor_test_reset(struct eap_sm *sm, void *priv) in eap_vendor_test_reset() 71 static struct wpabuf * eap_vendor_test_buildReq(struct eap_sm *sm, void *priv, in eap_vendor_test_buildReq() 91 static Boolean eap_vendor_test_check(struct eap_sm *sm, void *priv, in eap_vendor_test_check() 107 static void eap_vendor_test_process(struct eap_sm *sm, void *priv, in eap_vendor_test_process() 133 static Boolean eap_vendor_test_isDone(struct eap_sm *sm, void *priv) in eap_vendor_test_isDone() 140 static u8 * eap_vendor_test_getKey(struct eap_sm *sm, void *priv, size_t *len) in eap_vendor_test_getKey() 161 static Boolean eap_vendor_test_isSuccess(struct eap_sm *sm, void *priv) in eap_vendor_test_isSuccess()
|
D | eap_server_identity.c | 21 static void * eap_identity_init(struct eap_sm *sm) in eap_identity_init() 34 static void * eap_identity_initPickUp(struct eap_sm *sm) in eap_identity_initPickUp() 45 static void eap_identity_reset(struct eap_sm *sm, void *priv) in eap_identity_reset() 52 static struct wpabuf * eap_identity_buildReq(struct eap_sm *sm, void *priv, in eap_identity_buildReq() 82 static Boolean eap_identity_check(struct eap_sm *sm, void *priv, in eap_identity_check() 99 static void eap_identity_process(struct eap_sm *sm, void *priv, in eap_identity_process() 143 static Boolean eap_identity_isDone(struct eap_sm *sm, void *priv) in eap_identity_isDone() 150 static Boolean eap_identity_isSuccess(struct eap_sm *sm, void *priv) in eap_identity_isSuccess()
|
D | eap_server_sake.c | 61 static void * eap_sake_init(struct eap_sm *sm) in eap_sake_init() 82 static void eap_sake_reset(struct eap_sm *sm, void *priv) in eap_sake_reset() 116 static struct wpabuf * eap_sake_build_identity(struct eap_sm *sm, in eap_sake_build_identity() 144 static struct wpabuf * eap_sake_build_challenge(struct eap_sm *sm, in eap_sake_build_challenge() 180 static struct wpabuf * eap_sake_build_confirm(struct eap_sm *sm, in eap_sake_build_confirm() 215 static struct wpabuf * eap_sake_buildReq(struct eap_sm *sm, void *priv, u8 id) in eap_sake_buildReq() 235 static Boolean eap_sake_check(struct eap_sm *sm, void *priv, in eap_sake_check() 287 static void eap_sake_process_identity(struct eap_sm *sm, in eap_sake_process_identity() 301 static void eap_sake_process_challenge(struct eap_sm *sm, in eap_sake_process_challenge() 363 static void eap_sake_process_confirm(struct eap_sm *sm, in eap_sake_process_confirm() [all …]
|
D | eap_server_md5.c | 25 static void * eap_md5_init(struct eap_sm *sm) in eap_md5_init() 38 static void eap_md5_reset(struct eap_sm *sm, void *priv) in eap_md5_reset() 45 static struct wpabuf * eap_md5_buildReq(struct eap_sm *sm, void *priv, u8 id) in eap_md5_buildReq() 76 static Boolean eap_md5_check(struct eap_sm *sm, void *priv, in eap_md5_check() 98 static void eap_md5_process(struct eap_sm *sm, void *priv, in eap_md5_process() 139 static Boolean eap_md5_isDone(struct eap_sm *sm, void *priv) in eap_md5_isDone() 146 static Boolean eap_md5_isSuccess(struct eap_sm *sm, void *priv) in eap_md5_isSuccess()
|
D | eap_server_fast.c | 22 static void eap_fast_reset(struct eap_sm *sm, void *priv); 71 static int eap_fast_process_phase2_start(struct eap_sm *sm, 111 static EapType eap_fast_req_failure(struct eap_sm *sm, in eap_fast_req_failure() 272 static void eap_fast_derive_key_auth(struct eap_sm *sm, in eap_fast_derive_key_auth() 302 static void eap_fast_derive_key_provisioning(struct eap_sm *sm, in eap_fast_derive_key_provisioning() 333 static int eap_fast_get_phase2_key(struct eap_sm *sm, in eap_fast_get_phase2_key() 378 static int eap_fast_update_icmk(struct eap_sm *sm, struct eap_fast_data *data) in eap_fast_update_icmk() 411 static void * eap_fast_init(struct eap_sm *sm) in eap_fast_init() 506 static void eap_fast_reset(struct eap_sm *sm, void *priv) in eap_fast_reset() 523 static struct wpabuf * eap_fast_build_start(struct eap_sm *sm, in eap_fast_build_start() [all …]
|
D | eap_server.c | 23 #define STATE_MACHINE_DATA struct eap_sm 30 static int eap_sm_calculateTimeout(struct eap_sm *sm, int retransCount, 33 static void eap_sm_parseEapResp(struct eap_sm *sm, const struct wpabuf *resp); 35 static struct wpabuf * eap_sm_buildSuccess(struct eap_sm *sm, u8 id); 36 static struct wpabuf * eap_sm_buildFailure(struct eap_sm *sm, u8 id); 37 static int eap_sm_nextId(struct eap_sm *sm, int id); 38 static void eap_sm_Policy_update(struct eap_sm *sm, const u8 *nak_list, 40 static EapType eap_sm_Policy_getNextMethod(struct eap_sm *sm, int *vendor); 41 static int eap_sm_Policy_getDecision(struct eap_sm *sm); 42 static Boolean eap_sm_Policy_doPickUp(struct eap_sm *sm, EapType method); [all …]
|
D | eap_server_peap.c | 29 static void eap_peap_reset(struct eap_sm *sm, void *priv); 103 static void eap_peap_valid_session(struct eap_sm *sm, in eap_peap_valid_session() 132 static void eap_peap_req_success(struct eap_sm *sm, in eap_peap_req_success() 149 static void eap_peap_req_failure(struct eap_sm *sm, in eap_peap_req_failure() 167 static void * eap_peap_init(struct eap_sm *sm) in eap_peap_init() 195 static void eap_peap_reset(struct eap_sm *sm, void *priv) in eap_peap_reset() 210 static struct wpabuf * eap_peap_build_start(struct eap_sm *sm, in eap_peap_build_start() 232 static struct wpabuf * eap_peap_build_phase2_req(struct eap_sm *sm, in eap_peap_build_phase2_req() 268 static struct wpabuf * eap_peap_build_phase2_soh(struct eap_sm *sm, in eap_peap_build_phase2_soh() 323 static int eap_peap_derive_cmk(struct eap_sm *sm, struct eap_peap_data *data) in eap_peap_derive_cmk() [all …]
|
D | eap_server_aka.c | 57 static void eap_aka_fullauth(struct eap_sm *sm, struct eap_aka_data *data); 90 static int eap_aka_check_identity_reauth(struct eap_sm *sm, in eap_aka_check_identity_reauth() 131 static void eap_aka_check_identity(struct eap_sm *sm, in eap_aka_check_identity() 180 static void * eap_aka_init(struct eap_sm *sm) in eap_aka_init() 204 static void * eap_aka_prime_init(struct eap_sm *sm) in eap_aka_prime_init() 237 static void eap_aka_reset(struct eap_sm *sm, void *priv) in eap_aka_reset() 348 static struct wpabuf * eap_aka_build_identity(struct eap_sm *sm, in eap_aka_build_identity() 390 static int eap_aka_build_encr(struct eap_sm *sm, struct eap_aka_data *data, in eap_aka_build_encr() 465 static struct wpabuf * eap_aka_build_challenge(struct eap_sm *sm, in eap_aka_build_challenge() 541 static struct wpabuf * eap_aka_build_reauth(struct eap_sm *sm, in eap_aka_build_reauth() [all …]
|
D | eap_server_gtc.c | 21 static void * eap_gtc_init(struct eap_sm *sm) in eap_gtc_init() 43 static void eap_gtc_reset(struct eap_sm *sm, void *priv) in eap_gtc_reset() 50 static struct wpabuf * eap_gtc_buildReq(struct eap_sm *sm, void *priv, u8 id) in eap_gtc_buildReq() 77 static Boolean eap_gtc_check(struct eap_sm *sm, void *priv, in eap_gtc_check() 93 static void eap_gtc_process(struct eap_sm *sm, void *priv, in eap_gtc_process() 187 static Boolean eap_gtc_isDone(struct eap_sm *sm, void *priv) in eap_gtc_isDone() 194 static Boolean eap_gtc_isSuccess(struct eap_sm *sm, void *priv) in eap_gtc_isSuccess()
|
D | eap_server_sim.c | 74 static void * eap_sim_init(struct eap_sm *sm) in eap_sim_init() 92 static void eap_sim_reset(struct eap_sm *sm, void *priv) in eap_sim_reset() 101 static struct wpabuf * eap_sim_build_start(struct eap_sm *sm, in eap_sim_build_start() 147 static int eap_sim_build_encr(struct eap_sm *sm, struct eap_sim_data *data, in eap_sim_build_encr() 218 static struct wpabuf * eap_sim_build_challenge(struct eap_sm *sm, in eap_sim_build_challenge() 248 static struct wpabuf * eap_sim_build_reauth(struct eap_sm *sm, in eap_sim_build_reauth() 285 static struct wpabuf * eap_sim_build_notification(struct eap_sm *sm, in eap_sim_build_notification() 324 static struct wpabuf * eap_sim_buildReq(struct eap_sm *sm, void *priv, u8 id) in eap_sim_buildReq() 346 static Boolean eap_sim_check(struct eap_sm *sm, void *priv, in eap_sim_check() 413 static void eap_sim_process_start(struct eap_sm *sm, in eap_sim_process_start() [all …]
|
D | eap_server_psk.c | 33 static void * eap_psk_init(struct eap_sm *sm) in eap_psk_init() 46 static void eap_psk_reset(struct eap_sm *sm, void *priv) in eap_psk_reset() 54 static struct wpabuf * eap_psk_build_1(struct eap_sm *sm, in eap_psk_build_1() 89 static struct wpabuf * eap_psk_build_3(struct eap_sm *sm, in eap_psk_build_3() 156 static struct wpabuf * eap_psk_buildReq(struct eap_sm *sm, void *priv, u8 id) in eap_psk_buildReq() 174 static Boolean eap_psk_check(struct eap_sm *sm, void *priv, in eap_psk_check() 213 static void eap_psk_process_2(struct eap_sm *sm, in eap_psk_process_2() 328 static void eap_psk_process_4(struct eap_sm *sm, in eap_psk_process_4() 407 static void eap_psk_process(struct eap_sm *sm, void *priv, in eap_psk_process() 436 static Boolean eap_psk_isDone(struct eap_sm *sm, void *priv) in eap_psk_isDone() [all …]
|
D | eap_server_mschapv2.c | 58 static void * eap_mschapv2_init(struct eap_sm *sm) in eap_mschapv2_init() 86 static void eap_mschapv2_reset(struct eap_sm *sm, void *priv) in eap_mschapv2_reset() 98 struct eap_sm *sm, struct eap_mschapv2_data *data, u8 id) in eap_mschapv2_build_challenge() 141 struct eap_sm *sm, struct eap_mschapv2_data *data, u8 id) in eap_mschapv2_build_success_req() 185 struct eap_sm *sm, struct eap_mschapv2_data *data, u8 id) in eap_mschapv2_build_failure_req() 217 static struct wpabuf * eap_mschapv2_buildReq(struct eap_sm *sm, void *priv, in eap_mschapv2_buildReq() 238 static Boolean eap_mschapv2_check(struct eap_sm *sm, void *priv, in eap_mschapv2_check() 280 static void eap_mschapv2_process_response(struct eap_sm *sm, in eap_mschapv2_process_response() 451 static void eap_mschapv2_process_success_resp(struct eap_sm *sm, in eap_mschapv2_process_success_resp() 478 static void eap_mschapv2_process_failure_resp(struct eap_sm *sm, in eap_mschapv2_process_failure_resp() [all …]
|
D | eap_server_ttls.c | 24 static void eap_ttls_reset(struct eap_sm *sm, void *priv); 79 static void eap_ttls_valid_session(struct eap_sm *sm, in eap_ttls_valid_session() 331 static u8 * eap_ttls_implicit_challenge(struct eap_sm *sm, in eap_ttls_implicit_challenge() 339 static void * eap_ttls_init(struct eap_sm *sm) in eap_ttls_init() 359 static void eap_ttls_reset(struct eap_sm *sm, void *priv) in eap_ttls_reset() 372 static struct wpabuf * eap_ttls_build_start(struct eap_sm *sm, in eap_ttls_build_start() 395 struct eap_sm *sm, struct eap_ttls_data *data, u8 id) in eap_ttls_build_phase2_eap_req() 425 struct eap_sm *sm, struct eap_ttls_data *data) in eap_ttls_build_phase2_mschapv2() 465 static struct wpabuf * eap_ttls_buildReq(struct eap_sm *sm, void *priv, u8 id) in eap_ttls_buildReq() 511 static Boolean eap_ttls_check(struct eap_sm *sm, void *priv, in eap_ttls_check() [all …]
|
D | eap_server_pax.c | 46 static void * eap_pax_init(struct eap_sm *sm) in eap_pax_init() 64 static void eap_pax_reset(struct eap_sm *sm, void *priv) in eap_pax_reset() 72 static struct wpabuf * eap_pax_build_std_1(struct eap_sm *sm, in eap_pax_build_std_1() 119 static struct wpabuf * eap_pax_build_std_3(struct eap_sm *sm, in eap_pax_build_std_3() 165 static struct wpabuf * eap_pax_buildReq(struct eap_sm *sm, void *priv, u8 id) in eap_pax_buildReq() 183 static Boolean eap_pax_check(struct eap_sm *sm, void *priv, in eap_pax_check() 283 static void eap_pax_process_std_2(struct eap_sm *sm, in eap_pax_process_std_2() 442 static void eap_pax_process_ack(struct eap_sm *sm, in eap_pax_process_ack() 455 static void eap_pax_process(struct eap_sm *sm, void *priv, in eap_pax_process() 487 static Boolean eap_pax_isDone(struct eap_sm *sm, void *priv) in eap_pax_isDone() [all …]
|