Home
last modified time | relevance | path

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

/drivers/staging/rtl8712/
Drtl871x_security.c157 u8 wepkey[16]; in r8712_wep_encrypt() local
173 memcpy(&wepkey[0], iv, 3); in r8712_wep_encrypt()
174 memcpy(&wepkey[3], &psecuritypriv->DefKey[ in r8712_wep_encrypt()
185 arcfour_init(&mycontext, wepkey, 3 + keylength); in r8712_wep_encrypt()
196 arcfour_init(&mycontext, wepkey, 3 + keylength); in r8712_wep_encrypt()
214 u8 *pframe, *payload, *iv, wepkey[16]; in r8712_wep_decrypt() local
228 memcpy(&wepkey[0], iv, 3); in r8712_wep_decrypt()
229 memcpy(&wepkey[3], &psecuritypriv->DefKey[ in r8712_wep_decrypt()
236 arcfour_init(&mycontext, wepkey, 3 + keylength); in r8712_wep_decrypt()
/drivers/staging/rtl8723bs/core/
Drtw_security.c223 u8 wepkey[16]; in rtw_wep_encrypt() local
241 memcpy(&wepkey[0], iv, 3); in rtw_wep_encrypt()
242 …memcpy(&wepkey[3], &psecuritypriv->dot11DefKey[psecuritypriv->dot11PrivacyKeyIndex].skey[0], keyle… in rtw_wep_encrypt()
251 arcfour_init(&mycontext, wepkey, 3+keylength); in rtw_wep_encrypt()
258 arcfour_init(&mycontext, wepkey, 3+keylength); in rtw_wep_encrypt()
278 u8 *pframe, *payload, *iv, wepkey[16]; in rtw_wep_decrypt() local
291 memcpy(&wepkey[0], iv, 3); in rtw_wep_decrypt()
293 memcpy(&wepkey[3], &psecuritypriv->dot11DefKey[keyindex].skey[0], keylength); in rtw_wep_decrypt()
299 arcfour_init(&mycontext, wepkey, 3+keylength); in rtw_wep_decrypt()
/drivers/net/wireless/intel/ipw2x00/
Dipw2200.h469 u8 wepkey[DCT_WEP_KEY_FIELD_LENGTH]; member