/linux-4.1.27/drivers/staging/rtl8192e/ |
H A D | rtllib_crypt_wep.c | 104 u8 *icv; prism2_wep_encrypt() local 146 icv = skb_put(skb, 4); prism2_wep_encrypt() 147 icv[0] = crc; prism2_wep_encrypt() 148 icv[1] = crc >> 8; prism2_wep_encrypt() 149 icv[2] = crc >> 16; prism2_wep_encrypt() 150 icv[3] = crc >> 24; prism2_wep_encrypt() 178 u8 icv[4]; prism2_wep_decrypt() local 206 icv[0] = crc; prism2_wep_decrypt() 207 icv[1] = crc >> 8; prism2_wep_decrypt() 208 icv[2] = crc >> 16; prism2_wep_decrypt() 209 icv[3] = crc >> 24; prism2_wep_decrypt() 210 if (memcmp(icv, pos + plen, 4) != 0) { prism2_wep_decrypt()
|
H A D | rtllib_crypt_tkip.c | 308 u8 rc4key[16], *icv; rtllib_tkip_encrypt() local 352 icv = skb_put(skb, 4); rtllib_tkip_encrypt() 354 icv[0] = crc; rtllib_tkip_encrypt() 355 icv[1] = crc >> 8; rtllib_tkip_encrypt() 356 icv[2] = crc >> 16; rtllib_tkip_encrypt() 357 icv[3] = crc >> 24; rtllib_tkip_encrypt() 391 u8 icv[4]; rtllib_tkip_decrypt() local 466 icv[0] = crc; rtllib_tkip_decrypt() 467 icv[1] = crc >> 8; rtllib_tkip_decrypt() 468 icv[2] = crc >> 16; rtllib_tkip_decrypt() 469 icv[3] = crc >> 24; rtllib_tkip_decrypt() 471 if (memcmp(icv, pos + plen, 4) != 0) { rtllib_tkip_decrypt()
|
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/ |
H A D | ieee80211_crypt_wep.c | 110 u8 *icv; prism2_wep_encrypt() local 150 icv = skb_put(skb, 4); prism2_wep_encrypt() 151 icv[0] = crc; prism2_wep_encrypt() 152 icv[1] = crc >> 8; prism2_wep_encrypt() 153 icv[2] = crc >> 16; prism2_wep_encrypt() 154 icv[3] = crc >> 24; prism2_wep_encrypt() 182 u8 icv[4]; prism2_wep_decrypt() local 213 icv[0] = crc; prism2_wep_decrypt() 214 icv[1] = crc >> 8; prism2_wep_decrypt() 215 icv[2] = crc >> 16; prism2_wep_decrypt() 216 icv[3] = crc >> 24; prism2_wep_decrypt() 217 if (memcmp(icv, pos + plen, 4) != 0) { prism2_wep_decrypt()
|
H A D | ieee80211_crypt_tkip.c | 313 u8 rc4key[16], *icv; ieee80211_tkip_encrypt() local 362 icv = skb_put(skb, 4); ieee80211_tkip_encrypt() 364 icv[0] = crc; ieee80211_tkip_encrypt() 365 icv[1] = crc >> 8; ieee80211_tkip_encrypt() 366 icv[2] = crc >> 16; ieee80211_tkip_encrypt() 367 icv[3] = crc >> 24; ieee80211_tkip_encrypt() 397 u8 icv[4]; ieee80211_tkip_decrypt() local 467 icv[0] = crc; ieee80211_tkip_decrypt() 468 icv[1] = crc >> 8; ieee80211_tkip_decrypt() 469 icv[2] = crc >> 16; ieee80211_tkip_decrypt() 470 icv[3] = crc >> 24; ieee80211_tkip_decrypt() 472 if (memcmp(icv, pos + plen, 4) != 0) { ieee80211_tkip_decrypt()
|
/linux-4.1.27/net/wireless/ |
H A D | lib80211_crypt_wep.c | 138 u8 *pos, *icv; lib80211_wep_encrypt() local 162 icv = skb_put(skb, 4); lib80211_wep_encrypt() 163 icv[0] = crc; lib80211_wep_encrypt() 164 icv[1] = crc >> 8; lib80211_wep_encrypt() 165 icv[2] = crc >> 16; lib80211_wep_encrypt() 166 icv[3] = crc >> 24; lib80211_wep_encrypt() 186 u8 keyidx, *pos, icv[4]; lib80211_wep_decrypt() local 214 icv[0] = crc; lib80211_wep_decrypt() 215 icv[1] = crc >> 8; lib80211_wep_decrypt() 216 icv[2] = crc >> 16; lib80211_wep_decrypt() 217 icv[3] = crc >> 24; lib80211_wep_decrypt() 218 if (memcmp(icv, pos + plen, 4) != 0) { lib80211_wep_decrypt()
|
H A D | lib80211_crypt_tkip.c | 358 u8 rc4key[16], *pos, *icv; lib80211_tkip_encrypt() local 379 icv = skb_put(skb, 4); lib80211_tkip_encrypt() 380 icv[0] = crc; lib80211_tkip_encrypt() 381 icv[1] = crc >> 8; lib80211_tkip_encrypt() 382 icv[2] = crc >> 16; lib80211_tkip_encrypt() 383 icv[3] = crc >> 24; lib80211_tkip_encrypt() 412 u8 icv[4]; lib80211_tkip_decrypt() local 477 icv[0] = crc; lib80211_tkip_decrypt() 478 icv[1] = crc >> 8; lib80211_tkip_decrypt() 479 icv[2] = crc >> 16; lib80211_tkip_decrypt() 480 icv[3] = crc >> 24; lib80211_tkip_decrypt() 481 if (memcmp(icv, pos + plen, 4) != 0) { lib80211_tkip_decrypt()
|
/linux-4.1.27/net/ipv4/ |
H A D | ah4.c | 54 u8 *icv) ah_tmp_req() 58 req = (void *)PTR_ALIGN(icv + crypto_ahash_digestsize(ahash), ah_tmp_req() 75 * into IP header for icv calculation. Options are already checked 120 u8 *icv; ah_output_done() local 130 icv = ah_tmp_icv(ahp->ahash, iph, ihl); ah_output_done() 131 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); ah_output_done() 150 u8 *icv; ah_output() local 183 icv = ah_tmp_icv(ahash, seqhi, seqhi_len); ah_output() 184 req = ah_tmp_req(ahash, icv); ah_output() 230 ahash_request_set_crypt(req, sg, icv, skb->len + seqhi_len); ah_output() 245 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); ah_output() 264 u8 *icv; ah_input_done() local 275 icv = ah_tmp_icv(ahp->ahash, auth_data, ahp->icv_trunc_len); ah_input_done() 277 err = memcmp(icv, auth_data, ahp->icv_trunc_len) ? -EBADMSG: 0; ah_input_done() 303 u8 *icv; ah_input() local 368 icv = ah_tmp_icv(ahash, auth_data, ahp->icv_trunc_len); ah_input() 369 req = ah_tmp_req(ahash, icv); ah_input() 398 ahash_request_set_crypt(req, sg, icv, skb->len + seqhi_len); ah_input() 411 err = memcmp(icv, auth_data, ahp->icv_trunc_len) ? -EBADMSG: 0; ah_input() 53 ah_tmp_req(struct crypto_ahash *ahash, u8 *icv) ah_tmp_req() argument
|
/linux-4.1.27/drivers/staging/wlan-ng/ |
H A D | p80211wep.c | 152 u8 *iv, u8 *icv) wep_decrypt() 220 if ((c_crc[k] ^ s[(s[i] + s[j]) & 0xff]) != icv[k]) wep_decrypt() 229 u8 *iv, u8 *icv) wep_encrypt() 288 icv[0] = crc; wep_encrypt() 289 icv[1] = crc >> 8; wep_encrypt() 290 icv[2] = crc >> 16; wep_encrypt() 291 icv[3] = crc >> 24; wep_encrypt() 297 icv[k] ^= s[(s[i] + s[j]) & 0xff]; wep_encrypt() 151 wep_decrypt(wlandevice_t *wlandev, u8 *buf, u32 len, int key_override, u8 *iv, u8 *icv) wep_decrypt() argument 228 wep_encrypt(wlandevice_t *wlandev, u8 *buf, u8 *dst, u32 len, int keynum, u8 *iv, u8 *icv) wep_encrypt() argument
|
H A D | p80211netdev.h | 232 u8 *iv, u8 *icv); 234 u8 *iv, u8 *icv);
|
H A D | p80211conv.h | 129 u8 icv[4]; member in struct:p80211_metawep
|
H A D | p80211conv.c | 213 p80211_wep->iv, p80211_wep->icv); skb_ether_to_p80211()
|
H A D | hfa384x_usb.c | 2760 memcpy(ptr, p80211_wep->icv, sizeof(p80211_wep->icv)); hfa384x_drvr_txframe()
|
/linux-4.1.27/net/ipv6/ |
H A D | ah6.c | 96 u8 *icv) ah_tmp_req() 100 req = (void *)PTR_ALIGN(icv + crypto_ahash_digestsize(ahash), ah_tmp_req() 301 u8 *icv; ah6_output_done() local 315 icv = ah_tmp_icv(ahp->ahash, iph_ext, extlen); ah6_output_done() 317 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); ah6_output_done() 338 u8 *icv; ah6_output() local 378 icv = ah_tmp_icv(ahash, seqhi, seqhi_len); ah6_output() 379 req = ah_tmp_req(ahash, icv); ah6_output() 433 ahash_request_set_crypt(req, sg, icv, skb->len + seqhi_len); ah6_output() 448 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); ah6_output() 468 u8 *icv; ah6_input_done() local 479 icv = ah_tmp_icv(ahp->ahash, auth_data, ahp->icv_trunc_len); ah6_input_done() 481 err = memcmp(icv, auth_data, ahp->icv_trunc_len) ? -EBADMSG : 0; ah6_input_done() 519 u8 *icv; ah6_input() local 585 icv = ah_tmp_icv(ahash, seqhi, seqhi_len); ah6_input() 586 req = ah_tmp_req(ahash, icv); ah6_input() 612 ahash_request_set_crypt(req, sg, icv, skb->len + seqhi_len); ah6_input() 625 err = memcmp(icv, auth_data, ahp->icv_trunc_len) ? -EBADMSG : 0; ah6_input() 95 ah_tmp_req(struct crypto_ahash *ahash, u8 *icv) ah_tmp_req() argument
|
/linux-4.1.27/arch/s390/crypto/ |
H A D | ghash_s390.c | 23 u8 icv[GHASH_BLOCK_SIZE]; member in struct:ghash_desc_ctx 125 memcpy(dst, dctx->icv, GHASH_BLOCK_SIZE); ghash_final()
|
/linux-4.1.27/net/mac80211/ |
H A D | wep.c | 137 __le32 icv; ieee80211_wep_encrypt_data() local 143 icv = cpu_to_le32(~crc32_le(~0, data, data_len)); ieee80211_wep_encrypt_data() 144 put_unaligned(icv, (__le32 *)(data + data_len)); ieee80211_wep_encrypt_data()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192se/ |
H A D | trx.c | 247 (!pstats->hwerror) && (!pstats->crc) && (!pstats->icv)); _rtl92se_translate_rx_signal_stuff() 271 stats->icv = (u16)GET_RX_STATUS_DESC_ICV(pdesc); rtl92se_rx_query_desc() 273 stats->hwerror = (u16)(stats->crc | stats->icv); rtl92se_rx_query_desc()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723ae/ |
H A D | trx.c | 265 (!pstatus->crc) && (!pstatus->icv)); translate_rx_signal_stuff() 295 status->icv = (u16)GET_RX_DESC_ICV(pdesc); rtl8723e_rx_query_desc() 297 status->hwerror = (status->crc | status->icv); rtl8723e_rx_query_desc()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192cu/ |
H A D | trx.c | 317 stats->icv = (u16) GET_RX_DESC_ICV(pdesc); rtl92cu_rx_query_desc() 319 stats->hwerror = (stats->crc | stats->icv); rtl92cu_rx_query_desc() 385 stats.icv = (u16) GET_RX_DESC_ICV(rxdesc); _rtl_rx_process() 387 stats.hwerror = (stats.crc | stats.icv); _rtl_rx_process()
|
H A D | mac.c | 935 (!pstats->hwerror) && (!pstats->crc) && (!pstats->icv)); rtl92c_translate_rx_signal_stuff()
|
/linux-4.1.27/drivers/crypto/ |
H A D | ixp4xx_crypto.c | 125 u32 icv_rev_aes; /* icv or rev aes */ 168 unsigned char *icv; member in struct:ix_hash_algo 203 .icv = "\x01\x23\x45\x67\x89\xAB\xCD\xEF" 208 .icv = "\x67\x45\x23\x01\xEF\xCD\xAB\x89\x98\xBA" 669 memcpy(cinfo, algo->icv, digest_len); setup_auth()
|
H A D | talitos.c | 1068 /* icv data follows link tables */ ipsec_esp()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8188ee/ |
H A D | trx.c | 322 (!pstatus->crc) && (!pstatus->icv)); _rtl88ee_translate_rx_signal_stuff() 408 status->icv = (u16)GET_RX_DESC_ICV(pdesc); rtl88ee_rx_query_desc() 410 status->hwerror = (status->crc | status->icv); rtl88ee_rx_query_desc()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192ce/ |
H A D | trx.c | 323 (!pstats->hwerror) && (!pstats->crc) && (!pstats->icv)); _rtl92ce_translate_rx_signal_stuff() 351 stats->icv = (u16) GET_RX_DESC_ICV(pdesc); rtl92ce_rx_query_desc() 353 stats->hwerror = (stats->crc | stats->icv); rtl92ce_rx_query_desc()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192de/ |
H A D | trx.c | 468 (!pstats->hwerror) && (!pstats->crc) && (!pstats->icv)); _rtl92de_translate_rx_signal_stuff() 491 stats->icv = (u16) GET_RX_DESC_ICV(pdesc); rtl92de_rx_query_desc() 493 stats->hwerror = (stats->crc | stats->icv); rtl92de_rx_query_desc()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192ee/ |
H A D | trx.c | 266 (!pstatus->icv)); _rtl92ee_translate_rx_signal_stuff() 365 status->icv = (u16)GET_RX_DESC_ICV(pdesc); rtl92ee_rx_query_desc() 367 status->hwerror = (status->crc | status->icv); rtl92ee_rx_query_desc()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723be/ |
H A D | trx.c | 240 (!pstatus->crc) && (!pstatus->icv)); _rtl8723be_translate_rx_signal_stuff() 332 status->icv = (u16) GET_RX_DESC_ICV(pdesc); rtl8723be_rx_query_desc() 334 status->hwerror = (status->crc | status->icv); rtl8723be_rx_query_desc()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8821ae/ |
H A D | trx.c | 329 (!pstatus->crc) && (!pstatus->icv)); translate_rx_signal_stuff() 471 status->icv = (u16)GET_RX_DESC_ICV(pdesc); rtl8821ae_rx_query_desc() 473 status->hwerror = (status->crc | status->icv); rtl8821ae_rx_query_desc()
|
/linux-4.1.27/drivers/staging/rtl8723au/core/ |
H A D | rtw_security.c | 241 /* decrypt payload include icv */ rtw_wep_decrypt23a() 245 /* calculate icv and compare the icv */ rtw_wep_decrypt23a() 251 "%s:icv CRC mismatch: " rtw_wep_decrypt23a() 768 /* 4 decrypt payload include icv */ rtw_tkip_decrypt23a() 777 "%s:icv CRC mismatch: " rtw_tkip_decrypt23a()
|
H A D | rtw_xmit.c | 1133 /* adding icv, if necessary... */ rtw_xmitframe_coalesce23a() 1195 memcpy(pframe, pattrib->icv, pattrib->icv_len); rtw_xmitframe_coalesce23a()
|
/linux-4.1.27/drivers/net/wireless/rt2x00/ |
H A D | rt2x00crypto.c | 250 memcpy(skb->data + transfer, &rxdesc->icv, 4); rt2x00crypto_rx_insert_iv()
|
H A D | rt2x00queue.h | 178 * @icv: ICV data used during decryption. 192 __le32 icv; member in struct:rxdone_entry_desc
|
H A D | rt73usb.c | 1708 _rt2x00_desc_read(rxd, 4, &rxdesc->icv); rt73usb_fill_rxdone()
|
H A D | rt61pci.c | 2110 _rt2x00_desc_read(entry_priv->desc, 4, &rxdesc->icv); rt61pci_fill_rxdone()
|
/linux-4.1.27/drivers/staging/rtl8712/ |
H A D | rtl871x_xmit.h | 126 unsigned char icv[8]; member in struct:pkt_attrib
|
H A D | rtl871x_security.c | 249 /* decrypt payload include icv */ r8712_wep_decrypt() 252 /* calculate icv and compare the icv */ r8712_wep_decrypt() 692 /* 4 decrypt payload include icv */ r8712_tkip_decrypt()
|
H A D | rtl871x_xmit.c | 629 /* adding icv, if necessary...*/ r8712_xmitframe_coalesce() 679 memcpy(pframe, pattrib->icv, pattrib->icv_len); r8712_xmitframe_coalesce()
|
/linux-4.1.27/drivers/media/platform/ |
H A D | via-camera.c | 305 int icv; viacam_quick_irq() local 312 icv = viacam_read_reg(cam, VCR_INTCTRL); viacam_quick_irq() 313 if (icv & VCR_IC_EAV) { viacam_quick_irq() 314 icv |= VCR_IC_EAV|VCR_IC_EVBI|VCR_IC_FFULL; viacam_quick_irq() 315 viacam_write_reg(cam, VCR_INTCTRL, icv); viacam_quick_irq()
|
/linux-4.1.27/drivers/staging/rtl8188eu/core/ |
H A D | rtw_security.c | 225 /* decrypt payload include icv */ rtw_wep_decrypt() 229 /* calculate icv and compare the icv */ rtw_wep_decrypt() 237 ("rtw_wep_decrypt:icv error crc (%4ph)!=payload (%4ph)\n", rtw_wep_decrypt() 691 /* 4 decrypt payload include icv */ rtw_tkip_decrypt() 703 ("rtw_wep_decrypt:icv error crc (%4ph)!=payload (%4ph)\n", rtw_tkip_decrypt()
|
H A D | rtw_xmit.c | 1026 /* adding icv, if necessary... */ rtw_xmitframe_coalesce() 1078 memcpy(pframe, pattrib->icv, pattrib->icv_len); rtw_xmitframe_coalesce()
|
/linux-4.1.27/drivers/staging/rtl8723au/include/ |
H A D | rtw_xmit.h | 131 u8 icv[16]; member in struct:pkt_attrib
|
/linux-4.1.27/drivers/staging/rtl8188eu/include/ |
H A D | rtw_xmit.h | 132 u8 icv[16]; member in struct:pkt_attrib
|
/linux-4.1.27/drivers/staging/vt6656/ |
H A D | rxtx.c | 719 /* strip header and icv len from payload */ vnt_fill_txkey()
|
/linux-4.1.27/drivers/crypto/amcc/ |
H A D | crypto4xx_core.c | 929 * In case of is_hash, the icv is always at end of src data. crypto4xx_build_pd()
|
/linux-4.1.27/drivers/staging/vt6655/ |
H A D | rxtx.c | 1219 /* strip header and icv len from payload */ vnt_fill_txkey()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/ |
H A D | wifi.h | 1963 u16 icv:1; member in struct:rtl_stats
|
/linux-4.1.27/net/xfrm/ |
H A D | xfrm_state.c | 2282 audit_buf = xfrm_audit_start("SA-icv-failure"); xfrm_audit_state_icvfail()
|