/hostap-latest/src/eap_peer/ |
D | eap.h | 16 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 …]
|
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 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 …]
|
D | eap_tls_common.h | 65 struct eap_sm *eap; 105 int eap_peer_tls_ssl_init(struct eap_sm *sm, struct eap_ssl_data *data, 107 void eap_peer_tls_ssl_deinit(struct eap_sm *sm, struct eap_ssl_data *data); 108 u8 * eap_peer_tls_derive_key(struct eap_sm *sm, struct eap_ssl_data *data, 111 u8 * eap_peer_tls_derive_session_id(struct eap_sm *sm, 114 int eap_peer_tls_process_helper(struct eap_sm *sm, struct eap_ssl_data *data, 120 int eap_peer_tls_reauth_init(struct eap_sm *sm, struct eap_ssl_data *data); 121 int eap_peer_tls_status(struct eap_sm *sm, struct eap_ssl_data *data, 123 const u8 * eap_peer_tls_process_init(struct eap_sm *sm, 131 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 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 …]
|
D | eap_tls.c | 18 static void eap_tls_deinit(struct eap_sm *sm, void *priv); 33 static void * eap_tls_init(struct eap_sm *sm) in eap_tls_init() 83 static void * eap_unauth_tls_init(struct eap_sm *sm) in eap_unauth_tls_init() 110 static void * eap_wfa_unauth_tls_init(struct eap_sm *sm) in eap_wfa_unauth_tls_init() 145 static void eap_tls_deinit(struct eap_sm *sm, void *priv) in eap_tls_deinit() 158 static struct wpabuf * eap_tls_failure(struct eap_sm *sm, in eap_tls_failure() 180 static void eap_tls_success(struct eap_sm *sm, struct eap_tls_data *data, in eap_tls_success() 239 static struct wpabuf * eap_tls_process(struct eap_sm *sm, void *priv, in eap_tls_process() 331 static bool eap_tls_has_reauth_data(struct eap_sm *sm, void *priv) in eap_tls_has_reauth_data() 338 static void eap_tls_deinit_for_reauth(struct eap_sm *sm, void *priv) in eap_tls_deinit_for_reauth() [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 bool 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()
|
/hostap-latest/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 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 …]
|
D | eap.h | 18 struct eap_sm; 285 struct eap_sm * eap_server_sm_init(void *eapol_ctx, 289 void eap_server_sm_deinit(struct eap_sm *sm); 290 int eap_server_sm_step(struct eap_sm *sm); 291 void eap_sm_notify_cached(struct eap_sm *sm); 292 void eap_sm_pending_cb(struct eap_sm *sm); 293 int eap_sm_method_pending(struct eap_sm *sm); 294 const u8 * eap_get_identity(struct eap_sm *sm, size_t *len); 295 const char * eap_get_serial_num(struct eap_sm *sm); 296 const char * eap_get_method(struct eap_sm *sm); [all …]
|
D | eap_tls_common.h | 49 struct eap_sm *eap; 80 int eap_server_tls_ssl_init(struct eap_sm *sm, struct eap_ssl_data *data, 82 void eap_server_tls_ssl_deinit(struct eap_sm *sm, struct eap_ssl_data *data); 83 u8 * eap_server_tls_derive_key(struct eap_sm *sm, struct eap_ssl_data *data, 86 u8 * eap_server_tls_derive_session_id(struct eap_sm *sm, 92 int eap_server_tls_phase1(struct eap_sm *sm, struct eap_ssl_data *data); 93 struct wpabuf * eap_server_tls_encrypt(struct eap_sm *sm, 96 int eap_server_tls_process(struct eap_sm *sm, struct eap_ssl_data *data, 98 int (*proc_version)(struct eap_sm *sm, void *priv, 100 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() 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 …]
|
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 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()
|
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 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()
|
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 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 …]
|
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 bool 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 bool eap_md5_isDone(struct eap_sm *sm, void *priv) in eap_md5_isDone() 146 static bool 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 enum eap_type 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() 367 static int eap_fast_update_icmk(struct eap_sm *sm, struct eap_fast_data *data) in eap_fast_update_icmk() 400 static void * eap_fast_init(struct eap_sm *sm) in eap_fast_init() 497 static void eap_fast_reset(struct eap_sm *sm, void *priv) in eap_fast_reset() 514 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 28 static int eap_sm_calculateTimeout(struct eap_sm *sm, int retransCount, 31 static void eap_sm_parseEapResp(struct eap_sm *sm, const struct wpabuf *resp); 33 static struct wpabuf * eap_sm_buildSuccess(struct eap_sm *sm, u8 id); 34 static struct wpabuf * eap_sm_buildFailure(struct eap_sm *sm, u8 id); 35 static int eap_sm_nextId(struct eap_sm *sm, int id); 36 static void eap_sm_Policy_update(struct eap_sm *sm, const u8 *nak_list, 38 static enum eap_type eap_sm_Policy_getNextMethod(struct eap_sm *sm, 40 static int eap_sm_Policy_getDecision(struct eap_sm *sm); 41 static bool eap_sm_Policy_doPickUp(struct eap_sm *sm, enum eap_type method); [all …]
|
D | eap_server_mschapv2.c | 58 static void * eap_mschapv2_init(struct eap_sm *sm) in eap_mschapv2_init() 92 static void eap_mschapv2_reset(struct eap_sm *sm, void *priv) in eap_mschapv2_reset() 104 struct eap_sm *sm, struct eap_mschapv2_data *data, u8 id) in eap_mschapv2_build_challenge() 147 struct eap_sm *sm, struct eap_mschapv2_data *data, u8 id) in eap_mschapv2_build_success_req() 191 struct eap_sm *sm, struct eap_mschapv2_data *data, u8 id) in eap_mschapv2_build_failure_req() 223 static struct wpabuf * eap_mschapv2_buildReq(struct eap_sm *sm, void *priv, in eap_mschapv2_buildReq() 244 static bool eap_mschapv2_check(struct eap_sm *sm, void *priv, in eap_mschapv2_check() 286 static void eap_mschapv2_process_response(struct eap_sm *sm, in eap_mschapv2_process_response() 457 static void eap_mschapv2_process_success_resp(struct eap_sm *sm, in eap_mschapv2_process_success_resp() 484 static void eap_mschapv2_process_failure_resp(struct eap_sm *sm, in eap_mschapv2_process_failure_resp() [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 bool 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 bool eap_psk_isDone(struct eap_sm *sm, void *priv) in eap_psk_isDone() [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() 466 static struct wpabuf * eap_ttls_buildReq(struct eap_sm *sm, void *priv, u8 id) in eap_ttls_buildReq() 513 static bool eap_ttls_check(struct eap_sm *sm, void *priv, in eap_ttls_check() [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 bool 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 bool eap_gtc_isDone(struct eap_sm *sm, void *priv) in eap_gtc_isDone() 194 static bool eap_gtc_isSuccess(struct eap_sm *sm, void *priv) in eap_gtc_isSuccess()
|
D | eap_server_peap.c | 29 static void eap_peap_reset(struct eap_sm *sm, void *priv); 59 static int eap_peap_phase2_init(struct eap_sm *sm, struct eap_peap_data *data, 107 static void eap_peap_valid_session(struct eap_sm *sm, in eap_peap_valid_session() 136 static void eap_peap_req_success(struct eap_sm *sm, in eap_peap_req_success() 153 static void eap_peap_req_failure(struct eap_sm *sm, in eap_peap_req_failure() 171 static void * eap_peap_init(struct eap_sm *sm) in eap_peap_init() 199 static void eap_peap_reset(struct eap_sm *sm, void *priv) in eap_peap_reset() 214 static struct wpabuf * eap_peap_build_start(struct eap_sm *sm, in eap_peap_build_start() 236 static struct wpabuf * eap_peap_build_phase2_req(struct eap_sm *sm, in eap_peap_build_phase2_req() 272 static struct wpabuf * eap_peap_build_phase2_soh(struct eap_sm *sm, in eap_peap_build_phase2_soh() [all …]
|
D | eap_server_aka.c | 59 static void eap_aka_fullauth(struct eap_sm *sm, struct eap_aka_data *data); 92 static int eap_aka_check_identity_reauth(struct eap_sm *sm, in eap_aka_check_identity_reauth() 155 static void eap_aka_check_identity(struct eap_sm *sm, in eap_aka_check_identity() 221 static void * eap_aka_init(struct eap_sm *sm) in eap_aka_init() 245 static void * eap_aka_prime_init(struct eap_sm *sm) in eap_aka_prime_init() 278 static void eap_aka_reset(struct eap_sm *sm, void *priv) in eap_aka_reset() 389 static struct wpabuf * eap_aka_build_identity(struct eap_sm *sm, in eap_aka_build_identity() 431 static int eap_aka_build_encr(struct eap_sm *sm, struct eap_aka_data *data, in eap_aka_build_encr() 512 static struct wpabuf * eap_aka_build_challenge(struct eap_sm *sm, in eap_aka_build_challenge() 588 static struct wpabuf * eap_aka_build_reauth(struct eap_sm *sm, in eap_aka_build_reauth() [all …]
|
/hostap-latest/tests/fuzzing/eap-mschapv2-peer/ |
D | eap-mschapv2-peer.c | 52 struct eap_peer_config * eap_get_config(struct eap_sm *sm) in eap_get_config() 58 const u8 * eap_get_config_identity(struct eap_sm *sm, size_t *len) in eap_get_config_identity() 67 const u8 * eap_get_config_password(struct eap_sm *sm, size_t *len) in eap_get_config_password() 76 const u8 * eap_get_config_password2(struct eap_sm *sm, size_t *len, int *hash) in eap_get_config_password2() 87 const u8 * eap_get_config_new_password(struct eap_sm *sm, size_t *len) in eap_get_config_new_password() 94 void eap_sm_request_identity(struct eap_sm *sm) in eap_sm_request_identity() 99 void eap_sm_request_password(struct eap_sm *sm) in eap_sm_request_password() 104 void eap_sm_request_new_password(struct eap_sm *sm) in eap_sm_request_new_password() 112 struct eap_sm *sm; in LLVMFuzzerTestOneInput()
|
/hostap-latest/tests/fuzzing/eap-aka-peer/ |
D | eap-aka-peer.c | 52 struct eap_peer_config * eap_get_config(struct eap_sm *sm) in eap_get_config() 58 const u8 * eap_get_config_identity(struct eap_sm *sm, size_t *len) in eap_get_config_identity() 67 const char * eap_get_config_phase1(struct eap_sm *sm) in eap_get_config_phase1() 73 void eap_set_anon_id(struct eap_sm *sm, const u8 *id, size_t len) in eap_set_anon_id() 78 void eap_sm_request_identity(struct eap_sm *sm) in eap_sm_request_identity() 83 void eap_sm_request_sim(struct eap_sm *sm, const char *req) in eap_sm_request_sim() 91 struct eap_sm *sm; in LLVMFuzzerTestOneInput()
|
/hostap-latest/tests/fuzzing/eap-sim-peer/ |
D | eap-sim-peer.c | 52 struct eap_peer_config * eap_get_config(struct eap_sm *sm) in eap_get_config() 58 const u8 * eap_get_config_identity(struct eap_sm *sm, size_t *len) in eap_get_config_identity() 67 void eap_set_anon_id(struct eap_sm *sm, const u8 *id, size_t len) in eap_set_anon_id() 72 void eap_sm_request_identity(struct eap_sm *sm) in eap_sm_request_identity() 77 void eap_sm_request_sim(struct eap_sm *sm, const char *req) in eap_sm_request_sim() 85 struct eap_sm *sm; in LLVMFuzzerTestOneInput()
|