Home
last modified time | relevance | path

Searched refs:icv (Results 1 – 25 of 40) sorted by relevance

12

/linux-6.3-rc2/drivers/staging/rtl8192u/ieee80211/
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[2] = crc >> 16; in prism2_wep_decrypt()
[all …]
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[2] = crc >> 16; in ieee80211_tkip_decrypt()
[all …]
/linux-6.3-rc2/drivers/staging/rtl8192e/
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[2] = crc >> 16; in prism2_wep_decrypt()
[all …]
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[2] = crc >> 16; in rtllib_tkip_decrypt()
[all …]
/linux-6.3-rc2/net/wireless/
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[2] = crc >> 16; in lib80211_wep_decrypt()
[all …]
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[2] = crc >> 16; in lib80211_tkip_decrypt()
[all …]
/linux-6.3-rc2/drivers/staging/wlan-ng/
A Dp80211wep.c91 u8 *iv, u8 *icv) in wep_decrypt() argument
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() argument
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()
A Dp80211netdev.h226 u8 *iv, u8 *icv);
228 int keynum, u8 *iv, u8 *icv);
A Dp80211conv.h128 u8 icv[4]; member
/linux-6.3-rc2/net/ipv4/
A Dah4.c56 u8 *icv) in ah_tmp_req() argument
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()
249 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah_output()
268 u8 *icv; in ah_input_done() local
310 u8 *icv; in ah_input() local
[all …]
/linux-6.3-rc2/net/ipv6/
A Dah6.c85 u8 *icv) in ah_tmp_req() argument
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()
457 u8 *icv; in ah6_input_done() local
511 u8 *icv; in ah6_input() local
579 icv = ah_tmp_icv(ahash, seqhi, seqhi_len); in ah6_input()
[all …]
/linux-6.3-rc2/arch/s390/crypto/
A Dghash_s390.c24 u8 icv[GHASH_BLOCK_SIZE]; member
114 memcpy(dst, dctx->icv, GHASH_BLOCK_SIZE); in ghash_final()
/linux-6.3-rc2/net/mac80211/
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()
/linux-6.3-rc2/drivers/crypto/amcc/
A Dcrypto4xx_core.c578 u32 icv[AES_BLOCK_SIZE]; in crypto4xx_aead_done() local
592 crypto4xx_memcpy_from_le32(icv, pd_uinfo->sr_va->save_digest, in crypto4xx_aead_done()
593 sizeof(icv)); in crypto4xx_aead_done()
595 scatterwalk_map_and_copy(icv, dst, aead_req->cryptlen, in crypto4xx_aead_done()
599 scatterwalk_map_and_copy(icv, aead_req->src, in crypto4xx_aead_done()
603 crypto4xx_memcpy_from_le32(icv, icv, sizeof(icv)); in crypto4xx_aead_done()
605 if (crypto_memneq(icv, pd_uinfo->sr_va->save_digest, cp_len)) in crypto4xx_aead_done()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
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()
/linux-6.3-rc2/drivers/media/platform/via/
A Dvia-camera.c310 int icv; in viacam_quick_irq() local
317 icv = viacam_read_reg(cam, VCR_INTCTRL); in viacam_quick_irq()
318 if (icv & VCR_IC_EAV) { in viacam_quick_irq()
319 icv |= VCR_IC_EAV|VCR_IC_EVBI|VCR_IC_FFULL; in viacam_quick_irq()
320 viacam_write_reg(cam, VCR_INTCTRL, icv); in viacam_quick_irq()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
A Dtrx.c220 (!pstats->hwerror) && (!pstats->crc) && (!pstats->icv)); in _rtl92se_translate_rx_signal_stuff()
245 stats->icv = (u16)get_rx_status_desc_icv(pdesc); in rtl92se_rx_query_desc()
247 stats->hwerror = (u16)(stats->crc | stats->icv); in rtl92se_rx_query_desc()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
A Dtrx.c243 (!pstatus->crc) && (!pstatus->icv)); in translate_rx_signal_stuff()
274 status->icv = (u16)get_rx_desc_icv(pdesc); in rtl8723e_rx_query_desc()
276 status->hwerror = (status->crc | status->icv); in rtl8723e_rx_query_desc()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
A Dtrx.c241 (!pstats->hwerror) && (!pstats->crc) && (!pstats->icv)); in _rtl92ce_translate_rx_signal_stuff()
271 stats->icv = (u16)get_rx_desc_icv(p_desc); in rtl92ce_rx_query_desc()
273 stats->hwerror = (stats->crc | stats->icv); in rtl92ce_rx_query_desc()
/linux-6.3-rc2/drivers/crypto/hisilicon/sec2/
A Dsec_crypto.h84 u16 icv; member
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
A Dtrx.c217 (!pstatus->crc) && (!pstatus->icv)); in _rtl8723be_translate_rx_signal_stuff()
310 status->icv = (u16)get_rx_desc_icv(pdesc); in rtl8723be_rx_query_desc()
312 status->hwerror = (status->crc | status->icv); in rtl8723be_rx_query_desc()
/linux-6.3-rc2/drivers/net/wireless/ralink/rt2x00/
A Drt2x00crypto.c239 memcpy(skb->data + transfer, &rxdesc->icv, 4); in rt2x00crypto_rx_insert_iv()
A Drt2x00queue.h183 __le32 icv; member
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
A Dtrx.c299 (!pstatus->crc) && (!pstatus->icv)); in _rtl88ee_translate_rx_signal_stuff()
387 status->icv = (u16)get_rx_desc_icv(pdesc); in rtl88ee_rx_query_desc()
389 status->hwerror = (status->crc | status->icv); in rtl88ee_rx_query_desc()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
A Dtrx.c391 (!pstats->hwerror) && (!pstats->crc) && (!pstats->icv)); in _rtl92de_translate_rx_signal_stuff()
414 stats->icv = (u16)get_rx_desc_icv(pdesc); in rtl92de_rx_query_desc()
416 stats->hwerror = (stats->crc | stats->icv); in rtl92de_rx_query_desc()

Completed in 71 milliseconds

12