Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/rtl8712/
Drtl871x_security.c167 struct arc4context mycontext; in r8712_wep_encrypt() local
197 arcfour_init(&mycontext, wepkey, 3 + keylength); in r8712_wep_encrypt()
198 arcfour_encrypt(&mycontext, payload, payload, in r8712_wep_encrypt()
200 arcfour_encrypt(&mycontext, payload + length, in r8712_wep_encrypt()
208 arcfour_init(&mycontext, wepkey, 3 + keylength); in r8712_wep_encrypt()
209 arcfour_encrypt(&mycontext, payload, payload, in r8712_wep_encrypt()
211 arcfour_encrypt(&mycontext, payload + length, in r8712_wep_encrypt()
224 struct arc4context mycontext; in r8712_wep_decrypt() local
248 arcfour_init(&mycontext, wepkey, 3 + keylength); in r8712_wep_decrypt()
249 arcfour_encrypt(&mycontext, payload, payload, length); in r8712_wep_decrypt()
[all …]
/linux-4.4.14/drivers/staging/rtl8723au/core/
Drtw_security.c152 struct arc4context mycontext; in rtw_wep_encrypt23a() local
191 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt23a()
192 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt23a()
193 arcfour_encrypt(&mycontext, payload + length, in rtw_wep_encrypt23a()
199 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt23a()
200 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt23a()
201 arcfour_encrypt(&mycontext, payload + length, in rtw_wep_encrypt23a()
216 struct arc4context mycontext; in rtw_wep_decrypt23a() local
244 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_decrypt23a()
245 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_decrypt23a()
[all …]
/linux-4.4.14/drivers/staging/rtl8188eu/core/
Drtw_security.c145 struct arc4context mycontext; in rtw_wep_encrypt() local
181 arcfour_init(&mycontext, wepkey, 3+keylength); in rtw_wep_encrypt()
182 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
183 arcfour_encrypt(&mycontext, payload+length, crc, 4); in rtw_wep_encrypt()
187 arcfour_init(&mycontext, wepkey, 3+keylength); in rtw_wep_encrypt()
188 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
189 arcfour_encrypt(&mycontext, payload+length, crc, 4); in rtw_wep_encrypt()
203 struct arc4context mycontext; in rtw_wep_decrypt() local
226 arcfour_init(&mycontext, wepkey, 3+keylength); in rtw_wep_decrypt()
227 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_decrypt()
[all …]