Searched refs:wepkey (Results 1 – 3 of 3) sorted by relevance
/drivers/staging/rtl8712/ |
D | rtl871x_security.c | 157 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/ |
D | rtw_security.c | 223 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/ |
D | ipw2200.h | 469 u8 wepkey[DCT_WEP_KEY_FIELD_LENGTH]; member
|