Home
last modified time | relevance | path

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

123

/freebsd/contrib/wpa/src/wps/
H A Dwps.c250 WPA_GET_BE16(attr.dev_password_id) != DEV_PW_PUSHBUTTON) in wps_is_selected_pbc_registrar()
255 !(WPA_GET_BE16(attr.sel_reg_config_methods) & in wps_is_selected_pbc_registrar()
278 WPA_GET_BE16(attr->dev_password_id) == DEV_PW_PUSHBUTTON) in is_selected_pin_registrar()
283 !(WPA_GET_BE16(attr->sel_reg_config_methods) & in is_selected_pin_registrar()
590 WPA_GET_BE16(attr.dev_password_id)); in wps_attr_text()
600 WPA_GET_BE16(attr.sel_reg_config_methods)); in wps_attr_text()
641 WPA_GET_BE16(attr.config_methods)); in wps_attr_text()
H A 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()
H A 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 …]
H A Dwps_attr_process.c131 cred->auth_type = WPA_GET_BE16(auth_type); in wps_process_cred_auth_type()
148 cred->encr_type = WPA_GET_BE16(encr_type); in wps_process_cred_encr_type()
H A Dwps_attr_parse.c290 WPA_GET_BE16(pos + WPS_OOB_PUBKEY_HASH_LEN) != in wps_set_attr()
621 type = WPA_GET_BE16(pos); in wps_parse_msg()
623 len = WPA_GET_BE16(pos); in wps_parse_msg()
/freebsd/contrib/wpa/src/eap_server/
H A 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()
495 alen = WPA_GET_BE16(pos); in eap_gpsk_process_gpsk_4()
H A 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()
H A Deap_server_pax.c327 WPA_GET_BE16(pos) != EAP_PAX_RAND_LEN) { in eap_pax_process_std_2()
339 if (left < 2 || (size_t) 2 + WPA_GET_BE16(pos) > left) { in eap_pax_process_std_2()
343 cid_len = WPA_GET_BE16(pos); in eap_pax_process_std_2()
362 WPA_GET_BE16(pos) != EAP_PAX_MAC_LEN) { in eap_pax_process_std_2()
H A 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()
1148 tlv_type = WPA_GET_BE16(pos) & 0x3fff; in eap_fast_parse_tlvs()
1150 len = WPA_GET_BE16(pos); in eap_fast_parse_tlvs()
1284 type = WPA_GET_BE16(tlv.pac); in eap_fast_process_phase2_tlvs()
1285 len = WPA_GET_BE16(tlv.pac + 2); in eap_fast_process_phase2_tlvs()
1286 res = WPA_GET_BE16(tlv.pac + 4); in eap_fast_process_phase2_tlvs()
H A Deap_server_teap.c158 if (len < 4 || WPA_GET_BE16(ticket) != PAC_TYPE_PAC_OPAQUE) { in eap_teap_session_ticket_cb()
163 pac_opaque_len = WPA_GET_BE16(ticket + 2); in eap_teap_session_ticket_cb()
1374 tlv_type = WPA_GET_BE16(pos) & 0x3fff; in eap_teap_parse_tlvs()
1376 len = WPA_GET_BE16(pos); in eap_teap_parse_tlvs()
1554 WPA_GET_BE32(tlv.nak), WPA_GET_BE16(tlv.nak + 4)); in eap_teap_process_phase2_tlvs()
1569 type = WPA_GET_BE16(tlv.pac); in eap_teap_process_phase2_tlvs()
1570 len = WPA_GET_BE16(tlv.pac + 2); in eap_teap_process_phase2_tlvs()
1571 res = WPA_GET_BE16(tlv.pac + 4); in eap_teap_process_phase2_tlvs()
1983 wpabuf_put_be16(resp, WPA_GET_BE16(hdr) - 4 - outer_tlv_len); in eap_teap_process()
/freebsd/contrib/wpa/src/tls/
H A 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()
H A 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()
681 val = WPA_GET_BE16(pos); in tlsv1_process_diffie_hellman()
705 val = WPA_GET_BE16(pos); in tlsv1_process_diffie_hellman()
721 val = WPA_GET_BE16(pos); in tlsv1_process_diffie_hellman()
/freebsd/contrib/wpa/src/p2p/
H A Dp2p_parse.c166 msg->config_methods = WPA_GET_BE16(pos); in p2p_parse_attribute()
181 if (WPA_GET_BE16(pos) != ATTR_DEV_NAME) { in p2p_parse_attribute()
187 nlen = WPA_GET_BE16(pos); in p2p_parse_attribute()
488 WPA_GET_BE16(attr.config_methods); in p2p_parse_wps_ie()
493 msg->dev_password_id = WPA_GET_BE16(attr.dev_password_id); in p2p_parse_wps_ie()
688 cli->config_methods = WPA_GET_BE16(g); in p2p_group_info_parse()
704 if (WPA_GET_BE16(g) != ATTR_DEV_NAME) in p2p_group_info_parse()
707 count = WPA_GET_BE16(g); in p2p_group_info_parse()
/freebsd/contrib/wpa/src/eap_common/
H A 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()
H A Deap_teap_common.c437 tlv->identity_type = WPA_GET_BE16(pos); in eap_teap_parse_tlv()
454 tlv->result = WPA_GET_BE16(pos); in eap_teap_parse_tlv()
532 tlv->iresult = WPA_GET_BE16(pos); in eap_teap_parse_tlv()
/freebsd/contrib/wpa/src/ap/
H A Dcomeback_token.c47 if (token_idx == 0 || token_idx != WPA_GET_BE16(token)) { in check_comeback_token()
51 MAC2STR(addr), WPA_GET_BE16(token), token_idx); in check_comeback_token()
H A Dtaxonomy.c62 id = WPA_GET_BE16(data); in get_wps_name()
63 elen = WPA_GET_BE16(data + 2); in get_wps_name()
/freebsd/contrib/wpa/src/eap_peer/
H A 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()
H A 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()
H A Deap_teap_pac.c717 type = WPA_GET_BE16(pos); in eap_teap_pac_get_a_id()
719 len = WPA_GET_BE16(pos); in eap_teap_pac_get_a_id()
792 WPA_GET_BE16(buf + 4) != EAP_TEAP_PAC_BINARY_FORMAT_VERSION) { in eap_teap_load_pac_bin()
815 pac->pac_type = WPA_GET_BE16(pos); in eap_teap_load_pac_bin()
819 val = WPA_GET_BE16(pos); in eap_teap_load_pac_bin()
830 val = WPA_GET_BE16(pos); in eap_teap_load_pac_bin()
H A 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()
H A 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()
216 proposal_len = WPA_GET_BE16(p->proposal_length); in ikev2_parse_proposal()
378 group = WPA_GET_BE16(kei); in ikev2_process_kei()
/freebsd/contrib/wpa/wpa_supplicant/
H A 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()
H A Drobust_av.c1144 WPA_GET_BE16(&frame_classifier[11]); in set_frame_classifier_type4_ipv4()
1157 WPA_GET_BE16(&frame_classifier[13]); in set_frame_classifier_type4_ipv4()
1210 WPA_GET_BE16(&frame_classifier[35]); in set_frame_classifier_type4_ipv6()
1223 WPA_GET_BE16(&frame_classifier[37]); in set_frame_classifier_type4_ipv6()
1427 policy->start_port = WPA_GET_BE16(attr_data); in wpas_fill_dscp_policy()
1428 policy->end_port = WPA_GET_BE16(attr_data + 2); in wpas_fill_dscp_policy()
/freebsd/contrib/wpa/src/drivers/
H A 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()

123