/external/wpa_supplicant_8/src/eap_peer/ |
D | eap.h | 16 struct eap_sm; 266 struct eap_sm * eap_peer_sm_init(void *eapol_ctx, 269 void eap_peer_sm_deinit(struct eap_sm *sm); 270 int eap_peer_sm_step(struct eap_sm *sm); 271 void eap_sm_abort(struct eap_sm *sm); 272 int eap_sm_get_status(struct eap_sm *sm, char *buf, size_t buflen, 274 const char * eap_sm_get_method_name(struct eap_sm *sm); 275 struct wpabuf * eap_sm_buildIdentity(struct eap_sm *sm, int id, int encrypted); 276 void eap_sm_request_identity(struct eap_sm *sm); 277 void eap_sm_request_password(struct eap_sm *sm); [all …]
|
D | eap_i.h | 89 void * (*init)(struct eap_sm *sm); 98 void (*deinit)(struct eap_sm *sm, void *priv); 115 struct wpabuf * (*process)(struct eap_sm *sm, void *priv, 125 Boolean (*isKeyAvailable)(struct eap_sm *sm, void *priv); 138 u8 * (*getKey)(struct eap_sm *sm, void *priv, size_t *len); 154 int (*get_status)(struct eap_sm *sm, void *priv, char *buf, 167 Boolean (*has_reauth_data)(struct eap_sm *sm, void *priv); 180 void (*deinit_for_reauth)(struct eap_sm *sm, void *priv); 192 void * (*init_for_reauth)(struct eap_sm *sm, void *priv); 205 const u8 * (*get_identity)(struct eap_sm *sm, void *priv, size_t *len); [all …]
|
D | eap_tls_common.h | 65 struct eap_sm *eap; 79 int eap_peer_tls_ssl_init(struct eap_sm *sm, struct eap_ssl_data *data, 81 void eap_peer_tls_ssl_deinit(struct eap_sm *sm, struct eap_ssl_data *data); 82 u8 * eap_peer_tls_derive_key(struct eap_sm *sm, struct eap_ssl_data *data, 84 int eap_peer_tls_process_helper(struct eap_sm *sm, struct eap_ssl_data *data, 90 int eap_peer_tls_reauth_init(struct eap_sm *sm, struct eap_ssl_data *data); 91 int eap_peer_tls_status(struct eap_sm *sm, struct eap_ssl_data *data, 93 const u8 * eap_peer_tls_process_init(struct eap_sm *sm, 101 int eap_peer_tls_decrypt(struct eap_sm *sm, struct eap_ssl_data *data, 104 int eap_peer_tls_encrypt(struct eap_sm *sm, struct eap_ssl_data *data,
|
D | eap.c | 30 #define STATE_MACHINE_DATA struct eap_sm 37 static Boolean eap_sm_allowMethod(struct eap_sm *sm, int vendor, 39 static struct wpabuf * eap_sm_buildNak(struct eap_sm *sm, int id); 40 static void eap_sm_processIdentity(struct eap_sm *sm, 42 static void eap_sm_processNotify(struct eap_sm *sm, const struct wpabuf *req); 44 static void eap_sm_parseEapReq(struct eap_sm *sm, const struct wpabuf *req); 52 static Boolean eapol_get_bool(struct eap_sm *sm, enum eapol_bool_var var) in eapol_get_bool() 58 static void eapol_set_bool(struct eap_sm *sm, enum eapol_bool_var var, in eapol_set_bool() 65 static unsigned int eapol_get_int(struct eap_sm *sm, enum eapol_int_var var) in eapol_get_int() 71 static void eapol_set_int(struct eap_sm *sm, enum eapol_int_var var, in eapol_set_int() [all …]
|
D | eap_tls.c | 18 static void eap_tls_deinit(struct eap_sm *sm, void *priv); 27 static void * eap_tls_init(struct eap_sm *sm) in eap_tls_init() 65 static void eap_tls_deinit(struct eap_sm *sm, void *priv) in eap_tls_deinit() 76 static struct wpabuf * eap_tls_failure(struct eap_sm *sm, in eap_tls_failure() 112 static void eap_tls_success(struct eap_sm *sm, struct eap_tls_data *data, in eap_tls_success() 137 static struct wpabuf * eap_tls_process(struct eap_sm *sm, void *priv, in eap_tls_process() 180 static Boolean eap_tls_has_reauth_data(struct eap_sm *sm, void *priv) in eap_tls_has_reauth_data() 187 static void eap_tls_deinit_for_reauth(struct eap_sm *sm, void *priv) in eap_tls_deinit_for_reauth() 192 static void * eap_tls_init_for_reauth(struct eap_sm *sm, void *priv) in eap_tls_init_for_reauth() 205 static int eap_tls_get_status(struct eap_sm *sm, void *priv, char *buf, in eap_tls_get_status() [all …]
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
D | eap.h | 22 struct eap_sm; 256 struct eap_sm * eap_peer_sm_init(void *eapol_ctx, 259 void eap_peer_sm_deinit(struct eap_sm *sm); 260 int eap_peer_sm_step(struct eap_sm *sm); 261 void eap_sm_abort(struct eap_sm *sm); 262 int eap_sm_get_status(struct eap_sm *sm, char *buf, size_t buflen, 264 struct wpabuf * eap_sm_buildIdentity(struct eap_sm *sm, int id, int encrypted); 265 void eap_sm_request_identity(struct eap_sm *sm); 266 void eap_sm_request_password(struct eap_sm *sm); 267 void eap_sm_request_new_password(struct eap_sm *sm); [all …]
|
D | eap_i.h | 95 void * (*init)(struct eap_sm *sm); 104 void (*deinit)(struct eap_sm *sm, void *priv); 121 struct wpabuf * (*process)(struct eap_sm *sm, void *priv, 131 Boolean (*isKeyAvailable)(struct eap_sm *sm, void *priv); 144 u8 * (*getKey)(struct eap_sm *sm, void *priv, size_t *len); 160 int (*get_status)(struct eap_sm *sm, void *priv, char *buf, 173 Boolean (*has_reauth_data)(struct eap_sm *sm, void *priv); 186 void (*deinit_for_reauth)(struct eap_sm *sm, void *priv); 198 void * (*init_for_reauth)(struct eap_sm *sm, void *priv); 211 const u8 * (*get_identity)(struct eap_sm *sm, void *priv, size_t *len); [all …]
|
D | eap_tls_common.h | 86 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, 108 int eap_peer_tls_process_helper(struct eap_sm *sm, struct eap_ssl_data *data, 114 int eap_peer_tls_reauth_init(struct eap_sm *sm, struct eap_ssl_data *data); 115 int eap_peer_tls_status(struct eap_sm *sm, struct eap_ssl_data *data, 117 const u8 * eap_peer_tls_process_init(struct eap_sm *sm, 125 int eap_peer_tls_decrypt(struct eap_sm *sm, struct eap_ssl_data *data, 128 int eap_peer_tls_encrypt(struct eap_sm *sm, struct eap_ssl_data *data,
|
D | eap.c | 36 #define STATE_MACHINE_DATA struct eap_sm 42 static Boolean eap_sm_allowMethod(struct eap_sm *sm, int vendor, 44 static struct wpabuf * eap_sm_buildNak(struct eap_sm *sm, int id); 45 static void eap_sm_processIdentity(struct eap_sm *sm, 47 static void eap_sm_processNotify(struct eap_sm *sm, const struct wpabuf *req); 49 static void eap_sm_parseEapReq(struct eap_sm *sm, const struct wpabuf *req); 57 static Boolean 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() 76 static void eapol_set_int(struct eap_sm *sm, enum eapol_int_var var, in eapol_set_int() [all …]
|
D | eap_tls.c | 24 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() 71 static void eap_tls_deinit(struct eap_sm *sm, void *priv) in eap_tls_deinit() 82 static struct wpabuf * eap_tls_failure(struct eap_sm *sm, in eap_tls_failure() 118 static void eap_tls_success(struct eap_sm *sm, struct eap_tls_data *data, in eap_tls_success() 143 static struct wpabuf * eap_tls_process(struct eap_sm *sm, void *priv, in eap_tls_process() 186 static Boolean eap_tls_has_reauth_data(struct eap_sm *sm, void *priv) in eap_tls_has_reauth_data() 193 static void eap_tls_deinit_for_reauth(struct eap_sm *sm, void *priv) in eap_tls_deinit_for_reauth() 198 static void * eap_tls_init_for_reauth(struct eap_sm *sm, void *priv) in eap_tls_init_for_reauth() 211 static int eap_tls_get_status(struct eap_sm *sm, void *priv, char *buf, in eap_tls_get_status() [all …]
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
D | eap_i.h | 35 void * (*init)(struct eap_sm *sm); 36 void * (*initPickUp)(struct eap_sm *sm); 37 void (*reset)(struct eap_sm *sm, void *priv); 39 struct wpabuf * (*buildReq)(struct eap_sm *sm, void *priv, u8 id); 40 int (*getTimeout)(struct eap_sm *sm, void *priv); 41 Boolean (*check)(struct eap_sm *sm, void *priv, 43 void (*process)(struct eap_sm *sm, void *priv, 45 Boolean (*isDone)(struct eap_sm *sm, void *priv); 46 u8 * (*getKey)(struct eap_sm *sm, void *priv, size_t *len); 49 Boolean (*isSuccess)(struct eap_sm *sm, void *priv); [all …]
|
D | eap_tls_common.h | 25 struct eap_sm *eap; 45 int eap_server_tls_ssl_init(struct eap_sm *sm, struct eap_ssl_data *data, 47 void eap_server_tls_ssl_deinit(struct eap_sm *sm, struct eap_ssl_data *data); 48 u8 * eap_server_tls_derive_key(struct eap_sm *sm, struct eap_ssl_data *data, 53 int eap_server_tls_phase1(struct eap_sm *sm, struct eap_ssl_data *data); 54 struct wpabuf * eap_server_tls_encrypt(struct eap_sm *sm, 57 int eap_server_tls_process(struct eap_sm *sm, struct eap_ssl_data *data, 59 int (*proc_version)(struct eap_sm *sm, void *priv, 61 void (*proc_msg)(struct eap_sm *sm, void *priv,
|
D | eap.h | 23 struct eap_sm; 111 struct eap_sm * eap_server_sm_init(void *eapol_ctx, 114 void eap_server_sm_deinit(struct eap_sm *sm); 115 int eap_server_sm_step(struct eap_sm *sm); 116 void eap_sm_notify_cached(struct eap_sm *sm); 117 void eap_sm_pending_cb(struct eap_sm *sm); 118 int eap_sm_method_pending(struct eap_sm *sm); 119 const u8 * eap_get_identity(struct eap_sm *sm, size_t *len); 120 struct eap_eapol_interface * eap_get_interface(struct eap_sm *sm);
|
D | eap_tls.c | 23 static void eap_tls_reset(struct eap_sm *sm, void *priv); 59 static void * eap_tls_init(struct eap_sm *sm) in eap_tls_init() 78 static void eap_tls_reset(struct eap_sm *sm, void *priv) in eap_tls_reset() 88 static struct wpabuf * eap_tls_build_start(struct eap_sm *sm, in eap_tls_build_start() 110 static struct wpabuf * eap_tls_buildReq(struct eap_sm *sm, void *priv, u8 id) in eap_tls_buildReq() 152 static Boolean eap_tls_check(struct eap_sm *sm, void *priv, in eap_tls_check() 168 static void eap_tls_process_msg(struct eap_sm *sm, void *priv, in eap_tls_process_msg() 182 static void eap_tls_process(struct eap_sm *sm, void *priv, in eap_tls_process() 193 static Boolean eap_tls_isDone(struct eap_sm *sm, void *priv) in eap_tls_isDone() 200 static u8 * eap_tls_getKey(struct eap_sm *sm, void *priv, size_t *len) in eap_tls_getKey() [all …]
|
D | eap_identity.c | 27 static void * eap_identity_init(struct eap_sm *sm) in eap_identity_init() 40 static void * eap_identity_initPickUp(struct eap_sm *sm) in eap_identity_initPickUp() 51 static void eap_identity_reset(struct eap_sm *sm, void *priv) in eap_identity_reset() 58 static struct wpabuf * eap_identity_buildReq(struct eap_sm *sm, void *priv, in eap_identity_buildReq() 88 static Boolean eap_identity_check(struct eap_sm *sm, void *priv, in eap_identity_check() 105 static void eap_identity_process(struct eap_sm *sm, void *priv, in eap_identity_process() 142 static Boolean eap_identity_isDone(struct eap_sm *sm, void *priv) in eap_identity_isDone() 149 static Boolean eap_identity_isSuccess(struct eap_sm *sm, void *priv) in eap_identity_isSuccess()
|
D | eap_vendor_test.c | 57 static void * eap_vendor_test_init(struct eap_sm *sm) in eap_vendor_test_init() 70 static void eap_vendor_test_reset(struct eap_sm *sm, void *priv) in eap_vendor_test_reset() 77 static struct wpabuf * eap_vendor_test_buildReq(struct eap_sm *sm, void *priv, in eap_vendor_test_buildReq() 97 static Boolean eap_vendor_test_check(struct eap_sm *sm, void *priv, in eap_vendor_test_check() 113 static void eap_vendor_test_process(struct eap_sm *sm, void *priv, in eap_vendor_test_process() 139 static Boolean eap_vendor_test_isDone(struct eap_sm *sm, void *priv) in eap_vendor_test_isDone() 146 static u8 * eap_vendor_test_getKey(struct eap_sm *sm, void *priv, size_t *len) in eap_vendor_test_getKey() 167 static Boolean eap_vendor_test_isSuccess(struct eap_sm *sm, void *priv) in eap_vendor_test_isSuccess()
|
D | eap_md5.c | 30 static void * eap_md5_init(struct eap_sm *sm) in eap_md5_init() 43 static void eap_md5_reset(struct eap_sm *sm, void *priv) in eap_md5_reset() 50 static struct wpabuf * eap_md5_buildReq(struct eap_sm *sm, void *priv, u8 id) in eap_md5_buildReq() 81 static Boolean eap_md5_check(struct eap_sm *sm, void *priv, in eap_md5_check() 103 static void eap_md5_process(struct eap_sm *sm, void *priv, in eap_md5_process() 140 static Boolean eap_md5_isDone(struct eap_sm *sm, void *priv) in eap_md5_isDone() 147 static Boolean eap_md5_isSuccess(struct eap_sm *sm, void *priv) in eap_md5_isSuccess()
|
/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_tls_common.h | 49 struct eap_sm *eap; 66 int eap_server_tls_ssl_init(struct eap_sm *sm, struct eap_ssl_data *data, 68 void eap_server_tls_ssl_deinit(struct eap_sm *sm, struct eap_ssl_data *data); 69 u8 * eap_server_tls_derive_key(struct eap_sm *sm, struct eap_ssl_data *data, 74 int eap_server_tls_phase1(struct eap_sm *sm, struct eap_ssl_data *data); 75 struct wpabuf * eap_server_tls_encrypt(struct eap_sm *sm, 78 int eap_server_tls_process(struct eap_sm *sm, struct eap_ssl_data *data, 80 int (*proc_version)(struct eap_sm *sm, void *priv, 82 void (*proc_msg)(struct eap_sm *sm, void *priv,
|
D | eap.h | 17 struct eap_sm; 110 struct eap_sm * eap_server_sm_init(void *eapol_ctx, 113 void eap_server_sm_deinit(struct eap_sm *sm); 114 int eap_server_sm_step(struct eap_sm *sm); 115 void eap_sm_notify_cached(struct eap_sm *sm); 116 void eap_sm_pending_cb(struct eap_sm *sm); 117 int eap_sm_method_pending(struct eap_sm *sm); 118 const u8 * eap_get_identity(struct eap_sm *sm, size_t *len); 119 struct eap_eapol_interface * eap_get_interface(struct eap_sm *sm); 120 void eap_server_clear_identity(struct eap_sm *sm);
|
D | eap_server_tls.c | 17 static void eap_tls_reset(struct eap_sm *sm, void *priv); 53 static void * eap_tls_init(struct eap_sm *sm) in eap_tls_init() 72 static void eap_tls_reset(struct eap_sm *sm, void *priv) in eap_tls_reset() 82 static struct wpabuf * eap_tls_build_start(struct eap_sm *sm, in eap_tls_build_start() 104 static struct wpabuf * eap_tls_buildReq(struct eap_sm *sm, void *priv, u8 id) in eap_tls_buildReq() 146 static Boolean eap_tls_check(struct eap_sm *sm, void *priv, in eap_tls_check() 162 static void eap_tls_process_msg(struct eap_sm *sm, void *priv, in eap_tls_process_msg() 176 static void eap_tls_process(struct eap_sm *sm, void *priv, in eap_tls_process() 187 static Boolean eap_tls_isDone(struct eap_sm *sm, void *priv) in eap_tls_isDone() 194 static u8 * eap_tls_getKey(struct eap_sm *sm, void *priv, size_t *len) in eap_tls_getKey() [all …]
|
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() 136 static Boolean eap_identity_isDone(struct eap_sm *sm, void *priv) in eap_identity_isDone() 143 static Boolean eap_identity_isSuccess(struct eap_sm *sm, void *priv) in eap_identity_isSuccess()
|
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_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() 135 static Boolean eap_md5_isDone(struct eap_sm *sm, void *priv) in eap_md5_isDone() 142 static Boolean eap_md5_isSuccess(struct eap_sm *sm, void *priv) in eap_md5_isSuccess()
|
D | eap_server_sake.c | 63 static void * eap_sake_init(struct eap_sm *sm) in eap_sake_init() 89 static void eap_sake_reset(struct eap_sm *sm, void *priv) in eap_sake_reset() 124 static struct wpabuf * eap_sake_build_identity(struct eap_sm *sm, in eap_sake_build_identity() 155 static struct wpabuf * eap_sake_build_challenge(struct eap_sm *sm, in eap_sake_build_challenge() 195 static struct wpabuf * eap_sake_build_confirm(struct eap_sm *sm, in eap_sake_build_confirm() 230 static struct wpabuf * eap_sake_buildReq(struct eap_sm *sm, void *priv, u8 id) in eap_sake_buildReq() 250 static Boolean eap_sake_check(struct eap_sm *sm, void *priv, in eap_sake_check() 302 static void eap_sake_process_identity(struct eap_sm *sm, in eap_sake_process_identity() 316 static void eap_sake_process_challenge(struct eap_sm *sm, in eap_sake_process_challenge() 379 static void eap_sake_process_confirm(struct eap_sm *sm, in eap_sake_process_confirm() [all …]
|