Lines Matching refs:BLOCKSIZE
51 static const unsigned int BLOCKSIZE = 8;
60 keySchedule.New(1 + BLOCKSIZE * (1 + 2 * nof_rounds));
64 SecByteBlock ka(BLOCKSIZE + 1), kb(BLOCKSIZE + 1);
69 ka[BLOCKSIZE] = 0;
70 kb[BLOCKSIZE] = 0;
71 for (j = 0; j < BLOCKSIZE; j++)
73 ka[BLOCKSIZE] ^= ka[j] = rotlFixed(userkey_1[j], 5U);
74 kb[BLOCKSIZE] ^= kb[j] = *key++ = userkey_2[j];
79 for (j = 0; j < BLOCKSIZE + 1; j++)
84 for (j = 0; j < BLOCKSIZE; j++)
86 *key++ = (ka[(j + 2 * i - 1) % (BLOCKSIZE + 1)]
90 for (j = 0; j < BLOCKSIZE; j++)
92 *key++ = (kb[(j + 2 * i) % (BLOCKSIZE + 1)]
131 const byte *key = keySchedule + BLOCKSIZE * (1 + 2 * round) - 7;