Home
last modified time | relevance | path

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

/Linux-v5.10/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.10/drivers/staging/rtl8188eu/core/
Drtw_security.c581 struct arc4context mycontext; in rtw_tkip_encrypt() local
631 arcfour_init(&mycontext, rc4key, 16); in rtw_tkip_encrypt()
632 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_tkip_encrypt()
633 arcfour_encrypt(&mycontext, payload + length, crc, 4); in rtw_tkip_encrypt()
637 arcfour_init(&mycontext, rc4key, 16); in rtw_tkip_encrypt()
638 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_tkip_encrypt()
639 arcfour_encrypt(&mycontext, payload + length, crc, 4); in rtw_tkip_encrypt()
661 struct arc4context mycontext; in rtw_tkip_decrypt() local
702 arcfour_init(&mycontext, rc4key, 16); in rtw_tkip_decrypt()
703 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_tkip_decrypt()
/Linux-v5.10/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 …]