HomeSort by relevance Sort by last modified time
    Searched full:wpabuf (Results 1 - 25 of 230) sorted by null

1 2 3 4 5 6 7 8 910

  /external/wpa_supplicant_8/src/crypto/
dh_group5.h 12 void * dh5_init(struct wpabuf **priv, struct wpabuf **publ);
13 void * dh5_init_fixed(const struct wpabuf *priv, const struct wpabuf *publ);
14 struct wpabuf * dh5_derive_shared(void *ctx, const struct wpabuf *peer_public,
15 const struct wpabuf *own_private);
dh_group5.c 16 void * dh5_init(struct wpabuf **priv, struct wpabuf **publ)
25 void * dh5_init_fixed(const struct wpabuf *priv, const 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 24 struct wpabuf * dh_init(const struct dh_group *dh, struct wpabuf **priv);
25 struct wpabuf * dh_derive_shared(const struct wpabuf *peer_public,
26 const struct wpabuf *own_private,
tls_none.c 96 struct wpabuf * tls_connection_handshake(void *tls_ctx,
98 const struct wpabuf *in_data,
99 struct wpabuf **appl_data)
105 struct wpabuf * tls_connection_server_handshake(void *tls_ctx,
107 const struct wpabuf *in_data,
108 struct wpabuf **appl_data)
114 struct wpabuf * tls_connection_encrypt(void *tls_ctx,
116 const struct wpabuf *in_data)
122 struct wpabuf * tls_connection_decrypt(void *tls_ctx,
124 const struct wpabuf *in_data
    [all...]
  /external/wpa_supplicant_8/src/common/
gas.h 13 struct wpabuf * gas_build_initial_req(u8 dialog_token, size_t size);
14 struct wpabuf * gas_build_comeback_req(u8 dialog_token);
15 struct wpabuf * gas_build_initial_resp(u8 dialog_token, u16 status_code,
17 struct wpabuf * gas_anqp_build_initial_req(u8 dialog_token, size_t size);
18 struct wpabuf * gas_anqp_build_initial_resp(u8 dialog_token, u16 status_code,
20 struct wpabuf * gas_anqp_build_initial_resp_buf(u8 dialog_token,
23 struct wpabuf *payload);
24 struct wpabuf * gas_anqp_build_comeback_resp(u8 dialog_token, u16 status_code,
27 struct wpabuf * gas_anqp_build_comeback_resp_buf(u8 dialog_token,
31 struct wpabuf *payload)
    [all...]
gas.c 17 static struct wpabuf *
20 struct wpabuf *buf;
34 struct wpabuf * gas_build_initial_req(u8 dialog_token, size_t size)
41 struct wpabuf * gas_build_comeback_req(u8 dialog_token)
47 static struct wpabuf *
51 struct wpabuf *buf;
69 struct wpabuf *
78 static struct wpabuf *
99 static void gas_add_adv_proto_anqp(struct wpabuf *buf, u8 query_resp_len_limit,
112 struct wpabuf * gas_anqp_build_initial_req(u8 dialog_token, size_t size
    [all...]
  /external/wpa_supplicant_8/src/utils/
wpabuf.h 12 /* wpabuf::buf is a pointer to external data */
16 * Internal data structure for wpabuf. Please do not touch this directly from
20 struct wpabuf { struct
29 int wpabuf_resize(struct wpabuf **buf, size_t add_len);
30 struct wpabuf * wpabuf_alloc(size_t len);
31 struct wpabuf * wpabuf_alloc_ext_data(u8 *data, size_t len);
32 struct wpabuf * wpabuf_alloc_copy(const void *data, size_t len);
33 struct wpabuf * wpabuf_dup(const struct wpabuf *src);
34 void wpabuf_free(struct wpabuf *buf)
    [all...]
wpabuf.c 13 #include "wpabuf.h"
22 static struct wpabuf_trace * wpabuf_get_trace(const struct wpabuf *buf)
30 static void wpabuf_overflow(const struct wpabuf *buf, size_t len)
35 wpa_printf(MSG_ERROR, "wpabuf: invalid magic %x",
39 wpa_printf(MSG_ERROR, "wpabuf %p (size=%lu used=%lu) overflow len=%lu",
42 wpa_trace_show("wpabuf overflow");
47 int wpabuf_resize(struct wpabuf **_buf, size_t add_len)
49 struct wpabuf *buf = *_buf;
62 wpa_printf(MSG_ERROR, "wpabuf: invalid magic %x",
80 sizeof(struct wpabuf)
    [all...]
ext_password_i.h 18 struct wpabuf * (*get)(void *ctx, const char *name);
21 struct wpabuf * ext_password_alloc(size_t len);
ext_password.h 20 struct wpabuf * ext_password_get(struct ext_password_data *data,
22 void ext_password_free(struct wpabuf *pw);
  /external/wpa_supplicant_8/src/eap_common/
eap_common.h 12 #include "wpabuf.h"
14 int eap_hdr_len_valid(const struct wpabuf *msg, size_t min_payload);
16 const struct wpabuf *msg, size_t *plen);
17 struct wpabuf * eap_msg_alloc(int vendor, EapType type, size_t payload_len,
19 void eap_update_len(struct wpabuf *msg);
20 u8 eap_get_id(const struct wpabuf *msg);
21 EapType eap_get_type(const struct wpabuf *msg);
eap_fast_common.h 77 struct wpabuf;
92 void eap_fast_put_tlv_hdr(struct wpabuf *buf, u16 type, u16 len);
93 void eap_fast_put_tlv(struct wpabuf *buf, u16 type, const void *data,
95 void eap_fast_put_tlv_buf(struct wpabuf *buf, u16 type,
96 const struct wpabuf *data);
97 struct wpabuf * eap_fast_tlv_eap_payload(struct wpabuf *buf);
  /external/wpa_supplicant_8/src/wps/
wps_dev_attr.h 14 int wps_build_manufacturer(struct wps_device_data *dev, struct wpabuf *msg);
15 int wps_build_model_name(struct wps_device_data *dev, struct wpabuf *msg);
16 int wps_build_model_number(struct wps_device_data *dev, struct wpabuf *msg);
17 int wps_build_dev_name(struct wps_device_data *dev, struct wpabuf *msg);
18 int wps_build_device_attrs(struct wps_device_data *dev, struct wpabuf *msg);
19 int wps_build_os_version(struct wps_device_data *dev, struct wpabuf *msg);
20 int wps_build_vendor_ext_m1(struct wps_device_data *dev, struct wpabuf *msg);
21 int wps_build_rf_bands(struct wps_device_data *dev, struct wpabuf *msg);
23 struct wpabuf *msg);
25 struct wpabuf *msg)
    [all...]
wps_i.h 61 struct wpabuf *dh_privkey;
62 struct wpabuf *dh_pubkey_e;
63 struct wpabuf *dh_pubkey_r;
68 struct wpabuf *last_msg;
134 struct wpabuf * wps_decrypt_encr_settings(struct wps_data *wps, const u8 *encr,
143 struct wpabuf * wps_build_wsc_ack(struct wps_data *wps);
144 struct wpabuf * wps_build_wsc_nack(struct wps_data *wps);
147 int wps_build_public_key(struct wps_data *wps, struct wpabuf *msg);
148 int wps_build_req_type(struct wpabuf *msg, enum wps_request_type type);
149 int wps_build_resp_type(struct wpabuf *msg, enum wps_response_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,
22 struct wpabuf * xml_get_base64_item(const char *data, const char *name,
wps.h 100 struct wpabuf *vendor_ext_m1;
101 struct wpabuf *vendor_ext[MAX_WPS_VENDOR_EXTENSIONS];
138 const struct wpabuf *assoc_wps_ie;
219 const struct wpabuf *msg);
221 struct wpabuf * wps_get_msg(struct wps_data *wps, enum wsc_op_code *op_code);
223 int wps_is_selected_pbc_registrar(const struct wpabuf *msg);
224 int wps_is_selected_pin_registrar(const struct wpabuf *msg);
225 int wps_ap_priority_compar(const struct wpabuf *wps_a,
226 const struct wpabuf *wps_b);
227 int wps_is_addr_authorized(const struct wpabuf *msg, const u8 *addr
    [all...]
http_client.h 24 struct wpabuf *req, size_t max_response,
30 struct wpabuf *req, size_t max_response,
36 struct wpabuf * http_client_get_body(struct http_client *c);
  /external/wpa_supplicant_8/src/eap_peer/
ikev2.h 32 struct wpabuf *i_dh_public;
33 struct wpabuf *r_dh_private;
42 struct wpabuf *r_sign_msg;
43 struct wpabuf *i_sign_msg;
56 const struct wpabuf *buf);
57 struct wpabuf * ikev2_responder_build(struct ikev2_responder_data *data);
  /external/wpa_supplicant_8/wpa_supplicant/
interworking.h 18 const struct wpabuf *adv_proto,
19 const struct wpabuf *resp, u16 status_code);
21 const struct wpabuf *adv_proto,
22 const struct wpabuf *query);
30 struct wpabuf *domain_names);
hs20_supplicant.h 11 void wpas_hs20_add_indication(struct wpabuf *buf);
15 struct wpabuf * hs20_build_anqp_req(u32 stypes, const u8 *payload,
bss.h 29 struct wpabuf *venue_name;
30 struct wpabuf *network_auth_type;
31 struct wpabuf *roaming_consortium;
32 struct wpabuf *ip_addr_type_availability;
33 struct wpabuf *nai_realm;
34 struct wpabuf *anqp_3gpp;
35 struct wpabuf *domain_name;
38 struct wpabuf *hs20_operator_friendly_name;
39 struct wpabuf *hs20_wan_metrics;
40 struct wpabuf *hs20_connection_capability
    [all...]
gas_query.h 36 struct wpabuf *req,
39 const struct wpabuf *adv_proto,
40 const struct wpabuf *resp, u16 status_code),
  /external/wpa_supplicant_8/src/eap_server/
eap_tls_common.h 24 struct wpabuf *tls_out;
39 struct wpabuf *tls_in;
52 struct wpabuf tmpbuf;
69 struct wpabuf * eap_tls_msg_alloc(EapType type, size_t payload_len,
76 struct wpabuf * eap_server_tls_build_msg(struct eap_ssl_data *data,
78 struct wpabuf * eap_server_tls_build_ack(u8 id, int eap_type, int version);
80 struct wpabuf * eap_server_tls_encrypt(struct eap_sm *sm,
82 const struct wpabuf *plain);
84 struct wpabuf *respData, void *priv, int eap_type,
88 const struct wpabuf *respData))
    [all...]
ikev2.h 31 struct wpabuf *r_dh_public;
32 struct wpabuf *i_dh_private;
41 struct wpabuf *r_sign_msg;
42 struct wpabuf *i_sign_msg;
58 const struct wpabuf *buf);
59 struct wpabuf * ikev2_initiator_build(struct ikev2_initiator_data *data);
  /external/wpa_supplicant_8/src/p2p/
p2p_i.h 115 struct wpabuf *tlvs;
366 struct wpabuf *sd_resp; /* Fragmented SD response */
372 struct wpabuf *sd_rx_resp; /* Reassembled SD response */
438 struct wpabuf *wps_vendor_ext[P2P_MAX_WPS_VENDOR_EXT];
465 struct wpabuf *wfd_ie_beacon;
466 struct wpabuf *wfd_ie_probe_req;
467 struct wpabuf *wfd_ie_probe_resp;
468 struct wpabuf *wfd_ie_assoc_req;
469 struct wpabuf *wfd_ie_invitation;
470 struct wpabuf *wfd_ie_prov_disc_req
    [all...]

Completed in 234 milliseconds

1 2 3 4 5 6 7 8 910