Lines Matching defs:KC
192 int KC = key_bits >> 5;
193 int rounds = KC + 6;
224 memcpy(tk, key, KC * 4);
225 memcpy(a->round_key[0].u8, key, KC * 4);
227 for (t = KC * 4; t < (rounds + 1) * 16; t += KC * 4) {
229 tk[0][i] ^= sbox[tk[KC - 1][(i + 1) & 3]];
232 for (j = 1; j < KC; j++) {
233 if (KC != 8 || j != KC >> 1)
241 memcpy(a->round_key[0].u8 + t, tk, KC * 4);