Searched refs:wepkey (Results 1 – 4 of 4) 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/r8188eu/core/ |
D | rtw_security.c | 92 u8 wepkey[16]; in rtw_wep_encrypt() local 112 memcpy(&wepkey[0], iv, 3); in rtw_wep_encrypt() 113 …memcpy(&wepkey[3], &psecuritypriv->dot11DefKey[psecuritypriv->dot11PrivacyKeyIndex].skey[0], keyle… in rtw_wep_encrypt() 121 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt() 127 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt() 145 u8 *pframe, *payload, *iv, wepkey[16]; in rtw_wep_decrypt() local 157 memcpy(&wepkey[0], iv, 3); in rtw_wep_decrypt() 158 memcpy(&wepkey[3], &psecuritypriv->dot11DefKey[keyindex].skey[0], keylength); in rtw_wep_decrypt() 164 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_decrypt()
|
/drivers/staging/rtl8723bs/core/ |
D | rtw_security.c | 47 u8 wepkey[16]; in rtw_wep_encrypt() local 66 memcpy(&wepkey[0], iv, 3); in rtw_wep_encrypt() 67 …memcpy(&wepkey[3], &psecuritypriv->dot11DefKey[psecuritypriv->dot11PrivacyKeyIndex].skey[0], keyle… in rtw_wep_encrypt() 76 arc4_setkey(ctx, wepkey, 3 + keylength); in rtw_wep_encrypt() 83 arc4_setkey(ctx, wepkey, 3 + keylength); in rtw_wep_encrypt() 100 u8 *pframe, *payload, *iv, wepkey[16]; in rtw_wep_decrypt() local 114 memcpy(&wepkey[0], iv, 3); in rtw_wep_decrypt() 116 memcpy(&wepkey[3], &psecuritypriv->dot11DefKey[keyindex].skey[0], keylength); in rtw_wep_decrypt() 122 arc4_setkey(ctx, wepkey, 3 + keylength); in rtw_wep_decrypt()
|
/drivers/net/wireless/intel/ipw2x00/ |
D | ipw2200.h | 469 u8 wepkey[DCT_WEP_KEY_FIELD_LENGTH]; member
|