Home
last modified time | relevance | path

Searched refs:icv (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/io/net80211/
H A Dnet80211_crypto_wep.c229 uint8_t *icv; in wep_encrypt() local
262 icv = mp->b_wptr; in wep_encrypt()
264 (void) rc4_crypt(ctx, crcbuf, icv, IEEE80211_WEP_CRCLEN); in wep_encrypt()
266 (void) rc4_final(ctx, icv, IEEE80211_WEP_CRCLEN); in wep_encrypt()
276 uint8_t *icv; in wep_decrypt() local
310 icv = mp->b_wptr - IEEE80211_WEP_CRCLEN; in wep_decrypt()
311 (void) rc4_crypt(ctx, icv, crcbuf, IEEE80211_WEP_CRCLEN); in wep_decrypt()
H A Dnet80211_crypto_tkip.c501 uint8_t icv[IEEE80211_WEP_CRCLEN]) in wep_encrypt()
521 (void) rc4_crypt(ctx, crcbuf, icv, IEEE80211_WEP_CRCLEN); in wep_encrypt()
523 (void) rc4_final(ctx, icv, IEEE80211_WEP_CRCLEN); in wep_encrypt()
532 uint8_t *icv; in wep_decrypt() local
549 icv = mp->b_wptr - IEEE80211_WEP_CRCLEN; in wep_decrypt()
550 (void) rc4_crypt(ctx, icv, crcbuf, IEEE80211_WEP_CRCLEN); in wep_decrypt()
716 uint8_t *icv; in tkip_encrypt() local
727 icv = mp->b_wptr; in tkip_encrypt()
734 icv); in tkip_encrypt()
/illumos-gate/usr/src/common/bzip2/
H A Dcompress.c362 register UInt16 icv; in sendMTFValues() local
366 icv = mtfv[gs+(nn)]; \ in sendMTFValues()
367 cost01 += s->len_pack[icv][0]; \ in sendMTFValues()
368 cost23 += s->len_pack[icv][1]; \ in sendMTFValues()
369 cost45 += s->len_pack[icv][2]; \ in sendMTFValues()
391 UInt16 icv = mtfv[i]; in sendMTFValues() local
392 for (t = 0; t < nGroups; t++) cost[t] += s->len[t][icv]; in sendMTFValues()