Home
last modified time | relevance | path

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

12

/openbmc/linux/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[2] = crc >> 16; 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[2] = crc >> 16; in ieee80211_tkip_decrypt()
[all …]
/openbmc/linux/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[2] = crc >> 16; 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[2] = crc >> 16; in lib80211_tkip_decrypt()
[all …]
/openbmc/linux/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[2] = crc >> 16; 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[2] = crc >> 16; in rtllib_tkip_decrypt()
[all …]
/openbmc/linux/drivers/staging/wlan-ng/
H A Dp80211wep.c70 u8 *iv, u8 *icv) in wep_decrypt() argument
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() argument
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()
H A Dp80211netdev.h205 u8 *iv, u8 *icv);
207 int keynum, u8 *iv, u8 *icv);
H A Dp80211conv.h107 u8 icv[4]; member
/openbmc/linux/net/ipv4/
H 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 …]
/openbmc/linux/net/ipv6/
H 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 …]
/openbmc/u-boot/lib/bzip2/
H A Dbzlib_compress.c402 register UInt16 icv; in sendMTFValues() local
406 icv = mtfv[gs+(nn)]; \ in sendMTFValues()
407 cost01 += s->len_pack[icv][0]; \ in sendMTFValues()
408 cost23 += s->len_pack[icv][1]; \ in sendMTFValues()
409 cost45 += s->len_pack[icv][2]; \ in sendMTFValues()
431 UInt16 icv = mtfv[i]; in sendMTFValues() local
432 for (t = 0; t < nGroups; t++) cost[t] += s->len[t][icv]; in sendMTFValues()
/openbmc/linux/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()
/openbmc/phosphor-net-ipmid/command/
H A Drakp34.cpp251 auto icv = authAlgo->generateICV(input); in RAKP34() local
261 outPayload.insert(outPayload.end(), icv.begin(), icv.end()); in RAKP34()
/openbmc/linux/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()
/openbmc/linux/drivers/crypto/amcc/
H 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()
/openbmc/linux/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()
/openbmc/linux/drivers/media/platform/via/
H A Dvia-camera.c299 int icv; in viacam_quick_irq() local
306 icv = viacam_read_reg(cam, VCR_INTCTRL); in viacam_quick_irq()
307 if (icv & VCR_IC_EAV) { in viacam_quick_irq()
308 icv |= VCR_IC_EAV|VCR_IC_EVBI|VCR_IC_FFULL; in viacam_quick_irq()
309 viacam_write_reg(cam, VCR_INTCTRL, icv); in viacam_quick_irq()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
H 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()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
H 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()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
H 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()
/openbmc/linux/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.h84 u16 icv; member
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
H 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()
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00crypto.c239 memcpy(skb->data + transfer, &rxdesc->icv, 4); in rt2x00crypto_rx_insert_iv()
H A Drt2x00queue.h183 __le32 icv; member

12