Lines Matching refs:roundkeys
43 GetUserKey(BIG_ENDIAN_ORDER, roundkeys[0], KEYLENGTH/4, userKey, KEYLENGTH);
48 roundkeys[i][0] = roundkeys[i-1][0] ^ rotlFixed(roundkeys[i-1][3], 8U) ^ offset[i-1];
49 roundkeys[i][1] = roundkeys[i-1][1] ^ roundkeys[i][0];
50 roundkeys[i][2] = roundkeys[i-1][2] ^ roundkeys[i][1];
51 roundkeys[i][3] = roundkeys[i-1][3] ^ roundkeys[i][2];
58 SquareTransform (roundkeys[i], roundkeys[i]);
64 std::swap(roundkeys[i][j], roundkeys[ROUNDS-i][j]);
65 SquareTransform (roundkeys[ROUNDS], roundkeys[ROUNDS]);
130 text[0] ^= roundkeys[0][0];
131 text[1] ^= roundkeys[0][1];
132 text[2] ^= roundkeys[0][2];
133 text[3] ^= roundkeys[0][3];
138 squareRound (text, temp, Te[0], Te[1], Te[2], Te[3], roundkeys[i]);
139 squareRound (temp, text, Te[0], Te[1], Te[2], Te[3], roundkeys[i+1]);
141 squareRound (text, temp, Te[0], Te[1], Te[2], Te[3], roundkeys[ROUNDS-1]);
144 squareFinal (text, temp, Se, roundkeys[ROUNDS]);
155 text[0] ^= roundkeys[0][0];
156 text[1] ^= roundkeys[0][1];
157 text[2] ^= roundkeys[0][2];
158 text[3] ^= roundkeys[0][3];
163 squareRound (text, temp, Td[0], Td[1], Td[2], Td[3], roundkeys[i]);
164 squareRound (temp, text, Td[0], Td[1], Td[2], Td[3], roundkeys[i+1]);
166 squareRound (text, temp, Td[0], Td[1], Td[2], Td[3], roundkeys[ROUNDS-1]);
169 squareFinal (text, temp, Sd, roundkeys[ROUNDS]);