Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/staging/r8188eu/core/
Drtw_security.c86 struct arc4context mycontext; in rtw_wep_encrypt() local
121 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt()
122 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
123 arcfour_encrypt(&mycontext, payload + length, crc.f1, 4); in rtw_wep_encrypt()
127 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt()
128 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
129 arcfour_encrypt(&mycontext, payload + length, crc.f1, 4); in rtw_wep_encrypt()
142 struct arc4context mycontext; in rtw_wep_decrypt() local
164 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_decrypt()
165 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_decrypt()
[all …]
/Linux-v5.15/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 …]