Lines Matching defs:KC
42 int KC = ROUNDS - 6;
44 for (j = KC-1; j >= 0; j--) {
50 for (j = 0; (j < KC) && (r < ROUNDS + 1); ) {
51 for (; (j < KC) && (t < 4); j++, t++) {
62 tk[0][0] ^= S[tk[KC-1][1]];
63 tk[0][1] ^= S[tk[KC-1][2]];
64 tk[0][2] ^= S[tk[KC-1][3]];
65 tk[0][3] ^= S[tk[KC-1][0]];
68 if (KC != 8) {
69 for (j = 1; j < KC; j++) {
73 for (j = 1; j < KC/2; j++) {
76 tk[KC/2][0] ^= S[tk[KC/2 - 1][0]];
77 tk[KC/2][1] ^= S[tk[KC/2 - 1][1]];
78 tk[KC/2][2] ^= S[tk[KC/2 - 1][2]];
79 tk[KC/2][3] ^= S[tk[KC/2 - 1][3]];
80 for (j = KC/2 + 1; j < KC; j++) {
85 for (j = 0; (j < KC) && (r < ROUNDS + 1); ) {
86 for (; (j < KC) && (t < 4); j++, t++) {