Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/staging/rtl8712/
Drtl871x_security.c154 struct arc4context mycontext; in r8712_wep_encrypt() local
185 arcfour_init(&mycontext, wepkey, 3 + keylength); in r8712_wep_encrypt()
186 arcfour_encrypt(&mycontext, payload, payload, in r8712_wep_encrypt()
188 arcfour_encrypt(&mycontext, payload + length, in r8712_wep_encrypt()
196 arcfour_init(&mycontext, wepkey, 3 + keylength); in r8712_wep_encrypt()
197 arcfour_encrypt(&mycontext, payload, payload, in r8712_wep_encrypt()
199 arcfour_encrypt(&mycontext, payload + length, in r8712_wep_encrypt()
212 struct arc4context mycontext; in r8712_wep_decrypt() local
236 arcfour_init(&mycontext, wepkey, 3 + keylength); in r8712_wep_decrypt()
237 arcfour_encrypt(&mycontext, payload, payload, length); in r8712_wep_decrypt()
[all …]
/Linux-v5.4/drivers/staging/rtl8723bs/core/
Drtw_security.c217 struct arc4context mycontext; in rtw_wep_encrypt() local
251 arcfour_init(&mycontext, wepkey, 3+keylength); in rtw_wep_encrypt()
252 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
253 arcfour_encrypt(&mycontext, payload+length, crc, 4); in rtw_wep_encrypt()
258 arcfour_init(&mycontext, wepkey, 3+keylength); in rtw_wep_encrypt()
259 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
260 arcfour_encrypt(&mycontext, payload+length, crc, 4); in rtw_wep_encrypt()
275 struct arc4context mycontext; in rtw_wep_decrypt() local
299 arcfour_init(&mycontext, wepkey, 3+keylength); in rtw_wep_decrypt()
300 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_decrypt()
[all …]
/Linux-v5.4/drivers/staging/rtl8188eu/core/
Drtw_security.c583 struct arc4context mycontext; in rtw_tkip_encrypt() local
633 arcfour_init(&mycontext, rc4key, 16); in rtw_tkip_encrypt()
634 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_tkip_encrypt()
635 arcfour_encrypt(&mycontext, payload+length, crc, 4); in rtw_tkip_encrypt()
639 arcfour_init(&mycontext, rc4key, 16); in rtw_tkip_encrypt()
640 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_tkip_encrypt()
641 arcfour_encrypt(&mycontext, payload+length, crc, 4); in rtw_tkip_encrypt()
663 struct arc4context mycontext; in rtw_tkip_decrypt() local
706 arcfour_init(&mycontext, rc4key, 16); in rtw_tkip_decrypt()
707 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_tkip_decrypt()