Lines Matching refs:rk
126 ulong32 temp, *rk;
145 rk = skey->rijndael.eK;
146 LOAD32H(rk[0], key );
147 LOAD32H(rk[1], key + 4);
148 LOAD32H(rk[2], key + 8);
149 LOAD32H(rk[3], key + 12);
153 temp = rk[3];
154 rk[4] = rk[0] ^ setup_mix(temp) ^ rcon[i];
155 rk[5] = rk[1] ^ rk[4];
156 rk[6] = rk[2] ^ rk[5];
157 rk[7] = rk[3] ^ rk[6];
161 rk += 4;
165 LOAD32H(rk[4], key + 16);
166 LOAD32H(rk[5], key + 20);
169 temp = skey->rijndael.eK[rk - skey->rijndael.eK + 5];
171 temp = rk[5];
173 rk[ 6] = rk[ 0] ^ setup_mix(temp) ^ rcon[i];
174 rk[ 7] = rk[ 1] ^ rk[ 6];
175 rk[ 8] = rk[ 2] ^ rk[ 7];
176 rk[ 9] = rk[ 3] ^ rk[ 8];
180 rk[10] = rk[ 4] ^ rk[ 9];
181 rk[11] = rk[ 5] ^ rk[10];
182 rk += 6;
186 LOAD32H(rk[4], key + 16);
187 LOAD32H(rk[5], key + 20);
188 LOAD32H(rk[6], key + 24);
189 LOAD32H(rk[7], key + 28);
192 temp = skey->rijndael.eK[rk - skey->rijndael.eK + 7];
194 temp = rk[7];
196 rk[ 8] = rk[ 0] ^ setup_mix(temp) ^ rcon[i];
197 rk[ 9] = rk[ 1] ^ rk[ 8];
198 rk[10] = rk[ 2] ^ rk[ 9];
199 rk[11] = rk[ 3] ^ rk[10];
203 temp = rk[11];
204 rk[12] = rk[ 4] ^ setup_mix(RORc(temp, 8));
205 rk[13] = rk[ 5] ^ rk[12];
206 rk[14] = rk[ 6] ^ rk[13];
207 rk[15] = rk[ 7] ^ rk[14];
208 rk += 8;
217 rk = skey->rijndael.dK;
222 *rk++ = *rrk++;
223 *rk++ = *rrk++;
224 *rk++ = *rrk++;
225 *rk = *rrk;
226 rk -= 3; rrk -= 3;
230 rk += 4;
233 rk[0] = setup_mix2(temp);
235 rk[1] = setup_mix2(temp);
237 rk[2] = setup_mix2(temp);
239 rk[3] = setup_mix2(temp);
242 rk[0] =
248 rk[1] =
254 rk[2] =
260 rk[3] =
271 rk += 4;
272 *rk++ = *rrk++;
273 *rk++ = *rrk++;
274 *rk++ = *rrk++;
275 *rk = *rrk;
294 ulong32 s0, s1, s2, s3, t0, t1, t2, t3, *rk;
302 rk = skey->rijndael.eK;
308 LOAD32H(s0, pt ); s0 ^= rk[0];
309 LOAD32H(s1, pt + 4); s1 ^= rk[1];
310 LOAD32H(s2, pt + 8); s2 ^= rk[2];
311 LOAD32H(s3, pt + 12); s3 ^= rk[3];
316 rk += 4;
322 rk[0];
328 rk[1];
334 rk[2];
340 rk[3];
346 rk += 4;
360 rk[4];
366 rk[5];
372 rk[6];
378 rk[7];
380 rk += 8;
390 rk[0];
396 rk[1];
402 rk[2];
408 rk[3];
422 rk[0];
429 rk[1];
436 rk[2];
443 rk[3];
473 ulong32 s0, s1, s2, s3, t0, t1, t2, t3, *rk;
481 rk = skey->rijndael.dK;
487 LOAD32H(s0, ct ); s0 ^= rk[0];
488 LOAD32H(s1, ct + 4); s1 ^= rk[1];
489 LOAD32H(s2, ct + 8); s2 ^= rk[2];
490 LOAD32H(s3, ct + 12); s3 ^= rk[3];
494 rk += 4;
500 rk[0];
506 rk[1];
512 rk[2];
518 rk[3];
524 rk += 4;
539 rk[4];
545 rk[5];
551 rk[6];
557 rk[7];
559 rk += 8;
570 rk[0];
576 rk[1];
582 rk[2];
588 rk[3];
601 rk[0];
608 rk[1];
615 rk[2];
622 rk[3];