Searched refs:icvp (Results 1 – 2 of 2) sorted by relevance
/openbsd/sys/net80211/ |
H A D | ieee80211_crypto_wep.c | 88 u_int8_t *ivp, *icvp; in ieee80211_wep_encrypt() local 180 icvp = mtod(n, caddr_t) + n->m_len; in ieee80211_wep_encrypt() 182 icvp[0] = crc; in ieee80211_wep_encrypt() 183 icvp[1] = crc >> 8; in ieee80211_wep_encrypt() 184 icvp[2] = crc >> 16; in ieee80211_wep_encrypt() 185 icvp[3] = crc >> 24; in ieee80211_wep_encrypt() 186 rc4_crypt(&ctx->rc4, icvp, icvp, IEEE80211_WEP_CRCLEN); in ieee80211_wep_encrypt()
|
H A D | ieee80211_crypto_tkip.c | 191 u_int8_t *ivp, *mic, *icvp; in ieee80211_tkip_encrypt() local 296 icvp = mtod(n, caddr_t) + n->m_len; in ieee80211_tkip_encrypt() 298 icvp[0] = crc; in ieee80211_tkip_encrypt() 299 icvp[1] = crc >> 8; in ieee80211_tkip_encrypt() 300 icvp[2] = crc >> 16; in ieee80211_tkip_encrypt() 301 icvp[3] = crc >> 24; in ieee80211_tkip_encrypt() 302 rc4_crypt(&ctx->rc4, icvp, icvp, IEEE80211_WEP_CRCLEN); in ieee80211_tkip_encrypt()
|