Home
last modified time | relevance | path

Searched refs:ic_trailer (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/net80211/
H A Dieee80211_crypto_ccmp.c77 .ic_trailer = IEEE80211_WEP_MICLEN,
299 m_adj(m, -ccmp.ic_trailer); in ccmp_decap()
583 xor_block(b, s0, ccmp.ic_trailer); in ccmp_encrypt()
584 return m_append(m0, ccmp.ic_trailer, b); in ccmp_encrypt()
621 data_len = m->m_pkthdr.len - (hdrlen + ccmp.ic_header + ccmp.ic_trailer); in ccmp_decrypt()
623 m_copydata(m, m->m_pkthdr.len - ccmp.ic_trailer, ccmp.ic_trailer, mic); in ccmp_decrypt()
624 xor_block(mic, b, ccmp.ic_trailer); in ccmp_decrypt()
687 if (memcmp(mic, a, ccmp.ic_trailer) != 0) { in ccmp_decrypt()
H A Dieee80211_crypto_wep.c63 .ic_trailer = IEEE80211_WEP_CRCLEN,
275 m_adj(m, -wep.ic_trailer); in wep_decap()
459 data_len = m->m_pkthdr.len - (off + wep.ic_trailer); in wep_decrypt()
H A Dieee80211_crypto_gcmp.c87 .ic_trailer = GCMP_MIC_LEN,
104 .ic_trailer = GCMP_MIC_LEN,
154 return (k->wk_cipher->ic_trailer); in gcmp_get_trailer_len()
H A Dieee80211_crypto_none.c62 .ic_trailer = 0,
H A Dieee80211_crypto.h211 u_int ic_trailer; /* size of privacy trailer (bytes) */ member
H A Dieee80211_crypto_tkip.c68 .ic_trailer = IEEE80211_WEP_CRCLEN,
373 m_adj(m, -tkip.ic_trailer); in tkip_decap()
1053 m->m_pkthdr.len - (hdrlen + tkip.ic_header + tkip.ic_trailer))) { in tkip_decrypt()
/freebsd/sys/dev/usb/wlan/
H A Dif_rum.c1368 len += cip->ic_header + cip->ic_trailer + cip->ic_miclen; in rum_setup_tx_desc()
/freebsd/sys/dev/mwl/
H A Dif_mwl.c3121 pktlen += cip->ic_header + cip->ic_miclen + cip->ic_trailer; in mwl_tx_start()
/freebsd/sys/dev/ath/
H A Dif_ath_tx.c1017 (*pktlen) += cip->ic_header + cip->ic_trailer; in ath_tx_tag_crypto()
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_80211.c1297 kc->icv_len = k->wk_cipher->ic_trailer; in _lkpi_iv_key_set()