Home
last modified time | relevance | path

Searched refs:icv_len (Results 1 – 22 of 22) sorted by relevance

/linux-2.6.39/drivers/net/wireless/rt2x00/
Drt2x00crypto.c91 overhead += key->icv_len; in rt2x00crypto_tx_overhead()
164 unsigned int icv_len; in rt2x00crypto_rx_insert_iv() local
176 icv_len = 4; in rt2x00crypto_rx_insert_iv()
180 icv_len = 4; in rt2x00crypto_rx_insert_iv()
184 icv_len = 8; in rt2x00crypto_rx_insert_iv()
204 skb_put(skb, icv_len); in rt2x00crypto_rx_insert_iv()
213 if (align < icv_len) in rt2x00crypto_rx_insert_iv()
214 skb_put(skb, icv_len - align); in rt2x00crypto_rx_insert_iv()
215 else if (align > icv_len) in rt2x00crypto_rx_insert_iv()
216 skb_trim(skb, rxdesc->size + iv_len + icv_len); in rt2x00crypto_rx_insert_iv()
[all …]
/linux-2.6.39/drivers/staging/rtl8712/
Drtl871x_security.h134 #define SET_ICE_IV_LEN(iv_len, icv_len, encrypt)\ argument
140 icv_len = 4; \
144 icv_len = 4; \
148 icv_len = 8; \
152 icv_len = 0; \
Drtl871x_xmit.c318 pattrib->icv_len = 4; in r8712_update_attrib()
322 pattrib->icv_len = 4; in r8712_update_attrib()
328 pattrib->icv_len = 8; in r8712_update_attrib()
332 pattrib->icv_len = 0; in r8712_update_attrib()
428 ? pattrib->icv_len : 0); in xmitframe_addmic()
436 pattrib->icv_len : 0); in xmitframe_addmic()
440 pattrib->icv_len; in xmitframe_addmic()
673 if ((pattrib->icv_len > 0) && (pattrib->bswenc)) in r8712_xmitframe_coalesce()
674 mpdu_len -= pattrib->icv_len; in r8712_xmitframe_coalesce()
682 if ((pattrib->icv_len > 0) && (pattrib->bswenc)) { in r8712_xmitframe_coalesce()
[all …]
Drtl871x_recv.c183 prxattrib->iv_len - prxattrib->icv_len - 8; in r8712_recvframe_chkmic()
542 SET_ICE_IV_LEN(pattrib->iv_len, pattrib->icv_len, in validate_recv_data_frame()
546 pattrib->iv_len = pattrib->icv_len = 0; in validate_recv_data_frame()
612 recvframe_pull_tail(precvframe, pattrib->icv_len); in r8712_wlanhdr_to_ethhdr()
Drtl871x_security.c183 pattrib->icv_len; in r8712_wep_encrypt()
193 pattrib->iv_len-pattrib->icv_len; in r8712_wep_encrypt()
606 pattrib->icv_len; in r8712_tkip_encrypt()
617 iv_len-pattrib->icv_len; in r8712_tkip_encrypt()
1168 pattrib->icv_len; in r8712_aes_encrypt()
1175 pattrib->icv_len ; in r8712_aes_encrypt()
Drtl871x_xmit.h88 u8 icv_len; member
Drtl8712_recv.c249 recvframe_pull_tail(prframe, pfhdr->attrib.icv_len); in recvframe_defrag()
252 pfhdr->attrib.icv_len = pnfhdr->attrib.icv_len; in recvframe_defrag()
Drtl871x_recv.h60 int icv_len; member
Drtl8712_xmit.c473 pattrib->icv_len); in dump_xframe()
/linux-2.6.39/drivers/net/wireless/b43legacy/
Dxmit.c247 plcp_fragment_len += info->control.hw_key->icv_len; in generate_txhdr_fw3()
499 int icv_len; in b43legacy_rx() local
526 icv_len = 8; in b43legacy_rx()
529 icv_len = 4; in b43legacy_rx()
532 icv_len))) { in b43legacy_rx()
541 skb_trim(skb, skb->len - icv_len); in b43legacy_rx()
/linux-2.6.39/net/mac80211/
Dkey.c314 key->conf.icv_len = WEP_ICV_LEN; in ieee80211_key_alloc()
318 key->conf.icv_len = TKIP_ICV_LEN; in ieee80211_key_alloc()
330 key->conf.icv_len = CCMP_MIC_LEN; in ieee80211_key_alloc()
350 key->conf.icv_len = sizeof(struct ieee80211_mmie); in ieee80211_key_alloc()
/linux-2.6.39/drivers/staging/brcm80211/brcmsmac/
Dwlc_key.h98 s8 icv_len; /* ICV length */ member
Dwlc_main.c5763 phylen += key->icv_len; in wlc_d11hdrs_mac80211()
/linux-2.6.39/net/xfrm/
Dxfrm_algo.c657 struct xfrm_algo_desc *xfrm_aead_get_byname(const char *name, int icv_len, int probe) in xfrm_aead_get_byname() argument
661 .icvbits = icv_len, in xfrm_aead_get_byname()
/linux-2.6.39/drivers/net/wireless/p54/
Dtxrx.c835 len += info->control.hw_key->icv_len; in p54_tx_80211()
836 memset(skb_put(skb, info->control.hw_key->icv_len), 0, in p54_tx_80211()
837 info->control.hw_key->icv_len); in p54_tx_80211()
/linux-2.6.39/drivers/net/wireless/b43/
Dxmit.c312 plcp_fragment_len += info->control.hw_key->icv_len; in b43_generate_txhdr()
/linux-2.6.39/include/net/
Dmac80211.h885 u8 icv_len; member
Dxfrm.h1549 extern struct xfrm_algo_desc *xfrm_aead_get_byname(const char *name, int icv_len,
/linux-2.6.39/drivers/net/wireless/ath/carl9170/
Dtx.c888 len += info->control.hw_key->icv_len; in carl9170_tx_prepare()
/linux-2.6.39/drivers/net/wireless/ath/ar9170/
Dmain.c1191 icv = info->control.hw_key->icv_len; in ar9170_tx_prepare()
/linux-2.6.39/drivers/net/wireless/ath/ath5k/
Dbase.c705 pktlen += info->control.hw_key->icv_len; in ath5k_txbuf_setup()
/linux-2.6.39/drivers/net/wireless/ath/ath9k/
Dxmit.c1782 frmlen += info->control.hw_key->icv_len; in ath_tx_start()