Searched refs:keyhdrlen (Results 1 – 2 of 2) sorted by relevance
883 size_t eapol_key_ie_len, keyhdrlen, mic_len; in wpa_receive() local889 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() local1420 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()
1696 size_t mic_len, keyhdrlen; in wpa_sm_rx_eapol() local1703 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()