Lines Matching refs:perm
65 state->perm[i] = (u_char)i;
71 j += state->perm[i] + key[i % keylen];
72 swap_bytes(&state->perm[i], &state->perm[j]);
93 state->index2 += state->perm[state->index1];
96 swap_bytes(&state->perm[state->index1],
97 &state->perm[state->index2]);
100 j = state->perm[state->index1] + state->perm[state->index2];
101 outbuf[i] = inbuf[i] ^ state->perm[j];