Searched refs:keyhdrlen (Results 1 – 2 of 2) sorted by relevance
1019 size_t keyhdrlen, mic_len; in wpa_receive() local1027 keyhdrlen = sizeof(*key) + mic_len + 2; in wpa_receive()1029 if (data_len < sizeof(*hdr) + keyhdrlen) { in wpa_receive()1049 if (key_data_length > data_len - sizeof(*hdr) - keyhdrlen) { in wpa_receive()1053 data_len - sizeof(*hdr) - keyhdrlen); in wpa_receive()1488 size_t len, mic_len, keyhdrlen; in __wpa_send_eapol() local1497 keyhdrlen = sizeof(*key) + mic_len + 2; in __wpa_send_eapol()1499 len = sizeof(struct ieee802_1x_hdr) + keyhdrlen; in __wpa_send_eapol()1546 key_data = ((u8 *) (hdr + 1)) + keyhdrlen; in __wpa_send_eapol()
2478 size_t mic_len, keyhdrlen, pmk_len; in wpa_sm_rx_eapol() local2488 keyhdrlen = sizeof(*key) + mic_len + 2; in wpa_sm_rx_eapol()2490 if (len < sizeof(*hdr) + keyhdrlen) { in wpa_sm_rx_eapol()2495 (unsigned long) sizeof(*hdr) + keyhdrlen); in wpa_sm_rx_eapol()2517 if (plen > len - sizeof(*hdr) || plen < keyhdrlen) { in wpa_sm_rx_eapol()2554 if (key_data_len > plen - keyhdrlen) { in wpa_sm_rx_eapol()2558 (unsigned int) (plen - keyhdrlen)); in wpa_sm_rx_eapol()