Searched refs:parc4ctx (Results 1 – 2 of 2) sorted by relevance
47 static void arcfour_init(struct arc4context *parc4ctx, u8 *key, u32 key_len) in arcfour_init() argument55 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() argument80 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 …]
21 static void arcfour_init(struct arc4context *parc4ctx, u8 *key, u32 key_len) in arcfour_init() argument29 state = parc4ctx->state; in arcfour_init()30 parc4ctx->x = 0; in arcfour_init()31 parc4ctx->y = 0; in arcfour_init()48 static u32 arcfour_byte(struct arc4context *parc4ctx) in arcfour_byte() argument55 state = parc4ctx->state; in arcfour_byte()56 x = (parc4ctx->x + 1) & 0xff; in arcfour_byte()58 y = (sx + parc4ctx->y) & 0xff; in arcfour_byte()60 parc4ctx->x = x; in arcfour_byte()61 parc4ctx->y = y; in arcfour_byte()[all …]