Home
last modified time | relevance | path

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

/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 …]
/drivers/staging/rtl8188eu/core/
Drtw_security.c140 struct arc4context mycontext; in rtw_wep_encrypt() local
176 arcfour_init(&mycontext, wepkey, 3+keylength); in rtw_wep_encrypt()
177 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
178 arcfour_encrypt(&mycontext, payload+length, crc, 4); in rtw_wep_encrypt()
182 arcfour_init(&mycontext, wepkey, 3+keylength); in rtw_wep_encrypt()
183 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
184 arcfour_encrypt(&mycontext, payload+length, crc, 4); in rtw_wep_encrypt()
198 struct arc4context mycontext; in rtw_wep_decrypt() local
221 arcfour_init(&mycontext, wepkey, 3+keylength); in rtw_wep_decrypt()
222 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_decrypt()
[all …]