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.c941 size_t keyhdrlen, mic_len; in wpa_receive() local
949 keyhdrlen = sizeof(*key) + mic_len + 2; in wpa_receive()
951 if (data_len < sizeof(*hdr) + keyhdrlen) { in wpa_receive()
971 if (key_data_length > data_len - sizeof(*hdr) - keyhdrlen) { in wpa_receive()
976 keyhdrlen)); in wpa_receive()
1421 size_t len, mic_len, keyhdrlen; in __wpa_send_eapol() local
1430 keyhdrlen = sizeof(*key) + mic_len + 2; in __wpa_send_eapol()
1432 len = sizeof(struct ieee802_1x_hdr) + keyhdrlen; in __wpa_send_eapol()
1480 key_data = ((u8 *) (hdr + 1)) + keyhdrlen; in __wpa_send_eapol()
/external/wpa_supplicant_8/src/rsn_supp/
Dwpa.c2186 size_t mic_len, keyhdrlen; in wpa_sm_rx_eapol() local
2193 keyhdrlen = sizeof(*key) + mic_len + 2; in wpa_sm_rx_eapol()
2195 if (len < sizeof(*hdr) + keyhdrlen) { in wpa_sm_rx_eapol()
2200 (unsigned long) sizeof(*hdr) + keyhdrlen); in wpa_sm_rx_eapol()
2222 if (plen > len - sizeof(*hdr) || plen < keyhdrlen) { in wpa_sm_rx_eapol()
2259 if (key_data_len > plen - keyhdrlen) { in wpa_sm_rx_eapol()
2263 (unsigned int) (plen - keyhdrlen)); in wpa_sm_rx_eapol()