IEEE80211_TKIP_MICLEN
uint8_t tkip[IEEE80211_TKIP_MICLEN];
u_int8_t[IEEE80211_TKIP_MICLEN]);
u_int8_t mic[IEEE80211_TKIP_MICLEN])
(IEEE80211_TKIP_MICLEN + IEEE80211_WEP_CRCLEN)
crc = ether_crc32_le_update(crc, mic, IEEE80211_TKIP_MICLEN);
rc4_crypt(&ctx->rc4, mic, mic, IEEE80211_TKIP_MICLEN);
n->m_len += IEEE80211_TKIP_MICLEN;
u_int8_t buf[IEEE80211_TKIP_MICLEN + IEEE80211_WEP_CRCLEN];
u_int8_t mic[IEEE80211_TKIP_MICLEN];
crc = ether_crc32_le_update(crc, mic0, IEEE80211_TKIP_MICLEN);
crc0 = *(u_int32_t *)(buf + IEEE80211_TKIP_MICLEN);
if (timingsafe_bcmp(mic0, mic, IEEE80211_TKIP_MICLEN) != 0) {