-void arcfour_init(const void *key, uint16_t length_b, arcfour_ctx_t *ctx){
- uint8_t t;
- const uint8_t length_B = length_b/8;
- uint8_t nidx = length_B;
- uint8_t x=0,y=0;
- const uint8_t *kptr = (const uint8_t*)key;
- do{
- ctx->s[x]=x;
- }while((uint8_t)++x);
+void arcfour_init(const void *key, uint16_t length_b, arcfour_ctx_t *ctx)
+{
+ uint8_t t;
+ const uint8_t length_B = length_b / 8;
+ uint8_t nidx = length_B;
+ uint8_t x = 0, y = 0;
+ const uint8_t *kptr = (const uint8_t*) key;
+ do {
+ ctx->s[x] = x;
+ } while ((uint8_t) ++x);