Home | History | Annotate | Download | only in net80211

Lines Matching defs:icv

579 	uint8_t icv[IEEE80211_WEP_CRCLEN])
625 /* Append little-endian CRC32 and encrypt it to produce ICV */
626 icv[0] = crc;
627 icv[1] = crc >> 8;
628 icv[2] = crc >> 16;
629 icv[3] = crc >> 24;
634 icv[k] ^= S[(S[i] + S[j]) & 0xff];
643 u8 *pos, icv[4];
684 * received ICV */
685 icv[0] = crc;
686 icv[1] = crc >> 8;
687 icv[2] = crc >> 16;
688 icv[3] = crc >> 24;
693 if ((icv[k] ^ S[(S[i] + S[j]) & 0xff]) != *pos++) {
694 /* ICV mismatch - drop frame */
879 uint8_t icv[IEEE80211_WEP_CRCLEN];
895 icv);
897 if (!m_append(m, IEEE80211_WEP_CRCLEN, icv)) {
930 /* NB: m is unstripped; deduct headers + ICV to get payload */
939 "[%s] TKIP ICV mismatch on decrypt\n",