Home
last modified time | relevance | path

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

12

/linux-3.4.99/drivers/staging/rtl8187se/ieee80211/
Dieee80211_crypt_wep.c113 u8 *icv; in prism2_wep_encrypt() local
149 icv = skb_put(skb, 4); in prism2_wep_encrypt()
150 icv[0] = crc; in prism2_wep_encrypt()
151 icv[1] = crc >> 8; in prism2_wep_encrypt()
152 icv[2] = crc >> 16; in prism2_wep_encrypt()
153 icv[3] = crc >> 24; in prism2_wep_encrypt()
177 u8 icv[4]; in prism2_wep_decrypt() local
206 icv[0] = crc; in prism2_wep_decrypt()
207 icv[1] = crc >> 8; in prism2_wep_decrypt()
208 icv[2] = crc >> 16; in prism2_wep_decrypt()
[all …]
Dieee80211_crypt_tkip.c312 u8 rc4key[16],*icv; in ieee80211_tkip_encrypt() local
345 icv = skb_put(skb, 4); in ieee80211_tkip_encrypt()
347 icv[0] = crc; in ieee80211_tkip_encrypt()
348 icv[1] = crc >> 8; in ieee80211_tkip_encrypt()
349 icv[2] = crc >> 16; in ieee80211_tkip_encrypt()
350 icv[3] = crc >> 24; in ieee80211_tkip_encrypt()
371 u8 icv[4]; in ieee80211_tkip_decrypt() local
439 icv[0] = crc; in ieee80211_tkip_decrypt()
440 icv[1] = crc >> 8; in ieee80211_tkip_decrypt()
441 icv[2] = crc >> 16; in ieee80211_tkip_decrypt()
[all …]
/linux-3.4.99/net/wireless/
Dlib80211_crypt_wep.c138 u8 *pos, *icv; in lib80211_wep_encrypt() local
162 icv = skb_put(skb, 4); in lib80211_wep_encrypt()
163 icv[0] = crc; in lib80211_wep_encrypt()
164 icv[1] = crc >> 8; in lib80211_wep_encrypt()
165 icv[2] = crc >> 16; in lib80211_wep_encrypt()
166 icv[3] = crc >> 24; in lib80211_wep_encrypt()
186 u8 keyidx, *pos, icv[4]; in lib80211_wep_decrypt() local
214 icv[0] = crc; in lib80211_wep_decrypt()
215 icv[1] = crc >> 8; in lib80211_wep_decrypt()
216 icv[2] = crc >> 16; in lib80211_wep_decrypt()
[all …]
Dlib80211_crypt_tkip.c358 u8 rc4key[16], *pos, *icv; in lib80211_tkip_encrypt() local
382 icv = skb_put(skb, 4); in lib80211_tkip_encrypt()
383 icv[0] = crc; in lib80211_tkip_encrypt()
384 icv[1] = crc >> 8; in lib80211_tkip_encrypt()
385 icv[2] = crc >> 16; in lib80211_tkip_encrypt()
386 icv[3] = crc >> 24; in lib80211_tkip_encrypt()
415 u8 icv[4]; in lib80211_tkip_decrypt() local
493 icv[0] = crc; in lib80211_tkip_decrypt()
494 icv[1] = crc >> 8; in lib80211_tkip_decrypt()
495 icv[2] = crc >> 16; in lib80211_tkip_decrypt()
[all …]
/linux-3.4.99/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_wep.c111 u8 *icv; in prism2_wep_encrypt() local
149 icv = skb_put(skb, 4); in prism2_wep_encrypt()
150 icv[0] = crc; in prism2_wep_encrypt()
151 icv[1] = crc >> 8; in prism2_wep_encrypt()
152 icv[2] = crc >> 16; in prism2_wep_encrypt()
153 icv[3] = crc >> 24; in prism2_wep_encrypt()
181 u8 icv[4]; in prism2_wep_decrypt() local
211 icv[0] = crc; in prism2_wep_decrypt()
212 icv[1] = crc >> 8; in prism2_wep_decrypt()
213 icv[2] = crc >> 16; in prism2_wep_decrypt()
[all …]
Dieee80211_crypt_tkip.c314 u8 rc4key[16], *icv; in ieee80211_tkip_encrypt() local
363 icv = skb_put(skb, 4); in ieee80211_tkip_encrypt()
365 icv[0] = crc; in ieee80211_tkip_encrypt()
366 icv[1] = crc >> 8; in ieee80211_tkip_encrypt()
367 icv[2] = crc >> 16; in ieee80211_tkip_encrypt()
368 icv[3] = crc >> 24; in ieee80211_tkip_encrypt()
398 u8 icv[4]; in ieee80211_tkip_decrypt() local
468 icv[0] = crc; in ieee80211_tkip_decrypt()
469 icv[1] = crc >> 8; in ieee80211_tkip_decrypt()
470 icv[2] = crc >> 16; in ieee80211_tkip_decrypt()
[all …]
/linux-3.4.99/drivers/staging/rtl8192e/
Drtllib_crypt_wep.c106 u8 *icv; in prism2_wep_encrypt() local
146 icv = skb_put(skb, 4); in prism2_wep_encrypt()
147 icv[0] = crc; in prism2_wep_encrypt()
148 icv[1] = crc >> 8; in prism2_wep_encrypt()
149 icv[2] = crc >> 16; in prism2_wep_encrypt()
150 icv[3] = crc >> 24; in prism2_wep_encrypt()
178 u8 icv[4]; in prism2_wep_decrypt() local
205 icv[0] = crc; in prism2_wep_decrypt()
206 icv[1] = crc >> 8; in prism2_wep_decrypt()
207 icv[2] = crc >> 16; in prism2_wep_decrypt()
[all …]
Drtllib_crypt_tkip.c305 u8 rc4key[16], *icv; in rtllib_tkip_encrypt() local
349 icv = skb_put(skb, 4); in rtllib_tkip_encrypt()
351 icv[0] = crc; in rtllib_tkip_encrypt()
352 icv[1] = crc >> 8; in rtllib_tkip_encrypt()
353 icv[2] = crc >> 16; in rtllib_tkip_encrypt()
354 icv[3] = crc >> 24; in rtllib_tkip_encrypt()
388 u8 icv[4]; in rtllib_tkip_decrypt() local
460 icv[0] = crc; in rtllib_tkip_decrypt()
461 icv[1] = crc >> 8; in rtllib_tkip_decrypt()
462 icv[2] = crc >> 16; in rtllib_tkip_decrypt()
[all …]
/linux-3.4.99/drivers/staging/wlan-ng/
Dp80211wep.c154 u8 *iv, u8 *icv) in wep_decrypt() argument
224 if ((c_crc[k] ^ s[(s[i] + s[j]) & 0xff]) != icv[k]) in wep_decrypt()
233 u8 *iv, u8 *icv) in wep_encrypt() argument
294 icv[0] = crc; in wep_encrypt()
295 icv[1] = crc >> 8; in wep_encrypt()
296 icv[2] = crc >> 16; in wep_encrypt()
297 icv[3] = crc >> 24; in wep_encrypt()
303 icv[k] ^= s[(s[i] + s[j]) & 0xff]; in wep_encrypt()
Dp80211netdev.h233 u8 *iv, u8 *icv);
235 u8 *iv, u8 *icv);
Dp80211conv.h129 u8 icv[4]; member
Dp80211conv.c214 p80211_wep->iv, p80211_wep->icv); in skb_ether_to_p80211()
/linux-3.4.99/net/ipv4/
Dah4.c54 u8 *icv) in ah_tmp_req() argument
58 req = (void *)PTR_ALIGN(icv + crypto_ahash_digestsize(ahash), in ah_tmp_req()
120 u8 *icv; in ah_output_done() local
130 icv = ah_tmp_icv(ahp->ahash, iph, ihl); in ah_output_done()
131 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah_output_done()
150 u8 *icv; in ah_output() local
175 icv = ah_tmp_icv(ahash, iph, ihl); in ah_output()
176 req = ah_tmp_req(ahash, icv); in ah_output()
216 ahash_request_set_crypt(req, sg, icv, skb->len); in ah_output()
231 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah_output()
[all …]
/linux-3.4.99/net/ipv6/
Dah6.c94 u8 *icv) in ah_tmp_req() argument
98 req = (void *)PTR_ALIGN(icv + crypto_ahash_digestsize(ahash), in ah_tmp_req()
300 u8 *icv; in ah6_output_done() local
314 icv = ah_tmp_icv(ahp->ahash, iph_ext, extlen); in ah6_output_done()
316 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah6_output_done()
337 u8 *icv; in ah6_output() local
366 icv = ah_tmp_icv(ahash, iph_ext, extlen); in ah6_output()
367 req = ah_tmp_req(ahash, icv); in ah6_output()
415 ahash_request_set_crypt(req, sg, icv, skb->len); in ah6_output()
430 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah6_output()
[all …]
/linux-3.4.99/arch/s390/crypto/
Dghash_s390.c19 u8 icv[16]; member
48 memset(ctx->icv, 0, GHASH_BLOCK_SIZE); in ghash_setkey()
118 memcpy(dst, ctx->icv, GHASH_BLOCK_SIZE); in ghash_final()
/linux-3.4.99/net/mac80211/
Dwep.c131 __le32 icv; in ieee80211_wep_encrypt_data() local
137 icv = cpu_to_le32(~crc32_le(~0, data, data_len)); in ieee80211_wep_encrypt_data()
138 put_unaligned(icv, (__le32 *)(data + data_len)); in ieee80211_wep_encrypt_data()
/linux-3.4.99/drivers/net/wireless/rtlwifi/rtl8192cu/
Dtrx.c316 stats->icv = (u16) GET_RX_DESC_ICV(pdesc); in rtl92cu_rx_query_desc()
318 stats->hwerror = (stats->crc | stats->icv); in rtl92cu_rx_query_desc()
387 stats.icv = (u16) GET_RX_DESC_ICV(rxdesc); in _rtl_rx_process()
389 stats.hwerror = (stats.crc | stats.icv); in _rtl_rx_process()
/linux-3.4.99/drivers/media/video/
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-3.4.99/drivers/net/wireless/rt2x00/
Drt2x00crypto.c252 memcpy(skb->data + transfer, &rxdesc->icv, 4); in rt2x00crypto_rx_insert_iv()
Drt2x00queue.h194 __le32 icv; member
/linux-3.4.99/drivers/net/wireless/rtlwifi/rtl8192se/
Dtrx.c498 (!pstats->crc) && (!pstats->icv)); in _rtl92se_translate_rx_signal_stuff()
523 stats->icv = (u16)GET_RX_STATUS_DESC_ICV(pdesc); in rtl92se_rx_query_desc()
525 stats->hwerror = (u16)(stats->crc | stats->icv); in rtl92se_rx_query_desc()
/linux-3.4.99/drivers/net/wireless/rtlwifi/rtl8192ce/
Dtrx.c515 (!pstats->hwerror) && (!pstats->crc) && (!pstats->icv)); in _rtl92ce_translate_rx_signal_stuff()
543 stats->icv = (u16) GET_RX_DESC_ICV(pdesc); in rtl92ce_rx_query_desc()
545 stats->hwerror = (stats->crc | stats->icv); in rtl92ce_rx_query_desc()
/linux-3.4.99/drivers/net/wireless/rtlwifi/rtl8192de/
Dtrx.c472 (!pstats->crc) && (!pstats->icv)); in _rtl92de_translate_rx_signal_stuff()
495 stats->icv = (u16) GET_RX_DESC_ICV(pdesc); in rtl92de_rx_query_desc()
497 stats->hwerror = (stats->crc | stats->icv); in rtl92de_rx_query_desc()
/linux-3.4.99/drivers/staging/rtl8712/
Drtl871x_xmit.h126 unsigned char icv[8]; member
/linux-3.4.99/drivers/crypto/
Dixp4xx_crypto.c168 unsigned char *icv; member
203 .icv = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
208 .icv = "\x67\x45\x23\x01\xEF\xCD\xAB\x89\x98\xBA"
681 memcpy(cinfo, algo->icv, digest_len); in setup_auth()

12