Home
last modified time | relevance | path

Searched refs:keyhdrlen (Results 1 – 2 of 2) sorted by relevance

/external/wpa_supplicant_8/src/ap/
Dwpa_auth.c883 size_t eapol_key_ie_len, keyhdrlen, mic_len; in wpa_receive() local
889 keyhdrlen = mic_len == 24 ? sizeof(*key192) : sizeof(*key); in wpa_receive()
891 if (data_len < sizeof(*hdr) + keyhdrlen) in wpa_receive()
908 if (key_data_length > data_len - sizeof(*hdr) - keyhdrlen) { in wpa_receive()
913 keyhdrlen)); in wpa_receive()
1411 size_t len, mic_len, keyhdrlen; in __wpa_send_eapol() local
1420 keyhdrlen = mic_len == 24 ? sizeof(*key192) : sizeof(*key); in __wpa_send_eapol()
1422 len = sizeof(struct ieee802_1x_hdr) + keyhdrlen; in __wpa_send_eapol()
1470 key_data = ((u8 *) (hdr + 1)) + keyhdrlen; in __wpa_send_eapol()
/external/wpa_supplicant_8/src/rsn_supp/
Dwpa.c1696 size_t mic_len, keyhdrlen; in wpa_sm_rx_eapol() local
1703 keyhdrlen = mic_len == 24 ? sizeof(*key192) : sizeof(*key); in wpa_sm_rx_eapol()
1705 if (len < sizeof(*hdr) + keyhdrlen) { in wpa_sm_rx_eapol()
1710 (unsigned long) sizeof(*hdr) + keyhdrlen); in wpa_sm_rx_eapol()
1732 if (plen > len - sizeof(*hdr) || plen < keyhdrlen) { in wpa_sm_rx_eapol()
1777 if (key_data_len > plen - keyhdrlen) { in wpa_sm_rx_eapol()
1781 (unsigned int) (plen - keyhdrlen)); in wpa_sm_rx_eapol()