Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ieee80211/
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 …]
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 …]
/kernel/linux/linux-5.10/net/wireless/
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 …]
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 …]
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/
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[2] = crc >> 16; in prism2_wep_decrypt()
[all …]
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[2] = crc >> 16; in rtllib_tkip_decrypt()
[all …]
/kernel/linux/linux-5.10/drivers/staging/wlan-ng/
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()
Dp80211netdev.h228 u8 *iv, u8 *icv);
230 int keynum, u8 *iv, u8 *icv);
Dp80211conv.h131 u8 icv[4]; member
/kernel/linux/linux-5.10/net/ipv4/
Dah4.c56 u8 *icv) in ah_tmp_req() argument
60 req = (void *)PTR_ALIGN(icv + crypto_ahash_digestsize(ahash), in ah_tmp_req()
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, skb->len + seqhi_len); in ah_output()
249 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah_output()
[all …]
/kernel/linux/linux-5.10/net/ipv6/
Dah6.c85 u8 *icv) in ah_tmp_req() argument
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, ahp->icv_trunc_len); in ah6_output()
[all …]
/kernel/linux/linux-5.10/arch/s390/crypto/
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/
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/staging/rtl8188eu/core/
Drtw_security.c213 char iv[4], icv[4]; in rtw_wep_decrypt() local
221 memcpy(icv, pframe + skb->len - 4, 4); in rtw_wep_decrypt()
243 memcpy(pframe + skb->len - 4, icv, 4); in rtw_wep_decrypt()
845 char iv[8], icv[8]; in rtw_aes_decrypt() local
867 memcpy(icv, pframe + skb->len - icv_len, icv_len); in rtw_aes_decrypt()
888 memcpy(pframe + skb->len - icv_len, icv, icv_len); in rtw_aes_decrypt()
/kernel/linux/linux-5.10/drivers/crypto/amcc/
Dcrypto4xx_core.c580 u32 icv[AES_BLOCK_SIZE]; in crypto4xx_aead_done() local
594 crypto4xx_memcpy_from_le32(icv, pd_uinfo->sr_va->save_digest, in crypto4xx_aead_done()
595 sizeof(icv)); in crypto4xx_aead_done()
597 scatterwalk_map_and_copy(icv, dst, aead_req->cryptlen, in crypto4xx_aead_done()
601 scatterwalk_map_and_copy(icv, aead_req->src, in crypto4xx_aead_done()
605 crypto4xx_memcpy_from_le32(icv, icv, sizeof(icv)); in crypto4xx_aead_done()
607 if (crypto_memneq(icv, pd_uinfo->sr_va->save_digest, cp_len)) in crypto4xx_aead_done()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
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()
/kernel/linux/linux-5.10/drivers/media/platform/
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()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
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()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
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()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
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()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dtrx.c219 (!pstatus->crc) && (!pstatus->icv)); in _rtl8723be_translate_rx_signal_stuff()
312 status->icv = (u16)get_rx_desc_icv(pdesc); in rtl8723be_rx_query_desc()
314 status->hwerror = (status->crc | status->icv); in rtl8723be_rx_query_desc()
/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/
Drt2x00crypto.c239 memcpy(skb->data + transfer, &rxdesc->icv, 4); in rt2x00crypto_rx_insert_iv()
Drt2x00queue.h183 __le32 icv; member
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
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()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
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()

12