Lines Matching defs:nk
239 u8 nr, nk;
243 nk = KEYLENGTH_4BYTES;
247 nk = KEYLENGTH_6BYTES;
251 nk = KEYLENGTH_8BYTES;
257 for (i = 0; i < nk; i++)
261 temp = w_ring[nk - 1];
262 while (i + nk < (nr + 1) * 4) {
263 if (!(i % nk)) {
267 temp ^= round_constant[i / nk];
268 } else if (nk == 8 && (i % 4 == 0)) {
271 w_ring[i % nk] ^= temp;
272 temp = w_ring[i % nk];
276 for (k = 0, j = i % nk; k < nk; k++) {
280 j += nk;