Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/staging/rtl8712/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/staging/rtl8188eu/core/
H A 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()
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/valgrind/valgrind/
H A D0002-context-APIs-are-not-available-on-musl.patch65 typedef ucontext_t mycontext;
67 mycontext ctx1, ctx2, oldc;
68 @@ -51,9 +52,11 @@ int init_context(mycontext *uc)
/OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/core/
H A 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 …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/
H A Drtw_security.c283 struct arc4context mycontext; in rtw_wep_encrypt() local
330 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt()
331 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
332 arcfour_encrypt(&mycontext, payload + length, crc, 4); in rtw_wep_encrypt()
337 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt()
338 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
339 arcfour_encrypt(&mycontext, payload + length, crc, 4); in rtw_wep_encrypt()
358 struct arc4context mycontext; in rtw_wep_decrypt() local
383 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_decrypt()
384 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_decrypt()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/core/
H A Drtw_security.c283 struct arc4context mycontext; in rtw_wep_encrypt() local
330 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt()
331 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
332 arcfour_encrypt(&mycontext, payload + length, crc, 4); in rtw_wep_encrypt()
337 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt()
338 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
339 arcfour_encrypt(&mycontext, payload + length, crc, 4); in rtw_wep_encrypt()
358 struct arc4context mycontext; in rtw_wep_decrypt() local
383 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_decrypt()
384 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_decrypt()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/
H A Drtw_security.c283 struct arc4context mycontext; in rtw_wep_encrypt() local
330 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt()
331 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
332 arcfour_encrypt(&mycontext, payload + length, crc, 4); in rtw_wep_encrypt()
337 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt()
338 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
339 arcfour_encrypt(&mycontext, payload + length, crc, 4); in rtw_wep_encrypt()
358 struct arc4context mycontext; in rtw_wep_decrypt() local
383 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_decrypt()
384 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_decrypt()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/
H A Drtw_security.c283 struct arc4context mycontext; in rtw_wep_encrypt() local
330 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt()
331 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
332 arcfour_encrypt(&mycontext, payload + length, crc, 4); in rtw_wep_encrypt()
337 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt()
338 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
339 arcfour_encrypt(&mycontext, payload + length, crc, 4); in rtw_wep_encrypt()
358 struct arc4context mycontext; in rtw_wep_decrypt() local
383 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_decrypt()
384 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_decrypt()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/
H A Drtw_security.c283 struct arc4context mycontext; in rtw_wep_encrypt() local
330 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt()
331 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
332 arcfour_encrypt(&mycontext, payload + length, crc, 4); in rtw_wep_encrypt()
337 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt()
338 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
339 arcfour_encrypt(&mycontext, payload + length, crc, 4); in rtw_wep_encrypt()
358 struct arc4context mycontext; in rtw_wep_decrypt() local
383 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_decrypt()
384 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_decrypt()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/
H A Drtw_security.c284 struct arc4context mycontext; in rtw_wep_encrypt() local
331 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt()
332 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
333 arcfour_encrypt(&mycontext, payload + length, crc, 4); in rtw_wep_encrypt()
338 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt()
339 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
340 arcfour_encrypt(&mycontext, payload + length, crc, 4); in rtw_wep_encrypt()
359 struct arc4context mycontext; in rtw_wep_decrypt() local
384 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_decrypt()
385 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_decrypt()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/
H A Drtw_security.c283 struct arc4context mycontext; in rtw_wep_encrypt() local
330 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt()
331 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
332 arcfour_encrypt(&mycontext, payload + length, crc, 4); in rtw_wep_encrypt()
337 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt()
338 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
339 arcfour_encrypt(&mycontext, payload + length, crc, 4); in rtw_wep_encrypt()
358 struct arc4context mycontext; in rtw_wep_decrypt() local
383 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_decrypt()
384 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_decrypt()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/
H A Drtw_security.c284 struct arc4context mycontext; in rtw_wep_encrypt() local
331 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt()
332 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
333 arcfour_encrypt(&mycontext, payload + length, crc, 4); in rtw_wep_encrypt()
338 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt()
339 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
340 arcfour_encrypt(&mycontext, payload + length, crc, 4); in rtw_wep_encrypt()
359 struct arc4context mycontext; in rtw_wep_decrypt() local
384 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_decrypt()
385 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_decrypt()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/core/
H A Drtw_security.c242 struct arc4context mycontext; in rtw_wep_encrypt() local
292 arcfour_init(&mycontext, wepkey,3+keylength); in rtw_wep_encrypt()
293 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
294 arcfour_encrypt(&mycontext, payload+length, crc, 4); in rtw_wep_encrypt()
301 arcfour_init(&mycontext, wepkey,3+keylength); in rtw_wep_encrypt()
302 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
303 arcfour_encrypt(&mycontext, payload+length, crc, 4); in rtw_wep_encrypt()
323 struct arc4context mycontext; in rtw_wep_decrypt() local
350 arcfour_init(&mycontext, wepkey,3+keylength); in rtw_wep_decrypt()
351 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_decrypt()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/core/
H A Drtw_security.c245 struct arc4context mycontext; in rtw_wep_encrypt() local
293 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt()
294 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
295 arcfour_encrypt(&mycontext, payload + length, crc, 4); in rtw_wep_encrypt()
300 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt()
301 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
302 arcfour_encrypt(&mycontext, payload + length, crc, 4); in rtw_wep_encrypt()
322 struct arc4context mycontext; in rtw_wep_decrypt() local
348 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_decrypt()
349 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_decrypt()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/core/
H A Drtw_security.c242 struct arc4context mycontext; in rtw_wep_encrypt() local
292 arcfour_init(&mycontext, wepkey,3+keylength); in rtw_wep_encrypt()
293 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
294 arcfour_encrypt(&mycontext, payload+length, crc, 4); in rtw_wep_encrypt()
301 arcfour_init(&mycontext, wepkey,3+keylength); in rtw_wep_encrypt()
302 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
303 arcfour_encrypt(&mycontext, payload+length, crc, 4); in rtw_wep_encrypt()
323 struct arc4context mycontext; in rtw_wep_decrypt() local
350 arcfour_init(&mycontext, wepkey,3+keylength); in rtw_wep_decrypt()
351 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_decrypt()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/core/
H A Drtw_security.c231 struct arc4context mycontext; in rtw_wep_encrypt() local
278 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt()
279 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
280 arcfour_encrypt(&mycontext, payload + length, crc, 4); in rtw_wep_encrypt()
285 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt()
286 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
287 arcfour_encrypt(&mycontext, payload + length, crc, 4); in rtw_wep_encrypt()
306 struct arc4context mycontext; in rtw_wep_decrypt() local
331 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_decrypt()
332 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_decrypt()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/core/
H A Drtw_security.c232 struct arc4context mycontext; in rtw_wep_encrypt() local
279 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt()
280 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
281 arcfour_encrypt(&mycontext, payload + length, crc, 4); in rtw_wep_encrypt()
286 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt()
287 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
288 arcfour_encrypt(&mycontext, payload + length, crc, 4); in rtw_wep_encrypt()
307 struct arc4context mycontext; in rtw_wep_decrypt() local
332 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_decrypt()
333 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_decrypt()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/core/
H A Drtw_security.c232 struct arc4context mycontext; in rtw_wep_encrypt() local
279 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt()
280 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
281 arcfour_encrypt(&mycontext, payload + length, crc, 4); in rtw_wep_encrypt()
286 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt()
287 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
288 arcfour_encrypt(&mycontext, payload + length, crc, 4); in rtw_wep_encrypt()
307 struct arc4context mycontext; in rtw_wep_decrypt() local
332 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_decrypt()
333 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_decrypt()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/core/
H A Drtw_security.c231 struct arc4context mycontext; in rtw_wep_encrypt() local
278 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt()
279 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
280 arcfour_encrypt(&mycontext, payload + length, crc, 4); in rtw_wep_encrypt()
285 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt()
286 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
287 arcfour_encrypt(&mycontext, payload + length, crc, 4); in rtw_wep_encrypt()
306 struct arc4context mycontext; in rtw_wep_decrypt() local
331 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_decrypt()
332 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_decrypt()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/core/
H A Drtw_security.c232 struct arc4context mycontext; in rtw_wep_encrypt() local
279 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt()
280 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
281 arcfour_encrypt(&mycontext, payload + length, crc, 4); in rtw_wep_encrypt()
286 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt()
287 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
288 arcfour_encrypt(&mycontext, payload + length, crc, 4); in rtw_wep_encrypt()
307 struct arc4context mycontext; in rtw_wep_decrypt() local
332 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_decrypt()
333 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_decrypt()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/
H A Drtw_security.c287 struct arc4context mycontext; in rtw_wep_encrypt() local
323 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt()
324 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
325 arcfour_encrypt(&mycontext, payload + length, crc, 4); in rtw_wep_encrypt()
335 struct arc4context mycontext; in rtw_wep_decrypt() local
360 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_decrypt()
361 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_decrypt()
716 struct arc4context mycontext; in rtw_tkip_encrypt() local
754 arcfour_init(&mycontext, rc4key, 16); in rtw_tkip_encrypt()
755 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_tkip_encrypt()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/
H A Drtw_security.c287 struct arc4context mycontext; in rtw_wep_encrypt() local
323 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_encrypt()
324 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_encrypt()
325 arcfour_encrypt(&mycontext, payload + length, crc, 4); in rtw_wep_encrypt()
335 struct arc4context mycontext; in rtw_wep_decrypt() local
360 arcfour_init(&mycontext, wepkey, 3 + keylength); in rtw_wep_decrypt()
361 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_wep_decrypt()
716 struct arc4context mycontext; in rtw_tkip_encrypt() local
754 arcfour_init(&mycontext, rc4key, 16); in rtw_tkip_encrypt()
755 arcfour_encrypt(&mycontext, payload, payload, length); in rtw_tkip_encrypt()
[all …]