Home
last modified time | relevance | path

Searched refs:eap_sm (Results 1 – 25 of 124) sorted by relevance

12345

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
Deap.h16 struct eap_sm;
330 struct eap_sm * eap_peer_sm_init(void *eapol_ctx,
333 void eap_peer_sm_deinit(struct eap_sm *sm);
334 int eap_peer_sm_step(struct eap_sm *sm);
335 void eap_sm_abort(struct eap_sm *sm);
336 int eap_sm_get_status(struct eap_sm *sm, char *buf, size_t buflen,
338 const char * eap_sm_get_method_name(struct eap_sm *sm);
339 struct wpabuf * eap_sm_buildIdentity(struct eap_sm *sm, int id, int encrypted);
340 void eap_sm_request_identity(struct eap_sm *sm);
341 void eap_sm_request_password(struct eap_sm *sm);
[all …]
Deap_i.h92 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 …]
Deap_tls_common.h65 struct eap_sm *eap;
100 int eap_peer_tls_ssl_init(struct eap_sm *sm, struct eap_ssl_data *data,
102 void eap_peer_tls_ssl_deinit(struct eap_sm *sm, struct eap_ssl_data *data);
103 u8 * eap_peer_tls_derive_key(struct eap_sm *sm, struct eap_ssl_data *data,
106 u8 * eap_peer_tls_derive_session_id(struct eap_sm *sm,
109 int eap_peer_tls_process_helper(struct eap_sm *sm, struct eap_ssl_data *data,
115 int eap_peer_tls_reauth_init(struct eap_sm *sm, struct eap_ssl_data *data);
116 int eap_peer_tls_status(struct eap_sm *sm, struct eap_ssl_data *data,
118 const u8 * eap_peer_tls_process_init(struct eap_sm *sm,
126 int eap_peer_tls_decrypt(struct eap_sm *sm, struct eap_ssl_data *data,
[all …]
Deap.c32 #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 …]
Deap_tls.c18 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()
232 static struct wpabuf * eap_tls_process(struct eap_sm *sm, void *priv, in eap_tls_process()
323 static Boolean eap_tls_has_reauth_data(struct eap_sm *sm, void *priv) in eap_tls_has_reauth_data()
330 static void eap_tls_deinit_for_reauth(struct eap_sm *sm, void *priv) in eap_tls_deinit_for_reauth()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
Deap.h16 struct eap_sm;
329 struct eap_sm * eap_peer_sm_init(void *eapol_ctx,
332 void eap_peer_sm_deinit(struct eap_sm *sm);
333 int eap_peer_sm_step(struct eap_sm *sm);
334 void eap_sm_abort(struct eap_sm *sm);
335 int eap_sm_get_status(struct eap_sm *sm, char *buf, size_t buflen,
337 const char * eap_sm_get_method_name(struct eap_sm *sm);
338 struct wpabuf * eap_sm_buildIdentity(struct eap_sm *sm, int id, int encrypted);
339 void eap_sm_request_identity(struct eap_sm *sm);
340 void eap_sm_request_password(struct eap_sm *sm);
[all …]
Deap_i.h92 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 bool (*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 bool (*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 …]
Deap_tls_common.h65 struct eap_sm *eap;
100 int eap_peer_tls_ssl_init(struct eap_sm *sm, struct eap_ssl_data *data,
102 void eap_peer_tls_ssl_deinit(struct eap_sm *sm, struct eap_ssl_data *data);
103 u8 * eap_peer_tls_derive_key(struct eap_sm *sm, struct eap_ssl_data *data,
106 u8 * eap_peer_tls_derive_session_id(struct eap_sm *sm,
109 int eap_peer_tls_process_helper(struct eap_sm *sm, struct eap_ssl_data *data,
115 int eap_peer_tls_reauth_init(struct eap_sm *sm, struct eap_ssl_data *data);
116 int eap_peer_tls_status(struct eap_sm *sm, struct eap_ssl_data *data,
118 const u8 * eap_peer_tls_process_init(struct eap_sm *sm,
126 int eap_peer_tls_decrypt(struct eap_sm *sm, struct eap_ssl_data *data,
[all …]
Deap.c32 #define STATE_MACHINE_DATA struct eap_sm
40 static bool eap_sm_allowMethod(struct eap_sm *sm, int vendor,
42 static struct wpabuf * eap_sm_buildNak(struct eap_sm *sm, int id);
43 static void eap_sm_processIdentity(struct eap_sm *sm,
45 static void eap_sm_processNotify(struct eap_sm *sm, const struct wpabuf *req);
47 static void eap_sm_parseEapReq(struct eap_sm *sm, const struct wpabuf *req);
52 static void eap_sm_request(struct eap_sm *sm, enum wpa_ctrl_req_type field,
57 static bool eapol_get_bool(struct eap_sm *sm, enum eapol_bool_var var) in eapol_get_bool()
63 static void eapol_set_bool(struct eap_sm *sm, enum eapol_bool_var var, in eapol_set_bool()
70 static unsigned int eapol_get_int(struct eap_sm *sm, enum eapol_int_var var) in eapol_get_int()
[all …]
Deap_tls.c18 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()
82 static void * eap_unauth_tls_init(struct eap_sm *sm) in eap_unauth_tls_init()
109 static void * eap_wfa_unauth_tls_init(struct eap_sm *sm) in eap_wfa_unauth_tls_init()
144 static void eap_tls_deinit(struct eap_sm *sm, void *priv) in eap_tls_deinit()
157 static struct wpabuf * eap_tls_failure(struct eap_sm *sm, in eap_tls_failure()
179 static void eap_tls_success(struct eap_sm *sm, struct eap_tls_data *data, in eap_tls_success()
238 static struct wpabuf * eap_tls_process(struct eap_sm *sm, void *priv, in eap_tls_process()
325 static bool eap_tls_has_reauth_data(struct eap_sm *sm, void *priv) in eap_tls_has_reauth_data()
332 static void eap_tls_deinit_for_reauth(struct eap_sm *sm, void *priv) in eap_tls_deinit_for_reauth()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
Deap_i.h29 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 bool (*check)(struct eap_sm *sm, void *priv, struct wpabuf *respData);
36 void (*process)(struct eap_sm *sm, void *priv,
38 bool (*isDone)(struct eap_sm *sm, void *priv);
39 u8 * (*getKey)(struct eap_sm *sm, void *priv, size_t *len);
42 bool (*isSuccess)(struct eap_sm *sm, void *priv);
[all …]
Deap.h18 struct eap_sm;
273 struct eap_sm * eap_server_sm_init(void *eapol_ctx,
277 void eap_server_sm_deinit(struct eap_sm *sm);
278 int eap_server_sm_step(struct eap_sm *sm);
279 void eap_sm_notify_cached(struct eap_sm *sm);
280 void eap_sm_pending_cb(struct eap_sm *sm);
281 int eap_sm_method_pending(struct eap_sm *sm);
282 const u8 * eap_get_identity(struct eap_sm *sm, size_t *len);
283 const char * eap_get_serial_num(struct eap_sm *sm);
284 const char * eap_get_method(struct eap_sm *sm);
[all …]
Deap_tls_common.h49 struct eap_sm *eap;
78 int eap_server_tls_ssl_init(struct eap_sm *sm, struct eap_ssl_data *data,
80 void eap_server_tls_ssl_deinit(struct eap_sm *sm, struct eap_ssl_data *data);
81 u8 * eap_server_tls_derive_key(struct eap_sm *sm, struct eap_ssl_data *data,
84 u8 * eap_server_tls_derive_session_id(struct eap_sm *sm,
90 int eap_server_tls_phase1(struct eap_sm *sm, struct eap_ssl_data *data);
91 struct wpabuf * eap_server_tls_encrypt(struct eap_sm *sm,
94 int eap_server_tls_process(struct eap_sm *sm, struct eap_ssl_data *data,
96 int (*proc_version)(struct eap_sm *sm, void *priv,
98 void (*proc_msg)(struct eap_sm *sm, void *priv,
Deap_server_vendor_test.c51 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 bool 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 bool 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 bool eap_vendor_test_isSuccess(struct eap_sm *sm, void *priv) in eap_vendor_test_isSuccess()
Deap_server_tls.c17 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()
229 static bool eap_tls_check(struct eap_sm *sm, void *priv, in eap_tls_check()
256 static void eap_tls_process_msg(struct eap_sm *sm, void *priv, in eap_tls_process_msg()
[all …]
Deap_server_identity.c21 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 bool 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 bool eap_identity_isDone(struct eap_sm *sm, void *priv) in eap_identity_isDone()
150 static bool eap_identity_isSuccess(struct eap_sm *sm, void *priv) in eap_identity_isSuccess()
Deap_server_sake.c61 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 bool 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()
372 static void eap_sake_process_confirm(struct eap_sm *sm, in eap_sake_process_confirm()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
Deap_i.h29 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 …]
Deap.h18 struct eap_sm;
149 struct eap_sm * eap_server_sm_init(void *eapol_ctx,
152 void eap_server_sm_deinit(struct eap_sm *sm);
153 int eap_server_sm_step(struct eap_sm *sm);
154 void eap_sm_notify_cached(struct eap_sm *sm);
155 void eap_sm_pending_cb(struct eap_sm *sm);
156 int eap_sm_method_pending(struct eap_sm *sm);
157 const u8 * eap_get_identity(struct eap_sm *sm, size_t *len);
158 const char * eap_get_serial_num(struct eap_sm *sm);
159 const char * eap_get_method(struct eap_sm *sm);
[all …]
Deap_tls_common.h49 struct eap_sm *eap;
78 int eap_server_tls_ssl_init(struct eap_sm *sm, struct eap_ssl_data *data,
80 void eap_server_tls_ssl_deinit(struct eap_sm *sm, struct eap_ssl_data *data);
81 u8 * eap_server_tls_derive_key(struct eap_sm *sm, struct eap_ssl_data *data,
84 u8 * eap_server_tls_derive_session_id(struct eap_sm *sm,
90 int eap_server_tls_phase1(struct eap_sm *sm, struct eap_ssl_data *data);
91 struct wpabuf * eap_server_tls_encrypt(struct eap_sm *sm,
94 int eap_server_tls_process(struct eap_sm *sm, struct eap_ssl_data *data,
96 int (*proc_version)(struct eap_sm *sm, void *priv,
98 void (*proc_msg)(struct eap_sm *sm, void *priv,
Deap_server_vendor_test.c51 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()
Deap_server_tls.c17 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 …]
Deap_server_identity.c21 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()
Deap_server_sake.c61 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()
372 static void eap_sake_process_confirm(struct eap_sm *sm, in eap_sake_process_confirm()
[all …]
Deap_server_md5.c25 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()

12345