/hostap-latest/hostapd/ |
D | config_file.c | 34 char buf[128], *pos, *pos2, *pos3; in hostapd_config_read_vlan_file() local 125 char buf[128], *pos; in hostapd_config_read_maclist() local 198 char **pos, int line, in hostapd_config_eap_user_salted() 255 char buf[512], *pos, *start, *pos2; in hostapd_config_read_eap_user() local 820 char *pos; in hostapd_parse_chanlist() local 840 char *pos, *end; in hostapd_parse_intlist() local 915 static int rkh_derive_key(const char *pos, u8 *key, size_t key_len) in rkh_derive_key() 937 char *pos, *next; in add_r0kh() local 983 char *pos, *next; in add_r1kh() local 1029 char buf[256], *pos; in hostapd_config_read_rxkh_file() local [all …]
|
D | ctrl_iface.c | 170 char *pos; in hostapd_ctrl_iface_wps_pin() local 198 char *pos; in hostapd_ctrl_iface_wps_check_pin() local 240 char *pos) in hostapd_ctrl_iface_wps_nfc_tag_read() 348 char *pos; in hostapd_ctrl_iface_nfc_get_handover_sel() local 387 char *pos, *role, *type, *pos2; in hostapd_ctrl_iface_nfc_report_handover() local 457 char *pos; in hostapd_ctrl_iface_wps_ap_pin() local 508 char *pos; in hostapd_ctrl_iface_wps_config() local 554 char *pos, *end; in hostapd_ctrl_iface_wps_get_status() local 632 const char *pos; in hostapd_ctrl_iface_hs20_deauth_req() local 685 const char *pos = cmd; in hostapd_ctrl_iface_set_qos_map_set() local [all …]
|
/hostap-latest/src/tls/ |
D | x509v3.c | 186 const u8 *pos, *end; in x509_parse_algorithm_identifier() local 221 const u8 *pos, *end; in x509_parse_public_key() local 289 const u8 *pos, *end, *set_pos, *set_end, *seq_pos, *seq_end; in x509_parse_name() local 494 char *pos, *end; in x509_name_string() local 535 static int parse_uint2(const char *pos, size_t len) in parse_uint2() 551 static int parse_uint4(const char *pos, size_t len) in parse_uint4() 571 const char *pos, *end; in x509_parse_time() local 690 const u8 *pos; in x509_parse_validity() local 766 const u8 *pos, size_t len) in x509_parse_ext_key_usage() 799 const u8 *pos, size_t len) in x509_parse_ext_basic_constraints() [all …]
|
D | tlsv1_client_write.c | 47 u8 *hello, *end, *pos, *hs_length, *hs_start, *rhdr; in tls_send_client_hello() local 255 u8 *pos, *rhdr, *hs_start, *hs_length, *cert_start; in tls_write_client_certificate() local 336 static int tlsv1_key_x_dh(struct tlsv1_client *conn, u8 **pos, u8 *end) in tlsv1_key_x_dh() 459 static int tlsv1_key_x_rsa(struct tlsv1_client *conn, u8 **pos, u8 *end) in tlsv1_key_x_rsa() 509 u8 *pos, *rhdr, *hs_start, *hs_length; in tls_write_client_key_exchange() local 567 u8 *pos, *rhdr, *hs_start, *hs_length, *signed_start; in tls_write_client_certificate_verify() local 772 u8 *pos, *hs_start; in tls_write_client_finished() local 863 u8 *msg, *end, *pos; in tls_send_client_key_exchange() local 906 u8 *msg, *end, *pos; in tls_send_change_cipher_spec() local 964 u8 *alert, *pos, *length; in tlsv1_client_send_alert() local
|
D | tlsv1_server_write.c | 45 u8 *pos, *rhdr, *hs_start, *hs_length, *ext_start; in tls_write_server_hello() local 192 u8 *pos, *rhdr, *hs_start, *hs_length, *cert_start; in tls_write_server_certificate() local 287 u8 *pos, *rhdr, *hs_start, *hs_length; in tls_write_server_certificate_status() local 373 u8 *pos, *rhdr, *hs_start, *hs_length, *server_params; in tls_write_server_key_exchange() local 698 u8 *pos, *rhdr, *hs_start, *hs_length; in tls_write_server_certificate_request() local 764 u8 *pos; in tls_write_server_hello_done() local 834 u8 *pos, *hs_start; in tls_write_server_finished() local 932 u8 *msg, *end, *pos; in tls_send_server_hello() local 1012 u8 *msg, *end, *pos; in tls_send_change_cipher_spec() local 1060 u8 *alert, *pos, *length; in tlsv1_server_send_alert() local
|
D | tlsv1_cred.c | 110 const u8 *pos, *end; in tlsv1_add_cert() local 199 const char *pos = cert + 7; in tlsv1_set_ca_cert() local 268 const u8 *pos, *end; in tlsv1_set_key_pem() local 309 const u8 *pos, *end; in tlsv1_set_key_enc_pem() local 449 const u8 *pos, *end; in pkcs12_certbag() local 515 static int pkcs12_parse_attr_friendly_name(const u8 *pos, const u8 *end) in pkcs12_parse_attr_friendly_name() 540 static int pkcs12_parse_attr_local_key_id(const u8 *pos, const u8 *end) in pkcs12_parse_attr_local_key_id() 565 static int pkcs12_parse_attr(const u8 *pos, size_t len) in pkcs12_parse_attr() 612 const u8 *pos = buf, *end = buf + len; in pkcs12_safebag() local 683 const u8 *pos, *end; in pkcs12_safecontents() local [all …]
|
D | tlsv1_server_read.c | 52 const u8 *pos, *end; in tls_process_status_request_item() local 93 const u8 *pos, *end; in tls_process_status_request_v2() local 124 const u8 *pos, *end, *c; in tls_process_client_hello() local 399 const u8 *pos, *end; in tls_process_certificate() local 599 struct tlsv1_server *conn, const u8 *pos, const u8 *end) in tls_process_client_key_exchange_rsa() 702 struct tlsv1_server *conn, const u8 *pos, const u8 *end) in tls_process_client_key_exchange_dh() 810 const u8 *pos, *end; in tls_process_client_key_exchange() local 887 const u8 *pos, *end; in tls_process_certificate_verify() local 1049 const u8 *pos; in tls_process_change_cipher_spec() local 1098 const u8 *pos, *end; in tls_process_client_finished() local
|
D | tlsv1_client_read.c | 42 const u8 *pos, size_t len) in tls_process_server_hello_extensions() 81 const u8 *pos, *end; in tls_process_server_hello() local 357 const u8 *pos, *end; in tls_process_certificate() local 668 const u8 *pos, *end, *server_params, *server_params_end; in tlsv1_process_diffie_hellman() local 801 const u8 *pos, size_t len) in tls_process_certificate_status_ocsp_response() 827 const u8 *pos, *end; in tls_process_certificate_status() local 1025 const u8 *pos, *end; in tls_process_server_key_exchange() local 1122 const u8 *pos, *end; in tls_process_certificate_request() local 1186 const u8 *pos, *end; in tls_process_server_hello_done() local 1253 const u8 *pos; in tls_process_server_change_cipher_spec() local [all …]
|
D | pkcs1.c | 23 u8 *pos; in pkcs1_generate_encryption_block() local 102 u8 *pos, *end; in pkcs1_v15_private_key_decrypt() local 139 u8 *pos; in pkcs1_decrypt_public_key() local 208 const u8 *pos, *end, *next, *da_end; in pkcs1_v15_sig_ver() local
|
/hostap-latest/wlantest/ |
D | wlantest_cli.c | 22 static int get_prev_arg_pos(const char *str, int pos) in get_prev_arg_pos() 37 u8 *pos = buf; in attr_get() local 61 static u8 * attr_hdr_add(u8 *pos, u8 *end, enum wlantest_ctrl_attr attr, in attr_hdr_add() 74 static u8 * attr_add_str(u8 *pos, u8 *end, enum wlantest_ctrl_attr attr, in attr_add_str() 91 static u8 * attr_add_be32(u8 *pos, u8 *end, enum wlantest_ctrl_attr attr, in attr_add_be32() 176 u8 buf[100], *pos, *end; in get_sta_list() local 256 u8 buf[100], *pos; in cmd_list_sta() local 295 static char ** complete_list_sta(int s, const char *str, int pos) in complete_list_sta() 312 u8 buf[100], *pos; in cmd_clear_sta_counters() local 352 static char ** complete_clear_sta_counters(int s, const char *str, int pos) in complete_clear_sta_counters() [all …]
|
D | ctrl.c | 24 u8 *pos = buf; in attr_get() local 63 u8 *pos; in attr_get_int() local 72 static u8 * attr_add_str(u8 *pos, u8 *end, enum wlantest_ctrl_attr attr, in attr_add_str() 89 static u8 * attr_add_be32(u8 *pos, u8 *end, enum wlantest_ctrl_attr attr, in attr_add_be32() 143 u8 *pos; in ctrl_get_bss() local 167 u8 *pos; in ctrl_get_sta() local 194 u8 *pos; in ctrl_get_sta2() local 218 u8 buf[WLANTEST_CTRL_MAX_RESP_LEN], *pos, *len; in ctrl_list_bss() local 243 u8 buf[WLANTEST_CTRL_MAX_RESP_LEN], *pos, *len; in ctrl_list_sta() local 348 u8 buf[4 + 12], *end, *pos; in ctrl_get_sta_counter() local [all …]
|
/hostap-latest/src/eap_peer/ |
D | eap_teap_pac.c | 181 const char *pos; member 190 char *pos; in eap_teap_read_line() local 333 char *pos) in eap_teap_parse_pac_type() 345 static const char * eap_teap_parse_pac_key(struct eap_teap_pac *pac, char *pos) in eap_teap_parse_pac_key() 364 char *pos) in eap_teap_parse_pac_opaque() 374 static const char * eap_teap_parse_a_id(struct eap_teap_pac *pac, char *pos) in eap_teap_parse_a_id() 384 static const char * eap_teap_parse_i_id(struct eap_teap_pac *pac, char *pos) in eap_teap_parse_i_id() 395 char *pos) in eap_teap_parse_a_id_info() 418 char *pos; in eap_teap_load_pac() local 478 static void eap_teap_write(char **buf, char **pos, size_t *buf_len, in eap_teap_write() [all …]
|
D | eap_fast_pac.c | 181 const char *pos; member 190 char *pos; in eap_fast_read_line() local 330 char *pos) in eap_fast_parse_pac_type() 344 static const char * eap_fast_parse_pac_key(struct eap_fast_pac *pac, char *pos) in eap_fast_parse_pac_key() 363 char *pos) in eap_fast_parse_pac_opaque() 373 static const char * eap_fast_parse_a_id(struct eap_fast_pac *pac, char *pos) in eap_fast_parse_a_id() 383 static const char * eap_fast_parse_i_id(struct eap_fast_pac *pac, char *pos) in eap_fast_parse_i_id() 394 char *pos) in eap_fast_parse_a_id_info() 417 char *pos; in eap_fast_load_pac() local 477 static void eap_fast_write(char **buf, char **pos, size_t *buf_len, in eap_fast_write() [all …]
|
D | eap_gpsk.c | 109 const char *pos; in eap_gpsk_init() local 144 const u8 *pos, const u8 *end) in eap_gpsk_process_id_server() 174 const u8 *pos, const u8 *end) in eap_gpsk_process_rand_server() 237 const u8 *pos, const u8 *end) in eap_gpsk_process_csuite_list() 279 const u8 *csuite_list, *pos, *end; in eap_gpsk_process_gpsk_1() local 410 const u8 *pos, const u8 *end) in eap_gpsk_validate_rand() 449 const u8 *pos, const u8 *end) in eap_gpsk_validate_id_server() 489 const u8 *pos, const u8 *end) in eap_gpsk_validate_csuite() 518 const u8 *pos, const u8 *end) in eap_gpsk_validate_pd_payload_2() 546 const u8 *pos, const u8 *end) in eap_gpsk_validate_gpsk_3_mic() [all …]
|
/hostap-latest/src/utils/ |
D | wpabuf.h | 120 u8 *pos = (u8 *) wpabuf_put(buf, 1); in wpabuf_put_u8() local 126 u8 *pos = (u8 *) wpabuf_put(buf, 2); in wpabuf_put_le16() local 132 u8 *pos = (u8 *) wpabuf_put(buf, 3); in wpabuf_put_le24() local 138 u8 *pos = (u8 *) wpabuf_put(buf, 4); in wpabuf_put_le32() local 144 u8 *pos = (u8 *) wpabuf_put(buf, 8); in wpabuf_put_le64() local 150 u8 *pos = (u8 *) wpabuf_put(buf, 2); in wpabuf_put_be16() local 156 u8 *pos = (u8 *) wpabuf_put(buf, 3); in wpabuf_put_be24() local 162 u8 *pos = (u8 *) wpabuf_put(buf, 4); in wpabuf_put_be32() local 168 u8 *pos = (u8 *) wpabuf_put(buf, 8); in wpabuf_put_be64() local
|
/hostap-latest/src/wps/ |
D | wps_attr_parse.c | 21 u8 id, u8 len, const u8 *pos) in wps_set_vendor_ext_wfa_subelem() 91 static int wps_parse_vendor_ext_wfa(struct wps_parse_attr *attr, const u8 *pos, in wps_parse_vendor_ext_wfa() 111 static int wps_parse_vendor_ext(struct wps_parse_attr *attr, const u8 *pos, in wps_parse_vendor_ext() 153 const u8 *pos, u16 len) in wps_set_attr() 598 const u8 *pos, *end; in wps_parse_msg() local
|
/hostap-latest/src/ap/ |
D | ieee802_11_shared.c | 24 static u8 * hostapd_eid_timeout_interval(u8 *pos, u8 type, u32 value) in hostapd_eid_timeout_interval() 365 static void hostapd_ext_capab_byte(struct hostapd_data *hapd, u8 *pos, int idx, in hostapd_ext_capab_byte() 486 u8 *pos = eid; in hostapd_eid_ext_capab() local 528 u8 *pos = eid; in hostapd_eid_qos_map_set() local 545 u8 *pos = eid; in hostapd_eid_interworking() local 585 u8 *pos = eid; in hostapd_eid_adv_proto() local 604 u8 *pos = eid; in hostapd_eid_roaming_consortium() local 692 u8 *pos; in hostapd_update_time_adv() local 743 u8 *pos = eid; in hostapd_eid_bss_max_idle_period() local 795 u8 *pos = eid; in hostapd_eid_mbo() local [all …]
|
D | wpa_auth_ie.c | 32 u8 *pos, *count; in wpa_write_wpa_ie() local 123 static u8 * rsne_write_data(u8 *buf, size_t len, u8 *pos, int group, in rsne_write_data() 407 u8 *pos; in wpa_write_rsn_ie() local 430 u8 *pos, *len_pos; in wpa_write_rsne_override() local 460 u8 *pos, *len_pos; in wpa_write_rsne_override_2() local 517 u8 *pos = buf; in wpa_write_rsnxe() local 549 u8 *pos = buf; in wpa_write_rsnxe_override() local 635 u8 *pos, buf[1500]; in wpa_auth_gen_wpa_ie() local 817 u8 * wpa_add_kde(u8 *pos, u32 kde, const u8 *data, size_t data_len, in wpa_add_kde() 1416 u8 *pos, size_t max_len, in wpa_auth_write_assoc_resp_owe() [all …]
|
D | fils_hlp.c | 23 const u16 *pos; in ip_checksum() local 39 u8 *pos, *end; in fils_dhcp_request() local 154 u8 buf[1500], *pos, *end, *end_opt = NULL; in fils_dhcp_handler() local 334 const u8 *pos = msg, *end; in fils_process_hlp_dhcp() local 480 const u8 *pos, size_t len) in fils_process_hlp_udp() 511 const u8 *pos, size_t len) in fils_process_hlp_ip() 541 const u8 *pos, size_t len) in fils_process_hlp_req() 577 const u8 *pos, int left) in fils_process_hlp()
|
D | wnm_ap.c | 76 u8 *pos; in ieee802_11_send_wnmsleep_resp() local 279 const u8 *pos = frm; in ieee802_11_rx_wnmsleep_req() local 390 u8 *pos; in ieee802_11_send_bss_trans_mgmt_request() local 434 const u8 *pos, *end; in ieee802_11_rx_bss_trans_mgmt_query() local 503 const u8 *pos, *end; in ieee802_11_rx_bss_trans_mgmt_resp() local 694 const u8 *pos = buf, *end = buf + len; in ieee802_11_rx_wnm_event_report() local 846 u8 buf[1000], *pos; in wnm_send_disassoc_imminent() local 912 u8 buf[1000], *pos; in wnm_send_ess_disassoc_imminent() local 965 u8 *buf, *pos; in wnm_send_bss_tm_req() local 1063 u8 buf[100], *pos; in wnm_send_coloc_intf_req() local
|
D | beacon.c | 130 u8 *pos = eid; in hostapd_eid_pwr_constraint() local 196 static u8 * hostapd_eid_country_add(struct hostapd_data *hapd, u8 *pos, in hostapd_eid_country_add() 218 static u8 * hostapd_fill_subband_triplets(struct hostapd_data *hapd, u8 *pos, in hostapd_fill_subband_triplets() 263 u8 *pos = eid; in hostapd_eid_country() local 335 static u8 * hostapd_get_rsne(struct hostapd_data *hapd, u8 *pos, size_t len) in hostapd_get_rsne() 348 static u8 * hostapd_get_mde(struct hostapd_data *hapd, u8 *pos, size_t len) in hostapd_get_mde() 361 static u8 * hostapd_get_rsnxe(struct hostapd_data *hapd, u8 *pos, size_t len) in hostapd_get_rsnxe() 380 static u8 * hostapd_get_wpa_ie(struct hostapd_data *hapd, u8 *pos, size_t len) in hostapd_get_wpa_ie() 393 static u8 * hostapd_get_osen_ie(struct hostapd_data *hapd, u8 *pos, size_t len) in hostapd_get_osen_ie() 406 static u8 * hostapd_get_rsne_override(struct hostapd_data *hapd, u8 *pos, in hostapd_get_rsne_override() [all …]
|
/hostap-latest/wpa_supplicant/ |
D | ctrl_iface.c | 82 char *pos; in set_bssid_filter() local 119 char *pos; in set_disallow_aps() local 242 static int wpas_ctrl_set_blob(struct wpa_supplicant *wpa_s, char *pos) in wpas_ctrl_set_blob() 284 char *pos; in wpas_ctrl_pno() local 390 char *pos; in wpas_ctrl_set_relative_band_adjust() local 442 const char *pos = val; in wpas_ctrl_iface_set_dso() local 629 char *pos; in wpa_supplicant_ctrl_iface_set() local 768 char *pos; in wpa_supplicant_ctrl_iface_set() local 1168 char *pos, *end; in wpa_supplicant_ctrl_iface_tdls_chan_switch() local 1380 char *pos; in wpa_supplicant_ctrl_iface_wps_pbc() local [all …]
|
D | config.c | 284 const char *pos; in wpa_config_parse_addr_list() local 341 char *value, *end, *pos; in wpa_config_write_addr_list() local 578 const char *pos; in wpa_config_parse_psk() local 729 char *buf, *pos, *end; in wpa_config_write_proto() local 896 char *buf, *pos, *end; in wpa_config_write_key_mgmt() local 1388 char *buf, *pos, *end; in wpa_config_write_auth_alg() local 1440 const char *pos; in wpa_config_parse_int_array() local 1521 char *buf, *pos, *end; in wpa_config_write_freqs() local 1671 char *buf, *pos, *end; in wpa_config_write_eap() local 2157 const char *pos; in wpa_config_parse_psk_list() local [all …]
|
/hostap-latest/src/common/ |
D | ocv.c | 58 u8 *pos = *argpos; in ocv_insert_oci() local 79 u8 *pos = *argpos; in ocv_insert_oci_kde() local 91 int ocv_insert_extended_oci(struct wpa_channel_info *ci, u8 *pos) in ocv_insert_extended_oci()
|
/hostap-latest/src/rsn_supp/ |
D | wpa_ie.c | 52 u8 *pos; in wpa_gen_wpa_ie_wpa() local 141 u8 *pos; in wpa_gen_wpa_ie_rsn() local 290 u8 *pos, *len; in wpa_gen_wpa_ie_osen() local 375 u8 *pos = rsnxe; in wpa_gen_rsnxe() local
|