/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
H A D | wps.h | 99 struct wpabuf *vendor_ext_m1; 100 struct wpabuf *vendor_ext[MAX_WPS_VENDOR_EXTENSIONS]; 101 struct wpabuf *application_ext; 139 const struct wpabuf *assoc_wps_ie; 231 const struct wpabuf *msg); 233 struct wpabuf * wps_get_msg(struct wps_data *wps, enum wsc_op_code *op_code); 235 int wps_is_selected_pbc_registrar(const struct wpabuf *msg); 236 int wps_is_selected_pin_registrar(const struct wpabuf *msg); 237 int wps_ap_priority_compar(const struct wpabuf *wps_a, 238 const struct wpabuf *wps_ [all...] |
H A D | 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; 139 struct wpabuf * wps_decrypt_encr_settings(struct wps_data *wps, const u8 *encr, 151 struct wpabuf * wps_build_wsc_ack(struct wps_data *wps); 152 struct wpabuf * wps_build_wsc_nack(struct wps_data *wps); 155 int wps_build_public_key(struct wps_data *wps, struct wpabuf *msg); 156 int wps_build_req_type(struct wpabuf *msg, enum wps_request_type type); 157 int wps_build_resp_type(struct wpabuf *ms [all...] |
H A D | 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 *ms [all...] |
H A D | wps_attr_build.c | 21 int wps_build_public_key(struct wps_data *wps, struct wpabuf *msg) in wps_build_public_key() 23 struct wpabuf *pubkey = NULL; in wps_build_public_key() 97 int wps_build_req_type(struct wpabuf *msg, enum wps_request_type type) in wps_build_req_type() 107 int wps_build_resp_type(struct wpabuf *msg, enum wps_response_type type) in wps_build_resp_type() 117 int wps_build_config_methods(struct wpabuf *msg, u16 methods) in wps_build_config_methods() 127 int wps_build_uuid_e(struct wpabuf *msg, const u8 *uuid) in wps_build_uuid_e() 139 int wps_build_dev_password_id(struct wpabuf *msg, u16 id) in wps_build_dev_password_id() 149 int wps_build_config_error(struct wpabuf *msg, u16 err) in wps_build_config_error() 159 int wps_build_authenticator(struct wps_data *wps, struct wpabuf *msg) in wps_build_authenticator() 191 int wps_build_version(struct wpabuf *ms [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
H A D | wps.h | 99 struct wpabuf *vendor_ext_m1; 100 struct wpabuf *vendor_ext[MAX_WPS_VENDOR_EXTENSIONS]; 138 const struct wpabuf *assoc_wps_ie; 230 const struct wpabuf *msg); 232 struct wpabuf * wps_get_msg(struct wps_data *wps, enum wsc_op_code *op_code); 234 int wps_is_selected_pbc_registrar(const struct wpabuf *msg); 235 int wps_is_selected_pin_registrar(const struct wpabuf *msg); 236 int wps_ap_priority_compar(const struct wpabuf *wps_a, 237 const struct wpabuf *wps_b); 238 int wps_is_addr_authorized(const struct wpabuf *ms [all...] |
H A D | 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; 139 struct wpabuf * wps_decrypt_encr_settings(struct wps_data *wps, const u8 *encr, 151 struct wpabuf * wps_build_wsc_ack(struct wps_data *wps); 152 struct wpabuf * wps_build_wsc_nack(struct wps_data *wps); 155 int wps_build_public_key(struct wps_data *wps, struct wpabuf *msg); 156 int wps_build_req_type(struct wpabuf *msg, enum wps_request_type type); 157 int wps_build_resp_type(struct wpabuf *ms [all...] |
H A D | 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 *ms [all...] |
H A D | wps_attr_build.c | 21 int wps_build_public_key(struct wps_data *wps, struct wpabuf *msg) in wps_build_public_key() 23 struct wpabuf *pubkey = NULL; in wps_build_public_key() 97 int wps_build_req_type(struct wpabuf *msg, enum wps_request_type type) in wps_build_req_type() 107 int wps_build_resp_type(struct wpabuf *msg, enum wps_response_type type) in wps_build_resp_type() 117 int wps_build_config_methods(struct wpabuf *msg, u16 methods) in wps_build_config_methods() 127 int wps_build_uuid_e(struct wpabuf *msg, const u8 *uuid) in wps_build_uuid_e() 139 int wps_build_dev_password_id(struct wpabuf *msg, u16 id) in wps_build_dev_password_id() 149 int wps_build_config_error(struct wpabuf *msg, u16 err) in wps_build_config_error() 159 int wps_build_authenticator(struct wps_data *wps, struct wpabuf *msg) in wps_build_authenticator() 189 int wps_build_version(struct wpabuf *ms [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | 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 *bu [all...] |
H A D | wpabuf.c | 13 #include "wpabuf.h" 22 static struct wpabuf_trace * wpabuf_get_trace(const struct wpabuf *buf) in wpabuf_get_trace() 30 static void wpabuf_overflow(const struct wpabuf *buf, size_t len) in wpabuf_overflow() 35 wpa_printf(MSG_ERROR, "wpabuf: invalid magic %x", in wpabuf_overflow() 39 wpa_printf(MSG_ERROR, "wpabuf %p (size=%lu used=%lu) overflow len=%lu", in wpabuf_overflow() 42 wpa_trace_show("wpabuf overflow"); in wpabuf_overflow() 47 int wpabuf_resize(struct wpabuf **_buf, size_t add_len) in wpabuf_resize() 49 struct wpabuf *buf = *_buf; in wpabuf_resize() 62 wpa_printf(MSG_ERROR, "wpabuf: invalid magic %x", in wpabuf_resize() 80 sizeof(struct wpabuf) in wpabuf_resize() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | 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 *bu [all...] |
H A D | wpabuf.c | 13 #include "wpabuf.h" 22 static struct wpabuf_trace * wpabuf_get_trace(const struct wpabuf *buf) in wpabuf_get_trace() 30 static void wpabuf_overflow(const struct wpabuf *buf, size_t len) in wpabuf_overflow() 35 wpa_printf(MSG_ERROR, "wpabuf: invalid magic %x", in wpabuf_overflow() 39 wpa_printf(MSG_ERROR, "wpabuf %p (size=%lu used=%lu) overflow len=%lu", in wpabuf_overflow() 42 wpa_trace_show("wpabuf overflow"); in wpabuf_overflow() 47 int wpabuf_resize(struct wpabuf **_buf, size_t add_len) in wpabuf_resize() 49 struct wpabuf *buf = *_buf; in wpabuf_resize() 62 wpa_printf(MSG_ERROR, "wpabuf: invalid magic %x", in wpabuf_resize() 80 sizeof(struct wpabuf) in wpabuf_resize() [all...] |
H A D | json.h | 38 struct wpabuf * json_get_member_base64url(struct json_token *json, 40 struct wpabuf * json_get_member_base64(struct json_token *json, 43 void json_add_int(struct wpabuf *json, const char *name, int val); 44 void json_add_string(struct wpabuf *json, const char *name, const char *val); 45 int json_add_string_escape(struct wpabuf *json, const char *name, 47 int json_add_base64url(struct wpabuf *json, const char *name, const void *val, 49 int json_add_base64(struct wpabuf *json, const char *name, const void *val, 51 void json_start_object(struct wpabuf *json, const char *name); 52 void json_end_object(struct wpabuf *json); 53 void json_start_array(struct wpabuf *jso [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/ |
H A D | p2p_i.h | 148 struct wpabuf *go_neg_conf; 158 struct wpabuf *tlvs; 406 struct wpabuf *sd_resp; /* Fragmented SD response */ 412 struct wpabuf *sd_rx_resp; /* Reassembled SD response */ 480 struct wpabuf *wps_vendor_ext[P2P_MAX_WPS_VENDOR_EXT]; 527 struct wpabuf *wfd_ie_beacon; 528 struct wpabuf *wfd_ie_probe_req; 529 struct wpabuf *wfd_ie_probe_resp; 530 struct wpabuf *wfd_ie_assoc_req; 531 struct wpabuf *wfd_ie_invitatio [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
H A D | 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 * 20 struct wpabuf * gas_anqp_build_initial_req(u8 dialog_token, size_t size); 21 struct wpabuf * gas_anqp_build_initial_resp(u8 dialog_token, u16 status_code, 23 struct wpabuf * gas_anqp_build_initial_resp_buf(u8 dialog_token, 26 struct wpabuf *payload); 27 struct wpabuf * gas_anqp_build_comeback_resp(u8 dialog_token, u16 status_code, 30 struct wpabuf * gas_anqp_build_comeback_resp_bu [all...] |
H A D | gas.c | 17 static struct wpabuf * 20 struct wpabuf *buf; in gas_build_req() 34 struct wpabuf * gas_build_initial_req(u8 dialog_token, size_t size) in gas_build_initial_req() 41 struct wpabuf * gas_build_comeback_req(u8 dialog_token) in gas_build_comeback_req() 47 static struct wpabuf * 51 struct wpabuf *buf; in gas_build_resp() 69 struct wpabuf * 78 struct wpabuf * 99 static void gas_add_adv_proto_anqp(struct wpabuf *buf, u8 query_resp_len_limit, in gas_add_adv_proto_anqp() 112 struct wpabuf * gas_anqp_build_initial_re [all...] |
H A D | dpp.h | 191 struct wpabuf *exchange_req; 192 struct wpabuf *exchange_resp; 275 struct wpabuf *req_msg; 276 struct wpabuf *resp_msg; 277 struct wpabuf *reconfig_req_msg; 278 struct wpabuf *reconfig_resp_msg; 310 struct wpabuf *conf_req; 311 const struct wpabuf *conf_resp; /* owned by GAS server */ 312 struct wpabuf *conf_resp_tcp; 328 struct wpabuf *c_sign_ke [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
H A D | 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 * 20 struct wpabuf * gas_anqp_build_initial_req(u8 dialog_token, size_t size); 21 struct wpabuf * gas_anqp_build_initial_resp(u8 dialog_token, u16 status_code, 23 struct wpabuf * gas_anqp_build_initial_resp_buf(u8 dialog_token, 26 struct wpabuf *payload); 27 struct wpabuf * gas_anqp_build_comeback_resp(u8 dialog_token, u16 status_code, 30 struct wpabuf * gas_anqp_build_comeback_resp_bu [all...] |
H A D | gas.c | 17 static struct wpabuf * 20 struct wpabuf *buf; in gas_build_req() 34 struct wpabuf * gas_build_initial_req(u8 dialog_token, size_t size) in gas_build_initial_req() 41 struct wpabuf * gas_build_comeback_req(u8 dialog_token) in gas_build_comeback_req() 47 static struct wpabuf * 51 struct wpabuf *buf; in gas_build_resp() 69 struct wpabuf * 78 struct wpabuf * 99 static void gas_add_adv_proto_anqp(struct wpabuf *buf, u8 query_resp_len_limit, in gas_add_adv_proto_anqp() 112 struct wpabuf * gas_anqp_build_initial_re [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | 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; 43 struct wpabuf *fils_realm_inf [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/ |
H A D | p2p_i.h | 148 struct wpabuf *go_neg_conf; 158 struct wpabuf *tlvs; 433 struct wpabuf *sd_resp; /* Fragmented SD response */ 439 struct wpabuf *sd_rx_resp; /* Reassembled SD response */ 510 struct wpabuf *wps_vendor_ext[P2P_MAX_WPS_VENDOR_EXT]; 557 struct wpabuf *wfd_ie_beacon; 558 struct wpabuf *wfd_ie_probe_req; 559 struct wpabuf *wfd_ie_probe_resp; 560 struct wpabuf *wfd_ie_assoc_req; 561 struct wpabuf *wfd_ie_invitatio [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | bss.h | 37 struct wpabuf *payload; 47 struct wpabuf *capability_list; 48 struct wpabuf *venue_name; 49 struct wpabuf *network_auth_type; 50 struct wpabuf *roaming_consortium; 51 struct wpabuf *ip_addr_type_availability; 52 struct wpabuf *nai_realm; 53 struct wpabuf *anqp_3gpp; 54 struct wpabuf *domain_name; 55 struct wpabuf *fils_realm_inf [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | tls.h | 54 const struct wpabuf *cert; 69 const struct wpabuf *cert; 447 struct wpabuf * tls_connection_handshake(void *tls_ctx, 449 const struct wpabuf *in_data, 450 struct wpabuf **appl_data); 452 struct wpabuf * tls_connection_handshake2(void *tls_ctx, 454 const struct wpabuf *in_data, 455 struct wpabuf **appl_data, 468 struct wpabuf * tls_connection_server_handshake(void *tls_ctx, 470 const struct wpabuf *in_dat [all...] |
H A D | tls_none.c | 111 struct wpabuf * tls_connection_handshake(void *tls_ctx, in tls_connection_handshake() 113 const struct wpabuf *in_data, in tls_connection_handshake() 114 struct wpabuf **appl_data) in tls_connection_handshake() 120 struct wpabuf * tls_connection_server_handshake(void *tls_ctx, in tls_connection_server_handshake() 122 const struct wpabuf *in_data, in tls_connection_server_handshake() 123 struct wpabuf **appl_data) in tls_connection_server_handshake() 129 struct wpabuf * tls_connection_encrypt(void *tls_ctx, in tls_connection_encrypt() 131 const struct wpabuf *in_data) in tls_connection_encrypt() 137 struct wpabuf * tls_connection_decrypt(void *tls_ctx, in tls_connection_decrypt() 139 const struct wpabuf *in_dat in tls_connection_decrypt() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
H A D | tls.h | 54 const struct wpabuf *cert; 69 const struct wpabuf *cert; 453 struct wpabuf * tls_connection_handshake(void *tls_ctx, 455 const struct wpabuf *in_data, 456 struct wpabuf **appl_data); 458 struct wpabuf * tls_connection_handshake2(void *tls_ctx, 460 const struct wpabuf *in_data, 461 struct wpabuf **appl_data, 474 struct wpabuf * tls_connection_server_handshake(void *tls_ctx, 476 const struct wpabuf *in_dat [all...] |