/linux-6.3-rc2/drivers/staging/rtl8192u/ieee80211/ |
A D | ieee80211_crypt_wep.c | 74 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 D | ieee80211_crypt_tkip.c | 276 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 D | rtllib_crypt_wep.c | 68 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 D | rtllib_crypt_tkip.c | 262 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 D | lib80211_crypt_wep.c | 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() [all …]
|
A D | lib80211_crypt_tkip.c | 331 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 D | p80211wep.c | 91 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 D | p80211netdev.h | 226 u8 *iv, u8 *icv); 228 int keynum, u8 *iv, u8 *icv);
|
A D | p80211conv.h | 128 u8 icv[4]; member
|
/linux-6.3-rc2/net/ipv4/ |
A D | ah4.c | 56 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 D | ah6.c | 85 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 D | ghash_s390.c | 24 u8 icv[GHASH_BLOCK_SIZE]; member 114 memcpy(dst, dctx->icv, GHASH_BLOCK_SIZE); in ghash_final()
|
/linux-6.3-rc2/net/mac80211/ |
A D | wep.c | 111 __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 D | crypto4xx_core.c | 578 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 D | trx.c | 296 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 D | via-camera.c | 310 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 D | trx.c | 220 (!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 D | trx.c | 243 (!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 D | trx.c | 241 (!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 D | sec_crypto.h | 84 u16 icv; member
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
A D | trx.c | 217 (!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 D | rt2x00crypto.c | 239 memcpy(skb->data + transfer, &rxdesc->icv, 4); in rt2x00crypto_rx_insert_iv()
|
A D | rt2x00queue.h | 183 __le32 icv; member
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
A D | trx.c | 299 (!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 D | trx.c | 391 (!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()
|