Home
last modified time | relevance | path

Searched refs:ivp (Results 1 – 8 of 8) sorted by relevance

/titanic_41/usr/src/uts/common/io/net80211/
H A Dnet80211_crypto_ccmp.c122 uint8_t *ivp; in ccmp_encap() local
129 ivp = mp->b_rptr; in ccmp_encap()
130 ivp += hdrlen; in ccmp_encap()
133 ivp[0] = k->wk_keytsc >> 0; /* PN0 */ in ccmp_encap()
134 ivp[1] = k->wk_keytsc >> 8; /* PN1 */ in ccmp_encap()
135 ivp[2] = 0; /* Reserved */ in ccmp_encap()
136 ivp[3] = keyid | IEEE80211_WEP_EXTIV; /* KeyID | ExtID */ in ccmp_encap()
137 ivp[4] = k->wk_keytsc >> 16; /* PN2 */ in ccmp_encap()
138 ivp[5] = k->wk_keytsc >> 24; /* PN3 */ in ccmp_encap()
139 ivp[6] = k->wk_keytsc >> 32; /* PN4 */ in ccmp_encap()
[all …]
H A Dnet80211_crypto_tkip.c141 uint8_t *ivp; in tkip_encap() local
154 ivp = mp->b_rptr; in tkip_encap()
155 ivp += hdrlen; in tkip_encap()
157 ivp[0] = k->wk_keytsc >> 8; /* TSC1 */ in tkip_encap()
158 ivp[1] = (ivp[0] | 0x20) & 0x7f; /* WEP seed */ in tkip_encap()
159 ivp[2] = k->wk_keytsc >> 0; /* TSC0 */ in tkip_encap()
160 ivp[3] = keyid | IEEE80211_WEP_EXTIV; /* KeyID | ExtID */ in tkip_encap()
161 ivp[4] = k->wk_keytsc >> 16; /* TSC2 */ in tkip_encap()
162 ivp[5] = k->wk_keytsc >> 24; /* TSC3 */ in tkip_encap()
163 ivp[6] = k->wk_keytsc >> 32; /* TSC4 */ in tkip_encap()
[all …]
H A Dnet80211_crypto_wep.c131 uint8_t *ivp; in wep_encap() local
138 ivp = (uint8_t *)wh; in wep_encap()
139 ivp += hdrlen; in wep_encap()
161 ivp[2] = (uint8_t)(iv >> 0); in wep_encap()
162 ivp[1] = (uint8_t)(iv >> 8); in wep_encap()
163 ivp[0] = (uint8_t)(iv >> 16); in wep_encap()
166 ivp[IEEE80211_WEP_IVLEN] = keyid; in wep_encap()
H A Dnet80211_crypto_none.c107 const uint8_t *ivp = (const uint8_t *)&wh[1]; in none_decap() local
115 ivp[IEEE80211_WEP_IVLEN] >> 6); in none_decap()
H A Dnet80211_crypto.c413 uint8_t *ivp; in ieee80211_crypto_decap() local
429 ivp = mp->b_rptr + hdrlen; in ieee80211_crypto_decap()
430 keyid = ivp[IEEE80211_WEP_IVLEN]; in ieee80211_crypto_decap()
/titanic_41/usr/src/uts/common/crypto/io/
H A Ddca_3des.c411 uint32_t *ivp = (uint32_t *)ivstore; in dca_3desstart() local
413 uchar_t *ivp = ivstore; in dca_3desstart() local
443 ctx->dr_ctx.iv[0] = htonl(ivp[0]); in dca_3desstart()
444 ctx->dr_ctx.iv[1] = htonl(ivp[1]); in dca_3desstart()
447 ivp[0]<<24 | ivp[1]<<16 | ivp[2]<<8 | ivp[3]; in dca_3desstart()
449 ivp[4]<<24 | ivp[5]<<16 | ivp[6]<<8 | ivp[7]; in dca_3desstart()
/titanic_41/usr/src/common/crypto/modes/
H A Dccm.c775 uint8_t *mac_buf, *datap, *ivp, *authp; in ccm_init() local
793 ivp = (uint8_t *)ctx->ccm_tmp; in ccm_init()
794 bzero(ivp, block_size); in ccm_init()
796 xor_block(ivp, mac_buf); in ccm_init()
/titanic_41/usr/src/uts/sun4u/starfire/io/
H A Didn.c4774 idn_dmv_msg_t *basep, *ivp; in idn_init_handler() local
4808 ivp = basep; in idn_init_handler()
4813 for (c = 0, ivp = basep; c < NCPU; ivp++, c++) { in idn_init_handler()
4815 idn_iv_queue[c] = ivp; in idn_init_handler()
4817 for (i = 1; i < idn_dmv_pending_max; ivp++, i++) { in idn_init_handler()
4818 ivp->iv_next = ivp_offset; in idn_init_handler()
4819 ivp->iv_ready = 0; in idn_init_handler()
4820 lock_set(&ivp->iv_ready); in idn_init_handler()
4823 ivp->iv_next = idn_dmv_data->idn_dmv_cpu[c].idn_dmv_current; in idn_init_handler()
4824 ivp->iv_ready = 0; in idn_init_handler()
[all …]