/external/wpa_supplicant_6/wpa_supplicant/src/wps/ |
wps_upnp.h | 28 struct wpabuf * (*rx_req_get_device_info)( 30 struct wpabuf * (*rx_req_put_message)( 32 const struct wpabuf *msg); 33 struct wpabuf * (*rx_req_get_ap_settings)(void *priv, 34 const struct wpabuf *msg); 35 int (*rx_req_set_ap_settings)(void *priv, const struct wpabuf *msg); 36 int (*rx_req_del_ap_settings)(void *priv, const struct wpabuf *msg); 37 struct wpabuf * (*rx_req_get_sta_settings)(void *priv, 38 const struct wpabuf *msg); 39 int (*rx_req_set_sta_settings)(void *priv, const struct wpabuf *msg) [all...] |
wps_i.h | 59 struct wpabuf *dh_privkey; 60 struct wpabuf *dh_pubkey_e; 61 struct wpabuf *dh_pubkey_r; 66 struct wpabuf *last_msg; 184 struct wpabuf * wps_decrypt_encr_settings(struct wps_data *wps, const u8 *encr, 193 int wps_parse_msg(const struct wpabuf *msg, struct wps_parse_attr *attr); 196 int wps_build_public_key(struct wps_data *wps, struct wpabuf *msg); 197 int wps_build_req_type(struct wpabuf *msg, enum wps_request_type type); 198 int wps_build_config_methods(struct wpabuf *msg, u16 methods); 199 int wps_build_uuid_e(struct wpabuf *msg, const u8 *uuid) [all...] |
wps_dev_attr.h | 20 int wps_build_device_attrs(struct wps_device_data *dev, struct wpabuf *msg); 21 int wps_build_os_version(struct wps_device_data *dev, struct wpabuf *msg); 22 int wps_build_rf_bands(struct wps_device_data *dev, struct wpabuf *msg); 24 struct wpabuf *msg);
|
wps_attr_build.c | 24 int wps_build_public_key(struct wps_data *wps, struct wpabuf *msg) 26 struct wpabuf *pubkey; 53 int wps_build_req_type(struct wpabuf *msg, enum wps_request_type type) 63 int wps_build_config_methods(struct wpabuf *msg, u16 methods) 73 int wps_build_uuid_e(struct wpabuf *msg, const u8 *uuid) 83 int wps_build_dev_password_id(struct wpabuf *msg, u16 id) 93 int wps_build_config_error(struct wpabuf *msg, u16 err) 103 int wps_build_authenticator(struct wps_data *wps, struct wpabuf *msg) 133 int wps_build_version(struct wpabuf *msg) 143 int wps_build_msg_type(struct wpabuf *msg, enum wps_msg_type msg_type [all...] |
wps_enrollee.c | 23 static int wps_build_mac_addr(struct wps_data *wps, struct wpabuf *msg) 33 static int wps_build_wps_state(struct wps_data *wps, struct wpabuf *msg) 49 static int wps_build_e_hash(struct wps_data *wps, struct wpabuf *msg) 97 static int wps_build_e_snonce1(struct wps_data *wps, struct wpabuf *msg) 107 static int wps_build_e_snonce2(struct wps_data *wps, struct wpabuf *msg) 118 static struct wpabuf * wps_build_m1(struct wps_data *wps) 120 struct wpabuf *msg; 163 static struct wpabuf * wps_build_m3(struct wps_data *wps) 165 struct wpabuf *msg; 193 static struct wpabuf * wps_build_m5(struct wps_data *wps [all...] |
wps.c | 135 const struct wpabuf *msg) 153 struct wpabuf * wps_get_msg(struct wps_data *wps, enum wsc_op_code *op_code) 167 int wps_is_selected_pbc_registrar(const struct wpabuf *msg) 193 int wps_is_selected_pin_registrar(const struct wpabuf *msg) 227 const u8 * wps_get_uuid_e(const struct wpabuf *msg) 244 struct wpabuf * wps_build_assoc_req_ie(enum wps_request_type req_type) 246 struct wpabuf *ie; 281 struct wpabuf * wps_build_probe_req_ie(int pbc, struct wps_device_data *dev, 285 struct wpabuf *ie;
|
/external/wpa_supplicant_6/wpa_supplicant/src/utils/ |
wpabuf.h | 19 * Internal data structure for wpabuf. Please do not touch this directly from 23 struct wpabuf { struct 27 * struct wpabuf */ 32 int wpabuf_resize(struct wpabuf **buf, size_t add_len); 33 struct wpabuf * wpabuf_alloc(size_t len); 34 struct wpabuf * wpabuf_alloc_ext_data(u8 *data, size_t len); 35 struct wpabuf * wpabuf_alloc_copy(const void *data, size_t len); 36 struct wpabuf * wpabuf_dup(const struct wpabuf *src); 37 void wpabuf_free(struct wpabuf *buf) [all...] |
wpabuf.c | 18 #include "wpabuf.h" 20 static void wpabuf_overflow(const struct wpabuf *buf, size_t len) 22 wpa_printf(MSG_ERROR, "wpabuf %p (size=%lu used=%lu) overflow len=%lu", 29 int wpabuf_resize(struct wpabuf **_buf, size_t add_len) 31 struct wpabuf *buf = *_buf; 45 nbuf = os_realloc(buf, sizeof(struct wpabuf) + 49 buf = (struct wpabuf *) nbuf; 50 os_memset(nbuf + sizeof(struct wpabuf) + buf->used, 0, 62 * wpabuf_alloc - Allocate a wpabuf of the given size 64 * Returns: Buffer to the allocated wpabuf or %NULL on failur [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
eap_common.h | 18 #include "wpabuf.h" 21 const struct wpabuf *msg, size_t *plen); 22 struct wpabuf * eap_msg_alloc(int vendor, EapType type, size_t payload_len, 24 void eap_update_len(struct wpabuf *msg); 25 u8 eap_get_id(const struct wpabuf *msg); 26 EapType eap_get_type(const struct wpabuf *msg);
|
eap_fast_common.h | 83 struct wpabuf; 98 void eap_fast_put_tlv_hdr(struct wpabuf *buf, u16 type, u16 len); 99 void eap_fast_put_tlv(struct wpabuf *buf, u16 type, const void *data, 101 void eap_fast_put_tlv_buf(struct wpabuf *buf, u16 type, 102 const struct wpabuf *data); 103 struct wpabuf * eap_fast_tlv_eap_payload(struct wpabuf *buf);
|
eap_ikev2_common.h | 37 struct wpabuf * eap_ikev2_build_frag_ack(u8 id, u8 code); 39 int initiator, const struct wpabuf *msg,
|
eap_wsc_common.c | 23 struct wpabuf * eap_wsc_build_frag_ack(u8 id, u8 code) 25 struct wpabuf *msg;
|
eap_common.c | 38 const struct wpabuf *msg, size_t *plen) 107 struct wpabuf * eap_msg_alloc(int vendor, EapType type, size_t payload_len, 110 struct wpabuf *buf; 146 void eap_update_len(struct wpabuf *msg) 157 * eap_get_id - Get EAP Identifier from wpabuf 161 u8 eap_get_id(const struct wpabuf *msg) 174 * eap_get_id - Get EAP Type from wpabuf 178 EapType eap_get_type(const struct wpabuf *msg)
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
eap_tls_common.h | 28 struct wpabuf *in_buf; 29 struct wpabuf *out_buf; 31 struct wpabuf tmpbuf; 50 struct wpabuf * eap_server_tls_build_msg(struct eap_ssl_data *data, 52 struct wpabuf * eap_server_tls_build_ack(u8 id, int eap_type, int version); 54 struct wpabuf * eap_server_tls_encrypt(struct eap_sm *sm, 58 struct wpabuf *respData, void *priv, int eap_type, 62 const struct wpabuf *respData));
|
ikev2.h | 37 struct wpabuf *r_dh_public; 38 struct wpabuf *i_dh_private; 47 struct wpabuf *r_sign_msg; 48 struct wpabuf *i_sign_msg; 64 const struct wpabuf *buf); 65 struct wpabuf * ikev2_initiator_build(struct ikev2_initiator_data *data);
|
eap.h | 21 #include "wpabuf.h" 50 struct wpabuf *eapRespData; 63 struct wpabuf *eapReqData; 73 struct wpabuf *aaaEapReqData; 81 struct wpabuf *aaaEapRespData; 107 const struct wpabuf *assoc_wps_ie;
|
eap_sake.c | 103 static struct wpabuf * eap_sake_build_msg(struct eap_sake_data *data, 107 struct wpabuf *msg; 129 static struct wpabuf * eap_sake_build_identity(struct eap_sm *sm, 133 struct wpabuf *msg; 160 static struct wpabuf * eap_sake_build_challenge(struct eap_sm *sm, 164 struct wpabuf *msg; 200 static struct wpabuf * eap_sake_build_confirm(struct eap_sm *sm, 204 struct wpabuf *msg; 235 static struct wpabuf * eap_sake_buildReq(struct eap_sm *sm, void *priv, u8 id) 256 struct wpabuf *respData [all...] |
tncs.h | 45 struct wpabuf * tncs_build_soh_request(void); 46 struct wpabuf * tncs_process_soh(const u8 *soh_tlv, size_t soh_tlv_len,
|
eap_tls.c | 88 static struct wpabuf * eap_tls_build_start(struct eap_sm *sm, 91 struct wpabuf *req; 110 static struct wpabuf * eap_tls_buildReq(struct eap_sm *sm, void *priv, u8 id) 113 struct wpabuf *res; 153 struct wpabuf *respData) 169 const struct wpabuf *respData) 183 struct wpabuf *respData)
|
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
dh_groups.h | 27 struct wpabuf * dh_init(const struct dh_group *dh, struct wpabuf **priv); 28 struct wpabuf * dh_derive_shared(const struct wpabuf *peer_public, 29 const struct wpabuf *own_private,
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
ikev2.h | 38 struct wpabuf *i_dh_public; 39 struct wpabuf *r_dh_private; 48 struct wpabuf *r_sign_msg; 49 struct wpabuf *i_sign_msg; 62 const struct wpabuf *buf); 63 struct wpabuf * ikev2_responder_build(struct ikev2_responder_data *data);
|
eap_tls_common.h | 111 struct wpabuf **out_data); 112 struct wpabuf * eap_peer_tls_build_ack(u8 id, EapType eap_type, 121 const struct wpabuf *reqData, 126 const struct wpabuf *in_data, 127 struct wpabuf **in_decrypted); 130 const struct wpabuf *in_data, 131 struct wpabuf **out_data); 137 struct eap_hdr *hdr, struct wpabuf **resp);
|
eap_sake.c | 120 static struct wpabuf * eap_sake_build_msg(struct eap_sake_data *data, 124 struct wpabuf *msg; 146 static struct wpabuf * eap_sake_process_identity(struct eap_sm *sm, 149 const struct wpabuf *reqData, 154 struct wpabuf *resp; 190 static struct wpabuf * eap_sake_process_challenge(struct eap_sm *sm, 193 const struct wpabuf *reqData, 198 struct wpabuf *resp; 290 static struct wpabuf * eap_sake_process_confirm(struct eap_sm *sm, 293 const struct wpabuf *reqData [all...] |
eap_md5.c | 35 static struct wpabuf * eap_md5_process(struct eap_sm *sm, void *priv, 37 const struct wpabuf *reqData) 39 struct wpabuf *resp;
|
eap_otp.c | 34 static struct wpabuf * eap_otp_process(struct eap_sm *sm, void *priv, 36 const struct wpabuf *reqData) 38 struct wpabuf *resp;
|