Searched refs:rc4key (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/uts/common/io/net80211/ |
H A D | net80211_crypto_wep.c | 227 uint8_t rc4key[IEEE80211_WEP_IVLEN + IEEE80211_KEYBUF_SIZE]; in wep_encrypt() local 238 (void) memcpy(rc4key, mp->b_rptr + hdrlen, IEEE80211_WEP_IVLEN); in wep_encrypt() 239 (void) memcpy(rc4key + IEEE80211_WEP_IVLEN, key->wk_key, in wep_encrypt() 243 rv = rc4_init(&ctx, (const uint8_t *)rc4key, in wep_encrypt() 274 uint8_t rc4key[IEEE80211_WEP_IVLEN + IEEE80211_KEYBUF_SIZE]; in wep_decrypt() local 285 (void) memcpy(rc4key, mp->b_rptr + hdrlen, IEEE80211_WEP_IVLEN); in wep_decrypt() 286 (void) memcpy(rc4key + IEEE80211_WEP_IVLEN, key->wk_key, in wep_decrypt() 290 rv = rc4_init(&ctx, (const uint8_t *)rc4key, in wep_decrypt()
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | netr_logon.c | 394 unsigned char rc4key[SMBAUTH_SESSION_KEY_SZ]; in netr_setup_token() local 449 bzero(rc4key, SMBAUTH_SESSION_KEY_SZ); in netr_setup_token() 450 bcopy(netr_info->session_key.key, rc4key, netr_info->session_key.len); in netr_setup_token() 454 SMBAUTH_SESSION_KEY_SZ, rc4key, SMBAUTH_SESSION_KEY_SZ); in netr_setup_token()
|