/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...] |
/external/wpa_supplicant_8/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 | 19 #include "wpabuf.h" 28 static struct wpabuf_trace * wpabuf_get_trace(const struct wpabuf *buf) 36 static void wpabuf_overflow(const struct wpabuf *buf, size_t len) 41 wpa_printf(MSG_ERROR, "wpabuf: invalid magic %x", 45 wpa_printf(MSG_ERROR, "wpabuf %p (size=%lu used=%lu) overflow len=%lu", 48 wpa_trace_show("wpabuf overflow"); 53 int wpabuf_resize(struct wpabuf **_buf, size_t add_len) 55 struct wpabuf *buf = *_buf; 68 wpa_printf(MSG_ERROR, "wpabuf: invalid magic %x", 86 sizeof(struct wpabuf) [all...] |
/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_8/src/wps/ |
wps_dev_attr.h | 20 int wps_build_manufacturer(struct wps_device_data *dev, struct wpabuf *msg); 21 int wps_build_model_name(struct wps_device_data *dev, struct wpabuf *msg); 22 int wps_build_model_number(struct wps_device_data *dev, struct wpabuf *msg); 23 int wps_build_dev_name(struct wps_device_data *dev, struct wpabuf *msg); 24 int wps_build_device_attrs(struct wps_device_data *dev, struct wpabuf *msg); 25 int wps_build_os_version(struct wps_device_data *dev, struct wpabuf *msg); 26 int wps_build_rf_bands(struct wps_device_data *dev, struct wpabuf *msg); 28 struct wpabuf *msg); 30 struct wpabuf *msg); 31 int wps_build_dev_name(struct wps_device_data *dev, struct wpabuf *msg) [all...] |
wps_i.h | 64 struct wpabuf *dh_privkey; 65 struct wpabuf *dh_pubkey_e; 66 struct wpabuf *dh_pubkey_r; 71 struct wpabuf *last_msg; 223 struct wpabuf * wps_decrypt_encr_settings(struct wps_data *wps, const u8 *encr, 236 struct wpabuf * wps_build_wsc_ack(struct wps_data *wps); 237 struct wpabuf * wps_build_wsc_nack(struct wps_data *wps); 240 int wps_parse_msg(const struct wpabuf *msg, struct wps_parse_attr *attr); 243 int wps_build_public_key(struct wps_data *wps, struct wpabuf *msg); 244 int wps_build_req_type(struct wpabuf *msg, enum wps_request_type type) [all...] |
upnp_xml.h | 16 void xml_data_encode(struct wpabuf *buf, const char *data, int len); 17 void xml_add_tagged_data(struct wpabuf *buf, const char *tag, 20 struct wpabuf * xml_get_base64_item(const char *data, const char *name,
|
/external/wpa_supplicant_8/src/crypto/ |
dh_group5.h | 18 void * dh5_init(struct wpabuf **priv, struct wpabuf **publ); 19 struct wpabuf * dh5_derive_shared(void *ctx, const struct wpabuf *peer_public, 20 const struct wpabuf *own_private);
|
dh_group5.c | 22 void * dh5_init(struct wpabuf **priv, struct wpabuf **publ) 31 struct wpabuf * dh5_derive_shared(void *ctx, const struct wpabuf *peer_public, 32 const struct wpabuf *own_private)
|
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,
|
tls_none.c | 109 struct wpabuf * tls_connection_handshake(void *tls_ctx, 111 const struct wpabuf *in_data, 112 struct wpabuf **appl_data) 118 struct wpabuf * tls_connection_server_handshake(void *tls_ctx, 120 const struct wpabuf *in_data, 121 struct wpabuf **appl_data) 127 struct wpabuf * tls_connection_encrypt(void *tls_ctx, 129 const struct wpabuf *in_data) 135 struct wpabuf * tls_connection_decrypt(void *tls_ctx, 137 const struct wpabuf *in_data [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);
|
/external/wpa_supplicant_8/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);
|
/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);
|
/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_8/src/eap_server/ |
eap_tls_common.h | 30 struct wpabuf *tls_out; 45 struct wpabuf *tls_in; 58 struct wpabuf tmpbuf; 77 struct wpabuf * eap_server_tls_build_msg(struct eap_ssl_data *data, 79 struct wpabuf * eap_server_tls_build_ack(u8 id, int eap_type, int version); 81 struct wpabuf * eap_server_tls_encrypt(struct eap_sm *sm, 83 const struct wpabuf *plain); 85 struct wpabuf *respData, void *priv, int eap_type, 89 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);
|
/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);
|
/external/wpa_supplicant_8/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 | 30 struct wpabuf *tls_out; 45 struct wpabuf *tls_in; 98 struct wpabuf **out_data); 99 struct wpabuf * eap_peer_tls_build_ack(u8 id, EapType eap_type, 108 const struct wpabuf *reqData, 113 const struct wpabuf *in_data, 114 struct wpabuf **in_decrypted); 117 const struct wpabuf *in_data, 118 struct wpabuf **out_data); 124 struct eap_hdr *hdr, struct wpabuf **resp) [all...] |