Lines Matching refs:icv
109 u8 *pos, *icv; in lib80211_wep_encrypt() local
132 icv = skb_put(skb, 4); in lib80211_wep_encrypt()
133 icv[0] = crc; in lib80211_wep_encrypt()
134 icv[1] = crc >> 8; in lib80211_wep_encrypt()
135 icv[2] = crc >> 16; in lib80211_wep_encrypt()
136 icv[3] = crc >> 24; in lib80211_wep_encrypt()
156 u8 keyidx, *pos, icv[4]; in lib80211_wep_decrypt() local
181 icv[0] = crc; in lib80211_wep_decrypt()
182 icv[1] = crc >> 8; in lib80211_wep_decrypt()
183 icv[2] = crc >> 16; in lib80211_wep_decrypt()
184 icv[3] = crc >> 24; in lib80211_wep_decrypt()
185 if (memcmp(icv, pos + plen, 4) != 0) { in lib80211_wep_decrypt()