Searched refs:ccmp (Results 1 – 1 of 1) sorted by relevance
/haiku/src/libs/compat/freebsd_wlan/net80211/ |
H A D | ieee80211_crypto_ccmp.c | 72 static const struct ieee80211_cipher ccmp = { variable 190 M_PREPEND(m, ccmp.ic_header, IEEE80211_M_NOWAIT); in ccmp_encap() 194 ovbcopy(ivp + ccmp.ic_header, ivp, hdrlen); in ccmp_encap() 290 ovbcopy(mtod(m, void *), mtod(m, uint8_t *) + ccmp.ic_header, in ccmp_decap() 292 m_adj(m, ccmp.ic_header); in ccmp_decap() 299 m_adj(m, -ccmp.ic_trailer); in ccmp_decap() 461 data_len = m->m_pkthdr.len - (hdrlen + ccmp.ic_header); in ccmp_encrypt() 466 pos = mtod(m, uint8_t *) + hdrlen + ccmp.ic_header; in ccmp_encrypt() 468 space = m->m_len - (hdrlen + ccmp.ic_header); in ccmp_encrypt() 576 xor_block(b, s0, ccmp.ic_trailer); in ccmp_encrypt() [all …]
|