Home
last modified time | relevance | path

Searched refs:icv (Results 1 - 25 of 81) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_crypt_wep.c74 u8 *icv; in prism2_wep_encrypt() local
112 icv = skb_put(skb, 4); in prism2_wep_encrypt()
113 icv[0] = crc; in prism2_wep_encrypt()
114 icv[1] = crc >> 8; in prism2_wep_encrypt()
115 icv[2] = crc >> 16; in prism2_wep_encrypt()
116 icv[3] = crc >> 24; in prism2_wep_encrypt()
141 u8 icv[4]; in prism2_wep_decrypt() local
167 icv[0] = crc; in prism2_wep_decrypt()
168 icv[1] = crc >> 8; in prism2_wep_decrypt()
169 icv[ in prism2_wep_decrypt()
[all...]
H A Dieee80211_crypt_tkip.c276 u8 rc4key[16], *icv; in ieee80211_tkip_encrypt() local
318 icv = skb_put(skb, 4); in ieee80211_tkip_encrypt()
320 icv[0] = crc; in ieee80211_tkip_encrypt()
321 icv[1] = crc >> 8; in ieee80211_tkip_encrypt()
322 icv[2] = crc >> 16; in ieee80211_tkip_encrypt()
323 icv[3] = crc >> 24; in ieee80211_tkip_encrypt()
347 u8 icv[4]; in ieee80211_tkip_decrypt() local
407 icv[0] = crc; in ieee80211_tkip_decrypt()
408 icv[1] = crc >> 8; in ieee80211_tkip_decrypt()
409 icv[ in ieee80211_tkip_decrypt()
[all...]
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/
H A Drtllib_crypt_wep.c70 u8 *icv; in prism2_wep_encrypt() local
110 icv = skb_put(skb, 4); in prism2_wep_encrypt()
111 icv[0] = crc; in prism2_wep_encrypt()
112 icv[1] = crc >> 8; in prism2_wep_encrypt()
113 icv[2] = crc >> 16; in prism2_wep_encrypt()
114 icv[3] = crc >> 24; in prism2_wep_encrypt()
140 u8 icv[4]; in prism2_wep_decrypt() local
166 icv[0] = crc; in prism2_wep_decrypt()
167 icv[1] = crc >> 8; in prism2_wep_decrypt()
168 icv[ in prism2_wep_decrypt()
[all...]
H A Drtllib_crypt_tkip.c276 u8 rc4key[16], *icv; in rtllib_tkip_encrypt() local
319 icv = skb_put(skb, 4); in rtllib_tkip_encrypt()
321 icv[0] = crc; in rtllib_tkip_encrypt()
322 icv[1] = crc >> 8; in rtllib_tkip_encrypt()
323 icv[2] = crc >> 16; in rtllib_tkip_encrypt()
324 icv[3] = crc >> 24; in rtllib_tkip_encrypt()
353 u8 icv[4]; in rtllib_tkip_decrypt() local
418 icv[0] = crc; in rtllib_tkip_decrypt()
419 icv[1] = crc >> 8; in rtllib_tkip_decrypt()
420 icv[ in rtllib_tkip_decrypt()
[all...]
/kernel/linux/linux-5.10/net/wireless/
H A Dlib80211_crypt_wep.c109 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[ in lib80211_wep_decrypt()
[all...]
H A Dlib80211_crypt_tkip.c331 u8 rc4key[16], *pos, *icv; in lib80211_tkip_encrypt() local
351 icv = skb_put(skb, 4); in lib80211_tkip_encrypt()
352 icv[0] = crc; in lib80211_tkip_encrypt()
353 icv[1] = crc >> 8; in lib80211_tkip_encrypt()
354 icv[2] = crc >> 16; in lib80211_tkip_encrypt()
355 icv[3] = crc >> 24; in lib80211_tkip_encrypt()
384 u8 icv[4]; in lib80211_tkip_decrypt() local
443 icv[0] = crc; in lib80211_tkip_decrypt()
444 icv[1] = crc >> 8; in lib80211_tkip_decrypt()
445 icv[ in lib80211_tkip_decrypt()
[all...]
/kernel/linux/linux-6.6/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_crypt_wep.c74 u8 *icv; in prism2_wep_encrypt() local
112 icv = skb_put(skb, 4); in prism2_wep_encrypt()
113 icv[0] = crc; in prism2_wep_encrypt()
114 icv[1] = crc >> 8; in prism2_wep_encrypt()
115 icv[2] = crc >> 16; in prism2_wep_encrypt()
116 icv[3] = crc >> 24; in prism2_wep_encrypt()
141 u8 icv[4]; in prism2_wep_decrypt() local
167 icv[0] = crc; in prism2_wep_decrypt()
168 icv[1] = crc >> 8; in prism2_wep_decrypt()
169 icv[ in prism2_wep_decrypt()
[all...]
H A Dieee80211_crypt_tkip.c276 u8 rc4key[16], *icv; in ieee80211_tkip_encrypt() local
318 icv = skb_put(skb, 4); in ieee80211_tkip_encrypt()
320 icv[0] = crc; in ieee80211_tkip_encrypt()
321 icv[1] = crc >> 8; in ieee80211_tkip_encrypt()
322 icv[2] = crc >> 16; in ieee80211_tkip_encrypt()
323 icv[3] = crc >> 24; in ieee80211_tkip_encrypt()
347 u8 icv[4]; in ieee80211_tkip_decrypt() local
407 icv[0] = crc; in ieee80211_tkip_decrypt()
408 icv[1] = crc >> 8; in ieee80211_tkip_decrypt()
409 icv[ in ieee80211_tkip_decrypt()
[all...]
/kernel/linux/linux-6.6/drivers/staging/rtl8192e/
H A Drtllib_crypt_wep.c68 u8 *icv; in prism2_wep_encrypt() local
108 icv = skb_put(skb, 4); in prism2_wep_encrypt()
109 icv[0] = crc; in prism2_wep_encrypt()
110 icv[1] = crc >> 8; in prism2_wep_encrypt()
111 icv[2] = crc >> 16; in prism2_wep_encrypt()
112 icv[3] = crc >> 24; in prism2_wep_encrypt()
137 u8 icv[4]; in prism2_wep_decrypt() local
163 icv[0] = crc; in prism2_wep_decrypt()
164 icv[1] = crc >> 8; in prism2_wep_decrypt()
165 icv[ in prism2_wep_decrypt()
[all...]
H A Drtllib_crypt_tkip.c262 u8 rc4key[16], *icv; in rtllib_tkip_encrypt() local
305 icv = skb_put(skb, 4); in rtllib_tkip_encrypt()
307 icv[0] = crc; in rtllib_tkip_encrypt()
308 icv[1] = crc >> 8; in rtllib_tkip_encrypt()
309 icv[2] = crc >> 16; in rtllib_tkip_encrypt()
310 icv[3] = crc >> 24; in rtllib_tkip_encrypt()
337 u8 icv[4]; in rtllib_tkip_decrypt() local
402 icv[0] = crc; in rtllib_tkip_decrypt()
403 icv[1] = crc >> 8; in rtllib_tkip_decrypt()
404 icv[ in rtllib_tkip_decrypt()
[all...]
/kernel/linux/linux-6.6/net/wireless/
H A Dlib80211_crypt_wep.c109 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[ in lib80211_wep_decrypt()
[all...]
H A Dlib80211_crypt_tkip.c331 u8 rc4key[16], *pos, *icv; in lib80211_tkip_encrypt() local
351 icv = skb_put(skb, 4); in lib80211_tkip_encrypt()
352 icv[0] = crc; in lib80211_tkip_encrypt()
353 icv[1] = crc >> 8; in lib80211_tkip_encrypt()
354 icv[2] = crc >> 16; in lib80211_tkip_encrypt()
355 icv[3] = crc >> 24; in lib80211_tkip_encrypt()
384 u8 icv[4]; in lib80211_tkip_decrypt() local
443 icv[0] = crc; in lib80211_tkip_decrypt()
444 icv[1] = crc >> 8; in lib80211_tkip_decrypt()
445 icv[ in lib80211_tkip_decrypt()
[all...]
/kernel/linux/linux-5.10/drivers/staging/wlan-ng/
H A Dp80211wep.c91 u8 *iv, u8 *icv) in wep_decrypt()
153 if ((c_crc[k] ^ s[(s[i] + s[j]) & 0xff]) != icv[k]) in wep_decrypt()
162 u8 *dst, u32 len, int keynum, u8 *iv, u8 *icv) in wep_encrypt()
215 icv[0] = crc; in wep_encrypt()
216 icv[1] = crc >> 8; in wep_encrypt()
217 icv[2] = crc >> 16; in wep_encrypt()
218 icv[3] = crc >> 24; in wep_encrypt()
224 icv[k] ^= s[(s[i] + s[j]) & 0xff]; in wep_encrypt()
90 wep_decrypt(struct wlandevice *wlandev, u8 *buf, u32 len, int key_override, u8 *iv, u8 *icv) wep_decrypt() argument
161 wep_encrypt(struct wlandevice *wlandev, u8 *buf, u8 *dst, u32 len, int keynum, u8 *iv, u8 *icv) wep_encrypt() argument
H A Dp80211netdev.h228 u8 *iv, u8 *icv);
230 int keynum, u8 *iv, u8 *icv);
/kernel/linux/linux-6.6/drivers/staging/wlan-ng/
H A Dp80211wep.c70 u8 *iv, u8 *icv) in wep_decrypt()
132 if ((c_crc[k] ^ s[(s[i] + s[j]) & 0xff]) != icv[k]) in wep_decrypt()
141 u8 *dst, u32 len, int keynum, u8 *iv, u8 *icv) in wep_encrypt()
194 icv[0] = crc; in wep_encrypt()
195 icv[1] = crc >> 8; in wep_encrypt()
196 icv[2] = crc >> 16; in wep_encrypt()
197 icv[3] = crc >> 24; in wep_encrypt()
203 icv[k] ^= s[(s[i] + s[j]) & 0xff]; in wep_encrypt()
69 wep_decrypt(struct wlandevice *wlandev, u8 *buf, u32 len, int key_override, u8 *iv, u8 *icv) wep_decrypt() argument
140 wep_encrypt(struct wlandevice *wlandev, u8 *buf, u8 *dst, u32 len, int keynum, u8 *iv, u8 *icv) wep_encrypt() argument
H A Dp80211netdev.h205 u8 *iv, u8 *icv);
207 int keynum, u8 *iv, u8 *icv);
/kernel/linux/linux-5.10/net/ipv4/
H A Dah4.c56 u8 *icv) in ah_tmp_req()
60 req = (void *)PTR_ALIGN(icv + crypto_ahash_digestsize(ahash), in ah_tmp_req()
77 * into IP header for icv calculation. Options are already checked
122 u8 *icv; in ah_output_done() local
132 icv = ah_tmp_icv(ahp->ahash, iph, ihl); in ah_output_done()
133 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah_output_done()
152 u8 *icv; in ah_output() local
185 icv = ah_tmp_icv(ahash, seqhi, seqhi_len); in ah_output()
186 req = ah_tmp_req(ahash, icv); in ah_output()
234 ahash_request_set_crypt(req, sg, icv, sk in ah_output()
55 ah_tmp_req(struct crypto_ahash *ahash, u8 *icv) ah_tmp_req() argument
268 u8 *icv; ah_input_done() local
310 u8 *icv; ah_input() local
[all...]
/kernel/linux/linux-5.10/net/ipv6/
H A Dah6.c85 u8 *icv) in ah_tmp_req()
89 req = (void *)PTR_ALIGN(icv + crypto_ahash_digestsize(ahash), in ah_tmp_req()
291 u8 *icv; in ah6_output_done() local
305 icv = ah_tmp_icv(ahp->ahash, iph_ext, extlen); in ah6_output_done()
307 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah6_output_done()
328 u8 *icv; in ah6_output() local
368 icv = ah_tmp_icv(ahash, seqhi, seqhi_len); in ah6_output()
369 req = ah_tmp_req(ahash, icv); in ah6_output()
425 ahash_request_set_crypt(req, sg, icv, skb->len + seqhi_len); in ah6_output()
440 memcpy(ah->auth_data, icv, ah in ah6_output()
84 ah_tmp_req(struct crypto_ahash *ahash, u8 *icv) ah_tmp_req() argument
460 u8 *icv; ah6_input_done() local
514 u8 *icv; ah6_input() local
[all...]
/kernel/linux/linux-6.6/net/ipv6/
H A Dah6.c85 u8 *icv) in ah_tmp_req()
89 req = (void *)PTR_ALIGN(icv + crypto_ahash_digestsize(ahash), in ah_tmp_req()
288 u8 *icv; in ah6_output_done() local
302 icv = ah_tmp_icv(ahp->ahash, iph_ext, extlen); in ah6_output_done()
304 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah6_output_done()
325 u8 *icv; in ah6_output() local
365 icv = ah_tmp_icv(ahash, seqhi, seqhi_len); in ah6_output()
366 req = ah_tmp_req(ahash, icv); in ah6_output()
422 ahash_request_set_crypt(req, sg, icv, skb->len + seqhi_len); in ah6_output()
437 memcpy(ah->auth_data, icv, ah in ah6_output()
84 ah_tmp_req(struct crypto_ahash *ahash, u8 *icv) ah_tmp_req() argument
457 u8 *icv; ah6_input_done() local
511 u8 *icv; ah6_input() local
[all...]
/kernel/linux/linux-6.6/net/ipv4/
H A Dah4.c56 u8 *icv) in ah_tmp_req()
60 req = (void *)PTR_ALIGN(icv + crypto_ahash_digestsize(ahash), in ah_tmp_req()
77 * into IP header for icv calculation. Options are already checked
122 u8 *icv; in ah_output_done() local
132 icv = ah_tmp_icv(ahp->ahash, iph, ihl); in ah_output_done()
133 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah_output_done()
152 u8 *icv; in ah_output() local
185 icv = ah_tmp_icv(ahash, seqhi, seqhi_len); in ah_output()
186 req = ah_tmp_req(ahash, icv); in ah_output()
234 ahash_request_set_crypt(req, sg, icv, sk in ah_output()
55 ah_tmp_req(struct crypto_ahash *ahash, u8 *icv) ah_tmp_req() argument
268 u8 *icv; ah_input_done() local
310 u8 *icv; ah_input() local
[all...]
/kernel/linux/linux-5.10/arch/s390/crypto/
H A Dghash_s390.c24 u8 icv[GHASH_BLOCK_SIZE]; member
114 memcpy(dst, dctx->icv, GHASH_BLOCK_SIZE); in ghash_final()
/kernel/linux/linux-6.6/arch/s390/crypto/
H A Dghash_s390.c24 u8 icv[GHASH_BLOCK_SIZE]; member
114 memcpy(dst, dctx->icv, GHASH_BLOCK_SIZE); in ghash_final()
/kernel/linux/linux-5.10/net/mac80211/
H A Dwep.c111 __le32 icv; in ieee80211_wep_encrypt_data() local
113 icv = cpu_to_le32(~crc32_le(~0, data, data_len)); in ieee80211_wep_encrypt_data()
114 put_unaligned(icv, (__le32 *)(data + data_len)); in ieee80211_wep_encrypt_data()
/kernel/linux/linux-6.6/net/mac80211/
H A Dwep.c111 __le32 icv; in ieee80211_wep_encrypt_data() local
113 icv = cpu_to_le32(~crc32_le(~0, data, data_len)); in ieee80211_wep_encrypt_data()
114 put_unaligned(icv, (__le32 *)(data + data_len)); in ieee80211_wep_encrypt_data()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
H A Dtrx.c296 stats->icv = (u16)get_rx_desc_icv(pdesc); in rtl92cu_rx_query_desc()
298 stats->hwerror = (stats->crc | stats->icv); in rtl92cu_rx_query_desc()
364 stats.icv = (u16)get_rx_desc_icv(rxdesc); in _rtl_rx_process()
366 stats.hwerror = (stats.crc | stats.icv); in _rtl_rx_process()

Completed in 15 milliseconds

1234