crcbuf 332 dev/ic/awi_wep.c u_int8_t crcbuf[IEEE80211_WEP_CRCLEN]; crcbuf 437 dev/ic/awi_wep.c LE_WRITE_4(crcbuf, crc); crcbuf 438 dev/ic/awi_wep.c if (n->m_len >= noff + sizeof(crcbuf)) crcbuf 439 dev/ic/awi_wep.c n->m_len = noff + sizeof(crcbuf); crcbuf 446 dev/ic/awi_wep.c n->m_len = sizeof(crcbuf); crcbuf 449 dev/ic/awi_wep.c awa->awa_encrypt(ctx, mtod(n, caddr_t) + noff, crcbuf, crcbuf 450 dev/ic/awi_wep.c sizeof(crcbuf)); crcbuf 454 dev/ic/awi_wep.c for (; noff < sizeof(crcbuf); noff += len, m = m->m_next) { crcbuf 459 dev/ic/awi_wep.c awa->awa_decrypt(ctx, crcbuf + noff, crcbuf 462 dev/ic/awi_wep.c if (crc != LE_READ_4(crcbuf)) crcbuf 373 net80211/ieee80211_crypto.c u_int8_t crcbuf[IEEE80211_WEP_CRCLEN]; crcbuf 508 net80211/ieee80211_crypto.c *(u_int32_t *)crcbuf = htole32(crc); crcbuf 509 net80211/ieee80211_crypto.c if (n->m_len >= noff + sizeof(crcbuf)) crcbuf 510 net80211/ieee80211_crypto.c n->m_len = noff + sizeof(crcbuf); crcbuf 519 net80211/ieee80211_crypto.c n->m_len = sizeof(crcbuf); crcbuf 522 net80211/ieee80211_crypto.c rc4_crypt(ctx, crcbuf, mtod(n, caddr_t) + noff, crcbuf 523 net80211/ieee80211_crypto.c sizeof(crcbuf)); crcbuf 526 net80211/ieee80211_crypto.c for (noff = 0; noff < sizeof(crcbuf); noff += len) { crcbuf 527 net80211/ieee80211_crypto.c len = sizeof(crcbuf) - noff; crcbuf 532 net80211/ieee80211_crypto.c crcbuf + noff, len); crcbuf 536 net80211/ieee80211_crypto.c if (crc != letoh32(*(u_int32_t *)crcbuf)) {