Searched refs:wepkey (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/staging/rtl8712/ |
H A 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()
|
/openbmc/linux/drivers/staging/rtl8723bs/core/ |
H A 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()
|
/openbmc/linux/drivers/net/wireless/intel/ipw2x00/ |
H A D | ipw2200.h | 469 u8 wepkey[DCT_WEP_KEY_FIELD_LENGTH]; member
|