| /linux/net/mac80211/ |
| H A D | wep.c | 107 * for 4-byte ICV. data_len must not include this ICV. Note: this function 112 __le32 icv; in ieee80211_wep_encrypt_data() local 114 icv = cpu_to_le32(~crc32_le(~0, data, data_len)); in ieee80211_wep_encrypt_data() 115 put_unaligned(icv, (__le32 *)(data + data_len)); in ieee80211_wep_encrypt_data() 126 * beginning of the buffer 4 bytes of extra space (ICV) in the end of the 127 * buffer will be added. Both IV and ICV will be transmitted, so the 130 * WEP frame payload: IV + TX key idx, RC4(data), ICV = RC4(CRC32(data)) 155 /* Add room for ICV */ in ieee80211_wep_encrypt() 164 * payload, including 4-byte ICV, but _not_ IV. data_len must not include ICV. 165 * Return 0 on success and -1 on ICV mismatch. */ [all …]
|
| /linux/net/ipv4/ |
| H A D | ah4.c | 53 u8 *icv) in ah_tmp_req() argument 57 req = (void *)PTR_ALIGN(icv + crypto_ahash_digestsize(ahash), in ah_tmp_req() 74 * into IP header for icv calculation. Options are already checked 119 u8 *icv; in ah_output_done() local 129 icv = ah_tmp_icv(iph, ihl); in ah_output_done() 130 memcpy(ah->auth_data, icv, ahp->icv_trunc_len); in ah_output_done() 149 u8 *icv; in ah_output() local 182 icv = ah_tmp_icv(seqhi, seqhi_len); in ah_output() 183 req = ah_tmp_req(ahash, icv); in ah_output() 231 ahash_request_set_crypt(req, sg, icv, skb->len + seqhi_len); in ah_output() [all …]
|
| /linux/drivers/net/wireless/ralink/rt2x00/ |
| H A D | rt2x00crypto.c | 74 * Extend frame length to include IV/EIV/ICV/MMIC, in rt2x00crypto_tx_overhead() 155 * WEP64/WEP128: Provides IV & ICV in rt2x00crypto_rx_insert_iv() 156 * TKIP: Provides IV/EIV & ICV in rt2x00crypto_rx_insert_iv() 157 * AES: Provies IV/EIV & ICV in rt2x00crypto_rx_insert_iv() 226 * for determining the correct offset for the ICV data. in rt2x00crypto_rx_insert_iv() 231 * Copy ICV data in rt2x00crypto_rx_insert_iv() 236 memcpy(skb->data + transfer, &rxdesc->icv, 4); in rt2x00crypto_rx_insert_iv() 239 /* IV/EIV/ICV has been inserted into frame */ in rt2x00crypto_rx_insert_iv()
|
| H A D | rt2x00queue.h | 130 * @RXDONE_CRYPTO_ICV: Driver provided ICV data. 166 * @icv: ICV data used during decryption. 183 __le32 icv; member
|
| H A D | rt2800usb.h | 74 * CIPHER_ERROR: 0: decryption okay, 1:ICV error, 2:MIC error, 3:KEY not valid.
|
| H A D | rt73usb.h | 997 * CIPHER_ERROR: 1:ICV error, 2:MIC error, 3:invalid key. 1037 * ICV: Received ICV of originally encrypted.
|
| /linux/drivers/crypto/caam/ |
| H A D | caamalg_desc.c | 54 * @icvsize: integrity check value (ICV) size (truncated or full) 114 /* Write ICV */ in cnstr_shdsc_aead_null_encap() 133 * @icvsize: integrity check value (ICV) size (truncated or full) 201 /* Load ICV */ in cnstr_shdsc_aead_null_decap() 282 * @icvsize: integrity check value (ICV) size (truncated or full) 353 /* Write ICV */ in cnstr_shdsc_aead_encap() 376 * @icvsize: integrity check value (ICV) size (truncated or full) 470 /* Load ICV */ in cnstr_shdsc_aead_decap() 494 * @icvsize: integrity check value (ICV) size (truncated or full) 616 /* Write ICV */ in cnstr_shdsc_aead_givencap() [all …]
|
| H A D | pdb.h | 95 * b0_flags (8b) - CCM B0; use 0x5B for 8-byte ICV, 0x6B for 12-byte ICV, 96 * 0x7B for 16-byte ICV (cf. RFC4309, RFC3610) 172 * b0_flags (8b) - CCM B0; use 0x5B for 8-byte ICV, 0x6B for 12-byte ICV, 173 * 0x7B for 16-byte ICV (cf. RFC4309, RFC3610)
|
| H A D | error.c | 196 "ICV check failed.", 254 * CCB ICV check failures are part of normal operation life; in report_ccb_status()
|
| /linux/drivers/crypto/ccree/ |
| H A D | cc_aead.h | 70 dma_addr_t mac_buf_dma_addr; /* internal ICV DMA buffer */ 73 dma_addr_t icv_dma_addr; /* Phys. address of ICV */ 83 u8 *icv_virt_addr; /* Virt. address of ICV */
|
| H A D | cc_buffer_mgr.c | 699 /* Backup happens only when ICV is fragmented, ICV in cc_prepare_aead_data_mlli() 705 * already copying ICV for any in cc_prepare_aead_data_mlli() 718 } else { /* Contig. ICV */ in cc_prepare_aead_data_mlli() 741 /* Backup happens only when ICV is fragmented, ICV in cc_prepare_aead_data_mlli() 750 } else { /* Contig. ICV */ in cc_prepare_aead_data_mlli() 776 /* Contig. ICV */ in cc_prepare_aead_data_mlli() 971 /* cacluate the size for cipher remove ICV in decrypt*/ in cc_map_aead_request()
|
| /linux/drivers/crypto/bcm/ |
| H A D | spu.h | 188 * ICV as a separate buffer. 192 * Return: true if ICV to be included as separate buffer
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
| H A D | trx.c | 303 stats->icv = (u16)get_rx_desc_icv(pdesc); in rtl92cu_rx_query_desc() 305 stats->hwerror = (stats->crc | stats->icv); in rtl92cu_rx_query_desc() 371 stats.icv = (u16)get_rx_desc_icv(rxdesc); in _rtl_rx_process() 373 stats.hwerror = (stats.crc | stats.icv); in _rtl_rx_process()
|
| /linux/drivers/staging/rtl8723bs/core/ |
| H A D | rtw_security.c | 35 { /* exclude ICV */ in rtw_wep_encrypt() 94 /* exclude ICV */ in rtw_wep_decrypt() 119 /* decrypt payload include icv */ in rtw_wep_decrypt() 123 /* calculate icv and compare the icv */ in rtw_wep_decrypt() 451 { /* exclude ICV */ in rtw_tkip_encrypt() 527 { /* exclude ICV */ in rtw_tkip_decrypt() 608 /* 4 decrypt payload include icv */ in rtw_tkip_decrypt() 972 { /* exclude ICV */ in rtw_aes_encrypt() 1222 { /* exclude ICV */ in rtw_aes_decrypt()
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192d/ |
| H A D | trx_common.c | 374 (!pstats->hwerror) && (!pstats->crc) && (!pstats->icv)); in _rtl92d_translate_rx_signal_stuff() 396 stats->icv = (u16)get_rx_desc_icv(pdesc); in rtl92d_rx_query_desc() 398 stats->hwerror = (stats->crc | stats->icv); in rtl92d_rx_query_desc()
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
| H 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/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
| H 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/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
| H 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/include/uapi/linux/ |
| H A D | if_macsec.h | 39 /* upper limit for ICV length as recommended by IEEE802.1AE-2006 */
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
| H 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/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
| H 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/drivers/net/wireless/broadcom/b43legacy/ |
| H A D | xmit.c | 234 /* Hardware appends ICV. */ in generate_txhdr_fw3() 512 /* Remove the ICV */ in b43legacy_rx()
|
| /linux/net/ipv6/ |
| H A D | reassembly.c | 23 * calculate ICV correctly. 284 * header in order to calculate ICV correctly. */ in ip6_frag_reasm()
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
| H A D | trx.c | 245 (!pstatus->icv)); in _rtl92ee_translate_rx_signal_stuff() 347 status->icv = (u16)get_rx_desc_icv(pdesc); in rtl92ee_rx_query_desc() 349 status->hwerror = (status->crc | status->icv); in rtl92ee_rx_query_desc()
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
| H A D | trx.c | 304 (!pstatus->crc) && (!pstatus->icv)); in translate_rx_signal_stuff() 447 status->icv = (u16)get_rx_desc_icv(pdesc); in rtl8821ae_rx_query_desc() 449 status->hwerror = (status->crc | status->icv); in rtl8821ae_rx_query_desc()
|