/external/wpa_supplicant/ |
D | eap_psk.c | 96 be_to_host16(hdr1->length) < sizeof(*hdr1) || in eap_psk_process_1() 97 be_to_host16(hdr1->length) > reqDataLen) { in eap_psk_process_1() 101 be_to_host16(hdr1->length), in eap_psk_process_1() 117 data->id_s_len = be_to_host16(hdr1->length) - sizeof(*hdr1); in eap_psk_process_1() 192 left = be_to_host16(hdr3->length); in eap_psk_process_3() 197 be_to_host16(hdr3->length), in eap_psk_process_3()
|
D | common.h | 77 #define be_to_host16(n) wpa_swap_16(n) macro 100 #define be_to_host16(n) bswap_16(n) macro 112 #define be_to_host16(n) (n) macro
|
D | eap_tlv.c | 116 left = be_to_host16(hdr->length) - sizeof(struct eap_hdr) - 1; in eap_tlv_process()
|
D | eap_fast.c | 1049 size_t len = be_to_host16(hdr->length); in eap_fast_phase2_request() 1392 type = be_to_host16(hdr->type); in eap_fast_process_pac() 1393 len = be_to_host16(hdr->len); in eap_fast_process_pac() 1450 type = be_to_host16(hdr->type); in eap_fast_process_pac() 1451 len = be_to_host16(hdr->len); in eap_fast_process_pac() 1718 if (be_to_host16(hdr->length) > eap_payload_tlv_len) { in eap_fast_decrypt() 1838 tlen = be_to_host16(hdr->len); in eap_fast_process() 1839 if (be_to_host16(hdr->type) == PAC_TYPE_A_ID && in eap_fast_process()
|
D | eapol_sm.c | 643 if (sizeof(*hdr) + be_to_host16(hdr->length) > sm->last_rx_key_len) { in eapol_sm_processKey() 650 hdr->version, hdr->type, be_to_host16(hdr->length), in eapol_sm_processKey() 697 sm->last_rx_key, sizeof(*hdr) + be_to_host16(hdr->length), in eapol_sm_processKey() 709 key_len = be_to_host16(hdr->length) - sizeof(*key); in eapol_sm_processKey() 1143 plen = be_to_host16(hdr->length); in eapol_sm_rx_eapol()
|
D | eap_peap.c | 283 size_t len = be_to_host16(hdr->length); in eap_peap_phase2_request() 475 be_to_host16(hdr->length) == 5 && in eap_peap_decrypt() 511 len = be_to_host16(hdr->length); in eap_peap_decrypt()
|
D | eap.c | 848 pos, be_to_host16(hdr->length) - 5); in eap_sm_processIdentity() 1018 msg_len = be_to_host16(hdr->length); in eap_sm_processNotify() 1074 plen = be_to_host16(hdr->length); in eap_sm_parseEapReq() 1980 len = be_to_host16(hdr->length); in eap_hdr_validate()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_peap.c | 618 size_t len = be_to_host16(hdr->length); in eap_peap_phase2_request() 811 be_to_host16(hdr->length) == 5 && in eap_peap_decrypt() 852 if ((be_to_host16(tlv->tlv_type) & 0x3fff) != in eap_peap_decrypt() 858 if (sizeof(*tlv) + be_to_host16(tlv->length) > in eap_peap_decrypt() 866 if (be_to_host16(hdr->length) > be_to_host16(tlv->length)) { in eap_peap_decrypt() 873 nmsg = wpabuf_alloc(be_to_host16(hdr->length)); in eap_peap_decrypt() 879 wpabuf_put_data(nmsg, hdr, be_to_host16(hdr->length)); in eap_peap_decrypt() 892 len = be_to_host16(hdr->length); in eap_peap_decrypt()
|
D | eap_fast.c | 408 size_t len = be_to_host16(hdr->length); in eap_fast_phase2_request() 559 if (be_to_host16(hdr->length) > eap_payload_tlv_len) { in eap_fast_process_eap_payload_tlv() 846 type = be_to_host16(hdr->type); in eap_fast_process_pac_tlv() 847 len = be_to_host16(hdr->len); in eap_fast_process_pac_tlv() 970 type = be_to_host16(hdr->type); in eap_fast_process_pac_info() 971 len = be_to_host16(hdr->len); in eap_fast_process_pac_info() 1321 tlen = be_to_host16(hdr->len); in eap_fast_get_a_id() 1322 if (be_to_host16(hdr->type) == PAC_TYPE_A_ID && in eap_fast_get_a_id()
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
D | eap_peap.c | 618 size_t len = be_to_host16(hdr->length); in eap_peap_phase2_request() 811 be_to_host16(hdr->length) == 5 && in eap_peap_decrypt() 852 if ((be_to_host16(tlv->tlv_type) & 0x3fff) != in eap_peap_decrypt() 858 if (sizeof(*tlv) + be_to_host16(tlv->length) > in eap_peap_decrypt() 866 if (be_to_host16(hdr->length) > be_to_host16(tlv->length)) { in eap_peap_decrypt() 873 nmsg = wpabuf_alloc(be_to_host16(hdr->length)); in eap_peap_decrypt() 879 wpabuf_put_data(nmsg, hdr, be_to_host16(hdr->length)); in eap_peap_decrypt() 892 len = be_to_host16(hdr->length); in eap_peap_decrypt()
|
D | eap_fast.c | 408 size_t len = be_to_host16(hdr->length); in eap_fast_phase2_request() 559 if (be_to_host16(hdr->length) > eap_payload_tlv_len) { in eap_fast_process_eap_payload_tlv() 846 type = be_to_host16(hdr->type); in eap_fast_process_pac_tlv() 847 len = be_to_host16(hdr->len); in eap_fast_process_pac_tlv() 970 type = be_to_host16(hdr->type); in eap_fast_process_pac_info() 971 len = be_to_host16(hdr->len); in eap_fast_process_pac_info() 1321 tlen = be_to_host16(hdr->len); in eap_fast_get_a_id() 1322 if (be_to_host16(hdr->type) == PAC_TYPE_A_ID && in eap_fast_get_a_id()
|
D | eap_leap.c | 293 be_to_host16(eap->length) > wpabuf_len(reqData)) { in eap_leap_process()
|
/external/wpa_supplicant_6/wpa_supplicant/src/utils/ |
D | common.h | 186 #define be_to_host16(n) wpa_swap_16(n) macro 214 #define be_to_host16(n) bswap_16((__force u16) (be16) (n)) macro 227 #define be_to_host16(n) (n) macro
|
/external/wpa_supplicant_8/src/ap/ |
D | iapp.c | 296 be_to_host16(add->seq_num), in iapp_process_add_notify() 352 hlen = be_to_host16(hdr->length); in iapp_receive_udp() 357 be_to_host16(hdr->identifier), hlen); in iapp_receive_udp()
|
D | peerkey_auth.c | 364 mui = be_to_host16(error.mui); in wpa_smk_error() 365 error_type = be_to_host16(error.error_type); in wpa_smk_error()
|
D | ieee802_1x.c | 622 eap->code, eap->identifier, be_to_host16(eap->length), in handle_eap_response() 647 eap_len = be_to_host16(eap->length); in handle_eap() 737 datalen = be_to_host16(hdr->length); in ieee802_1x_receive() 1082 hdr->code, hdr->identifier, be_to_host16(hdr->length), in ieee802_1x_decapsulate_radius() 1824 be_to_host16(xhdr->length), ack); in ieee802_1x_tx_status()
|
/external/wpa_supplicant_8/src/utils/ |
D | common.h | 186 #define be_to_host16(n) wpa_swap_16(n) macro 214 #define be_to_host16(n) bswap_16((__force u16) (be16) (n)) macro 227 #define be_to_host16(n) (n) macro
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_peap.c | 1097 if ((be_to_host16(tlv->tlv_type) & EAP_TLV_TYPE_MASK) != in eap_peap_process_phase2() 1103 if (sizeof(*tlv) + be_to_host16(tlv->length) > in eap_peap_process_phase2() 1111 if (be_to_host16(hdr->length) > be_to_host16(tlv->length)) { in eap_peap_process_phase2() 1118 nmsg = wpabuf_alloc(be_to_host16(hdr->length)); in eap_peap_process_phase2() 1124 wpabuf_put_data(nmsg, hdr, be_to_host16(hdr->length)); in eap_peap_process_phase2() 1138 len = be_to_host16(hdr->length); in eap_peap_process_phase2()
|
D | eap_server_fast.c | 1106 len = be_to_host16(hdr->length); in eap_fast_process_phase2_eap() 1241 return be_to_host16(tlv->tlv_type) == PAC_TYPE_PAC_TYPE && in eap_fast_pac_type() 1242 be_to_host16(tlv->length) == 2 && in eap_fast_pac_type() 1243 be_to_host16(tlv->pac_type) == type; in eap_fast_pac_type()
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
D | eap_peap.c | 1120 if ((be_to_host16(tlv->tlv_type) & EAP_TLV_TYPE_MASK) != in eap_peap_process_phase2() 1126 if (sizeof(*tlv) + be_to_host16(tlv->length) > in eap_peap_process_phase2() 1134 if (be_to_host16(hdr->length) > be_to_host16(tlv->length)) { in eap_peap_process_phase2() 1141 nmsg = wpabuf_alloc(be_to_host16(hdr->length)); in eap_peap_process_phase2() 1147 wpabuf_put_data(nmsg, hdr, be_to_host16(hdr->length)); in eap_peap_process_phase2() 1161 len = be_to_host16(hdr->length); in eap_peap_process_phase2()
|
D | eap_fast.c | 1101 len = be_to_host16(hdr->length); in eap_fast_process_phase2_eap() 1236 return be_to_host16(tlv->tlv_type) == PAC_TYPE_PAC_TYPE && in eap_fast_pac_type() 1237 be_to_host16(tlv->length) == 2 && in eap_fast_pac_type() 1238 be_to_host16(tlv->pac_type) == type; in eap_fast_pac_type()
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
D | eap_common.c | 51 len = be_to_host16(hdr->length); in eap_hdr_validate()
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_common.c | 51 len = be_to_host16(hdr->length); in eap_hdr_validate()
|
/external/wpa_supplicant_8/src/eapol_supp/ |
D | eapol_supp_sm.c | 676 if (sizeof(*hdr) + be_to_host16(hdr->length) > sm->last_rx_key_len) { in eapol_sm_processKey() 683 hdr->version, hdr->type, be_to_host16(hdr->length), in eapol_sm_processKey() 730 sm->last_rx_key, sizeof(*hdr) + be_to_host16(hdr->length), in eapol_sm_processKey() 742 key_len = be_to_host16(hdr->length) - sizeof(*key); in eapol_sm_processKey() 1205 plen = be_to_host16(hdr->length); in eapol_sm_rx_eapol() 1219 elen = be_to_host16(ehdr->length); in eapol_sm_rx_eapol()
|
/external/wpa_supplicant_6/wpa_supplicant/src/eapol_supp/ |
D | eapol_supp_sm.c | 668 if (sizeof(*hdr) + be_to_host16(hdr->length) > sm->last_rx_key_len) { in eapol_sm_processKey() 675 hdr->version, hdr->type, be_to_host16(hdr->length), in eapol_sm_processKey() 722 sm->last_rx_key, sizeof(*hdr) + be_to_host16(hdr->length), in eapol_sm_processKey() 734 key_len = be_to_host16(hdr->length) - sizeof(*key); in eapol_sm_processKey() 1168 plen = be_to_host16(hdr->length); in eapol_sm_rx_eapol() 1182 elen = be_to_host16(ehdr->length); in eapol_sm_rx_eapol()
|