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

1 2 3 4 5 6 7 8 91011

  /external/wpa_supplicant_8/src/crypto/
dh_group5.c 16 void * dh5_init(struct wpabuf **priv, struct wpabuf **publ)
26 void * dh5_init_fixed(const struct wpabuf *priv, const struct wpabuf *publ)
32 struct wpabuf * dh5_derive_shared(void *ctx, const struct wpabuf *peer_public,
33 const struct wpabuf *own_private)
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_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 97 struct wpabuf * tls_connection_handshake(void *tls_ctx,
99 const struct wpabuf *in_data,
100 struct wpabuf **appl_data)
106 struct wpabuf * tls_connection_server_handshake(void *tls_ctx,
108 const struct wpabuf *in_data,
109 struct wpabuf **appl_data)
115 struct wpabuf * tls_connection_encrypt(void *tls_ctx,
117 const struct wpabuf *in_data)
123 struct wpabuf * tls_connection_decrypt(void *tls_ctx,
125 const struct wpabuf *in_data
    [all...]
  /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_serial_number(struct wps_device_data *dev, struct wpabuf *msg);
18 int wps_build_dev_name(struct wps_device_data *dev, struct wpabuf *msg);
19 int wps_build_device_attrs(struct wps_device_data *dev, struct wpabuf *msg);
20 int wps_build_os_version(struct wps_device_data *dev, struct wpabuf *msg);
21 int wps_build_vendor_ext_m1(struct wps_device_data *dev, struct wpabuf *msg);
22 int wps_build_rf_bands(struct wps_device_data *dev, struct wpabuf *msg,
25 struct wpabuf *msg)
    [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 99 struct wpabuf *vendor_ext_m1;
100 struct wpabuf *vendor_ext[MAX_WPS_VENDOR_EXTENSIONS];
137 const struct wpabuf *assoc_wps_ie;
223 const struct wpabuf *msg);
225 struct wpabuf * wps_get_msg(struct wps_data *wps, enum wsc_op_code *op_code);
227 int wps_is_selected_pbc_registrar(const struct wpabuf *msg);
228 int wps_is_selected_pin_registrar(const struct wpabuf *msg);
229 int wps_ap_priority_compar(const struct wpabuf *wps_a,
230 const struct wpabuf *wps_b);
231 int wps_is_addr_authorized(const struct wpabuf *msg, const u8 *addr
    [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;
137 struct wpabuf * wps_decrypt_encr_settings(struct wps_data *wps, const u8 *encr,
149 struct wpabuf * wps_build_wsc_ack(struct wps_data *wps);
150 struct wpabuf * wps_build_wsc_nack(struct wps_data *wps);
153 int wps_build_public_key(struct wps_data *wps, struct wpabuf *msg);
154 int wps_build_req_type(struct wpabuf *msg, enum wps_request_type type);
155 int wps_build_resp_type(struct wpabuf *msg, enum wps_response_type type)
    [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_common/
eap_common.h 12 #include "wpabuf.h"
22 int eap_hdr_len_valid(const struct wpabuf *msg, size_t min_payload);
24 const struct wpabuf *msg, size_t *plen);
25 struct wpabuf * eap_msg_alloc(int vendor, EapType type, size_t payload_len,
27 void eap_update_len(struct wpabuf *msg);
28 u8 eap_get_id(const struct wpabuf *msg);
29 EapType eap_get_type(const struct wpabuf *msg);
eap_wsc_common.c 17 struct wpabuf * eap_wsc_build_frag_ack(u8 id, u8 code)
19 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);
eap_wsc_common.h 25 struct wpabuf * eap_wsc_build_frag_ack(u8 id, u8 code);
eap_ikev2_common.h 24 struct wpabuf * eap_ikev2_build_frag_ack(u8 id, u8 code);
26 int initiator, const struct wpabuf *msg,
  /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...]
ext_password_i.h 18 struct wpabuf * (*get)(void *ctx, const char *name);
21 struct wpabuf * ext_password_alloc(size_t len);
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.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/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/eap_server/
eap_tls_common.h 24 struct wpabuf *tls_out;
39 struct wpabuf *tls_in;
52 struct wpabuf tmpbuf;
70 struct wpabuf * eap_tls_msg_alloc(EapType type, size_t payload_len,
80 struct wpabuf * eap_server_tls_build_msg(struct eap_ssl_data *data,
82 struct wpabuf * eap_server_tls_build_ack(u8 id, int eap_type, int version);
84 struct wpabuf * eap_server_tls_encrypt(struct eap_sm *sm,
86 const struct wpabuf *plain);
88 struct wpabuf *respData, void *priv, int eap_type,
92 const struct wpabuf *respData))
    [all...]
  /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);
32 struct wpabuf *domain_names);
33 int domain_name_list_contains(struct wpabuf *domain_names,
wifi_display.h 16 struct wpabuf *wifi_display_get_wfd_ie(struct wpa_global *global);
19 struct wpabuf *ie);
22 char * wifi_display_subelem_hex(const struct wpabuf *wfd_subelems, u8 id);
bss.h 25 struct wpabuf *payload;
35 struct wpabuf *capability_list;
36 struct wpabuf *venue_name;
37 struct wpabuf *network_auth_type;
38 struct wpabuf *roaming_consortium;
39 struct wpabuf *ip_addr_type_availability;
40 struct wpabuf *nai_realm;
41 struct wpabuf *anqp_3gpp;
42 struct wpabuf *domain_name;
46 struct wpabuf *hs20_capability_list
    [all...]
  /external/wpa_supplicant_8/src/eap_peer/
eap_tls_common.h 24 struct wpabuf *tls_out;
39 struct wpabuf *tls_in;
103 u8 id, const struct wpabuf *in_data,
104 struct wpabuf **out_data);
105 struct wpabuf * eap_peer_tls_build_ack(u8 id, EapType eap_type,
114 const struct wpabuf *reqData,
119 const struct wpabuf *in_data,
120 struct wpabuf **in_decrypted);
123 const struct wpabuf *in_data,
124 struct wpabuf **out_data)
    [all...]

Completed in 441 milliseconds

1 2 3 4 5 6 7 8 91011