Lines Matching refs:extra_len
531 size_t mic_len, hdrlen, rlen, extra_len = 0; in wpa_supplicant_send_2_of_4() local
588 extra_len = wpabuf_len(sm->test_eapol_m2_elems); in wpa_supplicant_send_2_of_4()
590 pad_len = (wpa_ie_len + extra_len) % 8; in wpa_supplicant_send_2_of_4()
593 extra_len += pad_len + 8; in wpa_supplicant_send_2_of_4()
600 NULL, hdrlen + wpa_ie_len + extra_len, in wpa_supplicant_send_2_of_4()
633 WPA_PUT_BE16(key_mic + mic_len, wpa_ie_len + extra_len); in wpa_supplicant_send_2_of_4()
648 extra_len = wpabuf_len(sm->test_eapol_m2_elems); in wpa_supplicant_send_2_of_4()
650 extra_len = 0; in wpa_supplicant_send_2_of_4()
651 plain_len = wpa_ie_len + extra_len + pad_len; in wpa_supplicant_send_2_of_4()
2225 size_t kde_len = 0, extra_len = 0; in wpa_supplicant_send_4_of_4() local
2247 extra_len = wpabuf_len(sm->test_eapol_m4_elems); in wpa_supplicant_send_4_of_4()
2249 pad_len = (kde_len + extra_len) % 8; in wpa_supplicant_send_4_of_4()
2252 extra_len += pad_len + 8; in wpa_supplicant_send_4_of_4()
2259 hdrlen + kde_len + extra_len, &rlen, in wpa_supplicant_send_4_of_4()
2289 WPA_PUT_BE16(key_mic + mic_len, kde_len + extra_len); in wpa_supplicant_send_4_of_4()
2307 extra_len = wpabuf_len(sm->test_eapol_m4_elems); in wpa_supplicant_send_4_of_4()
2309 extra_len = 0; in wpa_supplicant_send_4_of_4()
2310 plain_len = kde_len + extra_len + pad_len; in wpa_supplicant_send_4_of_4()