Lines Matching defs:rot
32 unsigned char rot[256];
38 static const char rot[] = "abcdefghijklmnopqrstuvwxyz";
53 for (i = 0; i < sizeof(state->rot); i++)
54 state->rot[i] = i;
55 for (i = 0; i < sizeof(rot); i++)
56 state->rot[rot[i]] = rot[(i + 13) % 26];
58 state->rot[ROT[i]] = ROT[(i + 13) % 26];
86 *s = state->rot[*s];
109 *b++ = state->rot[*s];