Searched refs:mycontext (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/staging/rtl8712/ |
D | rtl871x_security.c | 166 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 …]
|
/Linux-v4.19/drivers/staging/rtl8723bs/core/ |
D | rtw_security.c | 217 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-v4.19/drivers/staging/rtl8188eu/core/ |
D | rtw_security.c | 584 struct arc4context mycontext; in rtw_tkip_encrypt() local 634 arcfour_init(&mycontext, rc4key, 16); in rtw_tkip_encrypt() 635 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_tkip_encrypt() 636 arcfour_encrypt(&mycontext, payload+length, crc, 4); in rtw_tkip_encrypt() 640 arcfour_init(&mycontext, rc4key, 16); in rtw_tkip_encrypt() 641 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_tkip_encrypt() 642 arcfour_encrypt(&mycontext, payload+length, crc, 4); in rtw_tkip_encrypt() 664 struct arc4context mycontext; in rtw_tkip_decrypt() local 707 arcfour_init(&mycontext, rc4key, 16); in rtw_tkip_decrypt() 708 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_tkip_decrypt()
|