Home
last modified time | relevance | path

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

/drivers/staging/rtl8188eu/core/
Drtw_security.c25 static void arcfour_init(struct arc4context *parc4ctx, u8 *key, u32 key_len) in arcfour_init() argument
33 state = parc4ctx->state; in arcfour_init()
34 parc4ctx->x = 0; in arcfour_init()
35 parc4ctx->y = 0; in arcfour_init()
51 static u32 arcfour_byte(struct arc4context *parc4ctx) in arcfour_byte() argument
58 state = parc4ctx->state; in arcfour_byte()
59 x = (parc4ctx->x + 1) & 0xff; in arcfour_byte()
61 y = (sx + parc4ctx->y) & 0xff; in arcfour_byte()
63 parc4ctx->x = x; in arcfour_byte()
64 parc4ctx->y = y; in arcfour_byte()
[all …]
/drivers/staging/rtl8712/
Drtl871x_security.c47 static void arcfour_init(struct arc4context *parc4ctx, u8 *key, u32 key_len) in arcfour_init() argument
55 state = parc4ctx->state; in arcfour_init()
56 parc4ctx->x = 0; in arcfour_init()
57 parc4ctx->y = 0; in arcfour_init()
73 static u32 arcfour_byte(struct arc4context *parc4ctx) in arcfour_byte() argument
80 state = parc4ctx->state; in arcfour_byte()
81 x = (parc4ctx->x + 1) & 0xff; in arcfour_byte()
83 y = (sx + parc4ctx->y) & 0xff; in arcfour_byte()
85 parc4ctx->x = x; in arcfour_byte()
86 parc4ctx->y = y; in arcfour_byte()
[all …]
/drivers/staging/rtl8723bs/core/
Drtw_security.c98 static void arcfour_init(struct arc4context *parc4ctx, u8 *key, u32 key_len) in arcfour_init() argument
106 state = parc4ctx->state; in arcfour_init()
107 parc4ctx->x = 0; in arcfour_init()
108 parc4ctx->y = 0; in arcfour_init()
124 static u32 arcfour_byte(struct arc4context *parc4ctx) in arcfour_byte() argument
131 state = parc4ctx->state; in arcfour_byte()
132 x = (parc4ctx->x + 1) & 0xff; in arcfour_byte()
134 y = (sx + parc4ctx->y) & 0xff; in arcfour_byte()
136 parc4ctx->x = x; in arcfour_byte()
137 parc4ctx->y = y; in arcfour_byte()
[all …]