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