Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/staging/rtl8712/
Drtl871x_security.c170 struct arc4context mycontext; in r8712_wep_encrypt() local
200 arcfour_init(&mycontext, wepkey, 3 + keylength); in r8712_wep_encrypt()
201 arcfour_encrypt(&mycontext, payload, payload, in r8712_wep_encrypt()
203 arcfour_encrypt(&mycontext, payload + length, in r8712_wep_encrypt()
210 arcfour_init(&mycontext, wepkey, 3 + keylength); in r8712_wep_encrypt()
211 arcfour_encrypt(&mycontext, payload, payload, in r8712_wep_encrypt()
213 arcfour_encrypt(&mycontext, payload+length, in r8712_wep_encrypt()
226 struct arc4context mycontext; in r8712_wep_decrypt() local
250 arcfour_init(&mycontext, wepkey, 3 + keylength); in r8712_wep_decrypt()
251 arcfour_encrypt(&mycontext, payload, payload, length); in r8712_wep_decrypt()
[all …]
/linux-4.1.27/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, crc, 4); in rtw_wep_encrypt23a()
198 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt23a()
199 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt23a()
200 arcfour_encrypt(&mycontext, payload + length, crc, 4); in rtw_wep_encrypt23a()
214 struct arc4context mycontext; in rtw_wep_decrypt23a() local
242 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_decrypt23a()
243 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_decrypt23a()
[all …]
/linux-4.1.27/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 …]