Home
last modified time | relevance | path

Searched refs:WPA_GET_BE16 (Results 1 – 25 of 63) sorted by relevance

123

/external/wpa_supplicant_8/src/wps/
Dwps.c249 WPA_GET_BE16(attr.dev_password_id) != DEV_PW_PUSHBUTTON) in wps_is_selected_pbc_registrar()
254 !(WPA_GET_BE16(attr.sel_reg_config_methods) & in wps_is_selected_pbc_registrar()
277 WPA_GET_BE16(attr->dev_password_id) == DEV_PW_PUSHBUTTON) in is_selected_pin_registrar()
282 !(WPA_GET_BE16(attr->sel_reg_config_methods) & in is_selected_pin_registrar()
589 WPA_GET_BE16(attr.dev_password_id)); in wps_attr_text()
599 WPA_GET_BE16(attr.sel_reg_config_methods)); in wps_attr_text()
640 WPA_GET_BE16(attr.config_methods)); in wps_attr_text()
Dwps_upnp_ap.c52 WPA_GET_BE16(attr.dev_password_id) : DEV_PW_DEFAULT; in upnp_er_set_selected_registrar()
54 WPA_GET_BE16(attr.sel_reg_config_methods) : -1; in upnp_er_set_selected_registrar()
Dwps_validate.c142 val = WPA_GET_BE16(config_methods); in wps_validate_config_methods()
161 val = WPA_GET_BE16(config_methods); in wps_validate_ap_config_methods()
249 val = WPA_GET_BE16(assoc_state); in wps_validate_assoc_state()
271 val = WPA_GET_BE16(config_error); in wps_validate_config_error()
294 val = WPA_GET_BE16(dev_password_id); in wps_validate_dev_password_id()
514 val = WPA_GET_BE16(config_methods); in wps_validate_sel_reg_config_methods()
653 val = WPA_GET_BE16(flags); in wps_validate_auth_type_flags()
675 val = WPA_GET_BE16(type); in wps_validate_auth_type()
699 val = WPA_GET_BE16(flags); in wps_validate_encr_type_flags()
721 val = WPA_GET_BE16(type); in wps_validate_encr_type()
[all …]
Dwps_attr_process.c130 cred->auth_type = WPA_GET_BE16(auth_type); in wps_process_cred_auth_type()
147 cred->encr_type = WPA_GET_BE16(encr_type); in wps_process_cred_encr_type()
Dwps_attr_parse.c290 WPA_GET_BE16(pos + WPS_OOB_PUBKEY_HASH_LEN) != in wps_set_attr()
616 type = WPA_GET_BE16(pos); in wps_parse_msg()
618 len = WPA_GET_BE16(pos); in wps_parse_msg()
Dwps_enrollee.c902 id = WPA_GET_BE16(dev_pw_id); in wps_process_dev_pw_id()
1060 WPA_GET_BE16(attr->config_methods); in wps_process_m2d()
1074 WPA_GET_BE16(attr->config_error); in wps_process_m2d()
1077 WPA_GET_BE16(attr->dev_password_id); in wps_process_m2d()
1448 config_error = WPA_GET_BE16(attr.config_error); in wps_process_wsc_nack()
Dwps_registrar.c1184 WPA_GET_BE16(attr.config_methods), in wps_registrar_probe_req_rx()
1185 WPA_GET_BE16(attr.dev_password_id), in wps_registrar_probe_req_rx()
1190 if (WPA_GET_BE16(attr.dev_password_id) != DEV_PW_PUSHBUTTON) in wps_registrar_probe_req_rx()
2260 wps->dev_pw_id = WPA_GET_BE16(pw_id); in wps_process_dev_password_id()
2428 auth_types = WPA_GET_BE16(auth); in wps_process_auth_type_flags()
2485 encr_types = WPA_GET_BE16(encr); in wps_process_encr_type_flags()
2539 m = WPA_GET_BE16(methods); in wps_process_config_methods()
2592 a = WPA_GET_BE16(assoc); in wps_process_assoc_state()
2608 e = WPA_GET_BE16(err); in wps_process_config_error()
3242 config_error = WPA_GET_BE16(attr.config_error); in wps_process_wsc_nack()
[all …]
/external/wpa_supplicant_8/src/eap_server/
Deap_server_gpsk.c263 alen = WPA_GET_BE16(pos); in eap_gpsk_process_gpsk_2()
289 alen = WPA_GET_BE16(pos); in eap_gpsk_process_gpsk_2()
341 alen = WPA_GET_BE16(pos); in eap_gpsk_process_gpsk_2()
374 WPA_GET_BE16(csuite->specifier)); in eap_gpsk_process_gpsk_2()
379 data->specifier = WPA_GET_BE16(csuite->specifier); in eap_gpsk_process_gpsk_2()
390 alen = WPA_GET_BE16(pos); in eap_gpsk_process_gpsk_2()
494 alen = WPA_GET_BE16(pos); in eap_gpsk_process_gpsk_4()
Dikev2.c135 transform_len = WPA_GET_BE16(t->transform_length); in ikev2_parse_transform()
143 transform_id = WPA_GET_BE16(t->transform_id); in ikev2_parse_transform()
171 if (WPA_GET_BE16(pos) != 0x800e) { in ikev2_parse_transform()
177 if (WPA_GET_BE16(pos + 2) != 128) { in ikev2_parse_transform()
181 WPA_GET_BE16(pos + 2)); in ikev2_parse_transform()
223 proposal_len = WPA_GET_BE16(p->proposal_length); in ikev2_parse_proposal()
385 group = WPA_GET_BE16(ker); in ikev2_process_ker()
Deap_server_pax.c307 WPA_GET_BE16(pos) != EAP_PAX_RAND_LEN) { in eap_pax_process_std_2()
319 if (left < 2 || (size_t) 2 + WPA_GET_BE16(pos) > left) { in eap_pax_process_std_2()
323 cid_len = WPA_GET_BE16(pos); in eap_pax_process_std_2()
342 WPA_GET_BE16(pos) != EAP_PAX_MAC_LEN) { in eap_pax_process_std_2()
Deap_server_fast.c138 if (len < 4 || WPA_GET_BE16(ticket) != PAC_TYPE_PAC_OPAQUE) { in eap_fast_session_ticket_cb()
144 pac_opaque_len = WPA_GET_BE16(ticket + 2); in eap_fast_session_ticket_cb()
1144 tlv_type = WPA_GET_BE16(pos) & 0x3fff; in eap_fast_parse_tlvs()
1146 len = WPA_GET_BE16(pos); in eap_fast_parse_tlvs()
1280 type = WPA_GET_BE16(tlv.pac); in eap_fast_process_phase2_tlvs()
1281 len = WPA_GET_BE16(tlv.pac + 2); in eap_fast_process_phase2_tlvs()
1282 res = WPA_GET_BE16(tlv.pac + 4); in eap_fast_process_phase2_tlvs()
/external/wpa_supplicant_8/src/tls/
Dtlsv1_server_read.c111 len = WPA_GET_BE16(pos); in tls_process_status_request_v2()
180 conn->client_version = WPA_GET_BE16(pos); in tls_process_client_hello()
237 num_suites = WPA_GET_BE16(pos); in tls_process_client_hello()
257 u16 tmp = WPA_GET_BE16(c); in tls_process_client_hello()
317 ext_len = WPA_GET_BE16(pos); in tls_process_client_hello()
341 ext_type = WPA_GET_BE16(pos); in tls_process_client_hello()
349 ext_len = WPA_GET_BE16(pos); in tls_process_client_hello()
613 encr_len = WPA_GET_BE16(pos); in tls_process_client_key_exchange_rsa()
665 if (!use_random && WPA_GET_BE16(out) != conn->client_version) { in tls_process_client_key_exchange_rsa()
740 dh_yc_len = WPA_GET_BE16(pos); in tls_process_client_key_exchange_dh()
Dtlsv1_client_read.c56 ext = WPA_GET_BE16(pos); in tls_process_server_hello_extensions()
58 elen = WPA_GET_BE16(pos); in tls_process_server_hello_extensions()
126 tls_version = WPA_GET_BE16(pos); in tls_process_server_hello()
172 cipher_suite = WPA_GET_BE16(pos); in tls_process_server_hello()
220 ext_len = WPA_GET_BE16(pos); in tls_process_server_hello()
673 val = WPA_GET_BE16(pos); in tlsv1_process_diffie_hellman()
697 val = WPA_GET_BE16(pos); in tlsv1_process_diffie_hellman()
713 val = WPA_GET_BE16(pos); in tlsv1_process_diffie_hellman()
/external/wpa_supplicant_8/src/p2p/
Dp2p_parse.c147 msg->config_methods = WPA_GET_BE16(pos); in p2p_parse_attribute()
162 if (WPA_GET_BE16(pos) != ATTR_DEV_NAME) { in p2p_parse_attribute()
168 nlen = WPA_GET_BE16(pos); in p2p_parse_attribute()
469 WPA_GET_BE16(attr.config_methods); in p2p_parse_wps_ie()
474 msg->dev_password_id = WPA_GET_BE16(attr.dev_password_id); in p2p_parse_wps_ie()
667 cli->config_methods = WPA_GET_BE16(g); in p2p_group_info_parse()
683 if (WPA_GET_BE16(g) != ATTR_DEV_NAME) in p2p_group_info_parse()
686 count = WPA_GET_BE16(g); in p2p_group_info_parse()
/external/wpa_supplicant_8/src/eap_common/
Deap_fast_common.c178 tlv->result = WPA_GET_BE16(pos); in eap_fast_parse_tlv()
204 tlv->iresult = WPA_GET_BE16(pos); in eap_fast_parse_tlv()
249 tlv->request_action = WPA_GET_BE16(pos); in eap_fast_parse_tlv()
Deap_sim_common.c620 plen = WPA_GET_BE16(apos); in eap_sim_parse_attr()
792 attr->res_len_bits = WPA_GET_BE16(apos); in eap_sim_parse_attr()
863 plen = WPA_GET_BE16(apos); in eap_sim_parse_attr()
896 attr->kdf[attr->kdf_count] = WPA_GET_BE16(apos); in eap_sim_parse_attr()
/external/wpa_supplicant_8/src/eap_peer/
Deap_fast_pac.c713 type = WPA_GET_BE16(pos); in eap_fast_pac_get_a_id()
715 len = WPA_GET_BE16(pos); in eap_fast_pac_get_a_id()
788 WPA_GET_BE16(buf + 4) != EAP_FAST_PAC_BINARY_FORMAT_VERSION) { in eap_fast_load_pac_bin()
811 pac->pac_type = WPA_GET_BE16(pos); in eap_fast_load_pac_bin()
815 val = WPA_GET_BE16(pos); in eap_fast_load_pac_bin()
826 val = WPA_GET_BE16(pos); in eap_fast_load_pac_bin()
Deap_gpsk.c152 alen = WPA_GET_BE16(pos); in eap_gpsk_process_id_server()
207 specifier = WPA_GET_BE16(csuite->specifier); in eap_gpsk_select_csuite()
248 len = WPA_GET_BE16(pos); in eap_gpsk_process_csuite_list()
462 len = WPA_GET_BE16(pos); in eap_gpsk_validate_id_server()
504 specifier = WPA_GET_BE16(csuite->specifier); in eap_gpsk_validate_csuite()
530 alen = WPA_GET_BE16(pos); in eap_gpsk_validate_pd_payload_2()
Dikev2.c130 transform_len = WPA_GET_BE16(t->transform_length); in ikev2_parse_transform()
138 transform_id = WPA_GET_BE16(t->transform_id); in ikev2_parse_transform()
165 if (WPA_GET_BE16(pos) != 0x800e) { in ikev2_parse_transform()
171 if (WPA_GET_BE16(pos + 2) != 128) { in ikev2_parse_transform()
175 WPA_GET_BE16(pos + 2)); in ikev2_parse_transform()
215 proposal_len = WPA_GET_BE16(p->proposal_length); in ikev2_parse_proposal()
376 group = WPA_GET_BE16(kei); in ikev2_process_kei()
Deap_pax.c151 if (WPA_GET_BE16(pos) != EAP_PAX_RAND_LEN) { in eap_pax_process_std_1()
154 WPA_GET_BE16(pos), EAP_PAX_RAND_LEN); in eap_pax_process_std_1()
267 if (WPA_GET_BE16(pos) != EAP_PAX_MAC_LEN) { in eap_pax_process_std_3()
270 WPA_GET_BE16(pos), EAP_PAX_MAC_LEN); in eap_pax_process_std_3()
Dtncc.c1296 if (WPA_GET_BE16(pos) != EAP_TLV_VENDOR_SPECIFIC_TLV) in tncc_process_soh_request()
1301 if (WPA_GET_BE16(pos) < 8) in tncc_process_soh_request()
1311 if (WPA_GET_BE16(pos) != 0x02 /* SoH request TLV */) in tncc_process_soh_request()
/external/wpa_supplicant_8/src/ap/
Dtaxonomy.c62 id = WPA_GET_BE16(data); in get_wps_name()
63 elen = WPA_GET_BE16(data + 2); in get_wps_name()
/external/wpa_supplicant_8/wpa_supplicant/
Dwifi_display.c319 len = WPA_GET_BE16(pos + 1) + 3; in wifi_display_subelem_set_from_ies()
402 elen = WPA_GET_BE16(buf + i + 1); in wifi_display_subelem_hex()
/external/wpa_supplicant_8/src/drivers/
Ddriver_roboswitch.c81 be[(ETH_ALEN - i) / 2 - 1] = WPA_GET_BE16(addr + i); in wpa_driver_roboswitch_addr_be16()
177 if (len > 14 && WPA_GET_BE16(buf + 12) == ETH_P_EAPOL && in wpa_driver_roboswitch_receive()
/external/wpa_supplicant_8/src/utils/
Dpcsc_funcs.c332 *file_len = WPA_GET_BE16(pos); in scard_parse_fsp_templ()
1078 val = WPA_GET_BE16(resp); in scard_get_pin_retry_counter()
1124 blen = WPA_GET_BE16(&buf[2]); in scard_get_imsi()
1198 file_size = WPA_GET_BE16(&buf[2]); in scard_get_mnc_len()

123