Lines Matching defs:KC
46 int KC = ROUNDS - 6;
48 for (j = KC-1; j >= 0; j--) {
54 for (j = 0; (j < KC) && (r < ROUNDS + 1); ) {
55 for (; (j < KC) && (t < 4); j++, t++) {
66 tk[0][0] ^= S[tk[KC-1][1]];
67 tk[0][1] ^= S[tk[KC-1][2]];
68 tk[0][2] ^= S[tk[KC-1][3]];
69 tk[0][3] ^= S[tk[KC-1][0]];
72 if (KC != 8) {
73 for (j = 1; j < KC; j++) {
77 for (j = 1; j < KC/2; j++) {
80 tk[KC/2][0] ^= S[tk[KC/2 - 1][0]];
81 tk[KC/2][1] ^= S[tk[KC/2 - 1][1]];
82 tk[KC/2][2] ^= S[tk[KC/2 - 1][2]];
83 tk[KC/2][3] ^= S[tk[KC/2 - 1][3]];
84 for (j = KC/2 + 1; j < KC; j++) {
89 for (j = 0; (j < KC) && (r < ROUNDS + 1); ) {
90 for (; (j < KC) && (t < 4); j++, t++) {