Searched refs:RC4STATE (Results 1 - 3 of 3) sorted by relevance

/haiku/src/libs/compat/openbsd_wlan/crypto/
H A Darc4.c36 for (i = 0; i < RC4STATE; i++)
38 for (i = 0; i < RC4STATE; i++) {
39 y = (key[x] + ctx->state[i] + y) & (RC4STATE - 1);
53 ctx->x = (ctx->x + 1) & (RC4STATE - 1);
54 ctx->y = (ctx->state[ctx->x] + ctx->y) & (RC4STATE - 1);
57 (ctx->state[ctx->x] + ctx->state[ctx->y]) & (RC4STATE - 1)];
67 ctx->x = (ctx->x + 1) & (RC4STATE - 1);
68 ctx->y = (ctx->state[ctx->x] + ctx->y) & (RC4STATE - 1);
71 (ctx->state[ctx->x] + ctx->state[ctx->y]) & (RC4STATE - 1)];
79 ctx->x = (ctx->x + 1) & (RC4STATE
[all...]
H A Darc4.h18 #define RC4STATE 256 macro
23 u_int8_t state[RC4STATE];
/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211_crypto.c549 rc4_skip(&ctx.rc4, RC4STATE);
602 rc4_skip(&ctx.rc4, RC4STATE);

Completed in 20 milliseconds