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

1 2 3 4 5 6 7 8 910

  /external/wpa_supplicant_8/src/crypto/
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_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 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...]
tls.h 52 const struct wpabuf *cert;
58 const struct wpabuf *cert;
353 struct wpabuf * tls_connection_handshake(void *tls_ctx,
355 const struct wpabuf *in_data,
356 struct wpabuf **appl_data);
358 struct wpabuf * tls_connection_handshake2(void *tls_ctx,
360 const struct wpabuf *in_data,
361 struct wpabuf **appl_data,
374 struct wpabuf * tls_connection_server_handshake(void *tls_ctx,
376 const struct wpabuf *in_data
    [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...]
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/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_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);
  /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/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,
24 struct wpabuf *msg);
26 struct wpabuf *msg)
    [all...]
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...]
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_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,
146 struct wpabuf * wps_build_wsc_ack(struct wps_data *wps);
147 struct wpabuf * wps_build_wsc_nack(struct wps_data *wps);
150 int wps_build_public_key(struct wps_data *wps, struct wpabuf *msg);
151 int wps_build_req_type(struct wpabuf *msg, enum wps_request_type type);
152 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_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...]
  /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);
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...]
hs20_supplicant.h 11 void wpas_hs20_add_indication(struct wpabuf *buf);
15 struct wpabuf * hs20_build_anqp_req(u32 stypes, const u8 *payload,
  /external/wpa_supplicant_8/src/eap_peer/
eap_tls_common.h 24 struct wpabuf *tls_out;
39 struct wpabuf *tls_in;
103 struct wpabuf **out_data);
104 struct wpabuf * eap_peer_tls_build_ack(u8 id, EapType eap_type,
113 const struct wpabuf *reqData,
118 const struct wpabuf *in_data,
119 struct wpabuf **in_decrypted);
122 const struct wpabuf *in_data,
123 struct wpabuf **out_data);
129 struct eap_hdr *hdr, struct wpabuf **resp)
    [all...]

Completed in 110 milliseconds

1 2 3 4 5 6 7 8 910