Lines Matching refs:C

128     uint64_t C[5], D[5];  in Theta()  local
131 C[0] = A[0][0]; in Theta()
132 C[1] = A[0][1]; in Theta()
133 C[2] = A[0][2]; in Theta()
134 C[3] = A[0][3]; in Theta()
135 C[4] = A[0][4]; in Theta()
138 C[0] ^= A[y][0]; in Theta()
139 C[1] ^= A[y][1]; in Theta()
140 C[2] ^= A[y][2]; in Theta()
141 C[3] ^= A[y][3]; in Theta()
142 C[4] ^= A[y][4]; in Theta()
145 D[0] = ROL64(C[1], 1) ^ C[4]; in Theta()
146 D[1] = ROL64(C[2], 1) ^ C[0]; in Theta()
147 D[2] = ROL64(C[3], 1) ^ C[1]; in Theta()
148 D[3] = ROL64(C[4], 1) ^ C[2]; in Theta()
149 D[4] = ROL64(C[0], 1) ^ C[3]; in Theta()
216 uint64_t C[5]; in Chi() local
220 C[0] = A[y][0] ^ (~A[y][1] & A[y][2]); in Chi()
221 C[1] = A[y][1] ^ (~A[y][2] & A[y][3]); in Chi()
222 C[2] = A[y][2] ^ (~A[y][3] & A[y][4]); in Chi()
223 C[3] = A[y][3] ^ (~A[y][4] & A[y][0]); in Chi()
224 C[4] = A[y][4] ^ (~A[y][0] & A[y][1]); in Chi()
226 A[y][0] = C[0]; in Chi()
227 A[y][1] = C[1]; in Chi()
228 A[y][2] = C[2]; in Chi()
229 A[y][3] = C[3]; in Chi()
230 A[y][4] = C[4]; in Chi()
266 uint64_t C[5], E[2]; /* registers */ in Round() local
271 C[0] = A[0][0] ^ A[1][0] ^ A[2][0] ^ A[3][0] ^ A[4][0]; in Round()
272 C[1] = A[0][1] ^ A[1][1] ^ A[2][1] ^ A[3][1] ^ A[4][1]; in Round()
273 C[2] = A[0][2] ^ A[1][2] ^ A[2][2] ^ A[3][2] ^ A[4][2]; in Round()
274 C[3] = A[0][3] ^ A[1][3] ^ A[2][3] ^ A[3][3] ^ A[4][3]; in Round()
275 C[4] = A[0][4] ^ A[1][4] ^ A[2][4] ^ A[3][4] ^ A[4][4]; in Round()
278 D[1] = E[0] = ROL64(C[2], 1) ^ C[0]; in Round()
279 D[4] = E[1] = ROL64(C[0], 1) ^ C[3]; in Round()
280 D[0] = C[0] = ROL64(C[1], 1) ^ C[4]; in Round()
281 D[2] = C[1] = ROL64(C[3], 1) ^ C[1]; in Round()
282 D[3] = C[2] = ROL64(C[4], 1) ^ C[2]; in Round()
284 T[0][0] = A[3][0] ^ C[0]; /* borrow T[0][0] */ in Round()
286 T[0][2] = A[0][2] ^ C[1]; /* D[2] */ in Round()
287 T[0][3] = A[0][3] ^ C[2]; /* D[3] */ in Round()
290 C[3] = ROL64(A[3][3] ^ C[2], rhotates[3][3]); /* D[3] */ in Round()
291 C[4] = ROL64(A[4][4] ^ E[1], rhotates[4][4]); /* D[4] */ in Round()
292 C[0] = A[0][0] ^ C[0]; /* rotate by 0 */ /* D[0] */ in Round()
293 C[2] = ROL64(A[2][2] ^ C[1], rhotates[2][2]); /* D[2] */ in Round()
294 C[1] = ROL64(A[1][1] ^ E[0], rhotates[1][1]); /* D[1] */ in Round()
296 D[0] = ROL64(C[1], 1) ^ C[4]; in Round()
297 D[1] = ROL64(C[2], 1) ^ C[0]; in Round()
298 D[2] = ROL64(C[3], 1) ^ C[1]; in Round()
299 D[3] = ROL64(C[4], 1) ^ C[2]; in Round()
300 D[4] = ROL64(C[0], 1) ^ C[3]; in Round()
308 C[0] = A[0][0] ^ D[0]; /* rotate by 0 */ in Round()
309 C[1] = ROL64(A[1][1] ^ D[1], rhotates[1][1]); in Round()
310 C[2] = ROL64(A[2][2] ^ D[2], rhotates[2][2]); in Round()
311 C[3] = ROL64(A[3][3] ^ D[3], rhotates[3][3]); in Round()
312 C[4] = ROL64(A[4][4] ^ D[4], rhotates[4][4]); in Round()
314 A[0][0] = C[0] ^ (~C[1] & C[2]) ^ iotas[i]; in Round()
315 A[0][1] = C[1] ^ (~C[2] & C[3]); in Round()
316 A[0][2] = C[2] ^ (~C[3] & C[4]); in Round()
317 A[0][3] = C[3] ^ (~C[4] & C[0]); in Round()
318 A[0][4] = C[4] ^ (~C[0] & C[1]); in Round()
320 T[1][0] = A[1][0] ^ (C[3] = D[0]); in Round()
321 T[1][1] = A[2][1] ^ (C[4] = D[1]); /* borrow T[1][1] */ in Round()
324 T[1][4] = A[2][4] ^ (C[2] = D[4]); /* borrow T[1][4] */ in Round()
326 C[0] = ROL64(T[0][3], rhotates[0][3]); in Round()
327 C[1] = ROL64(A[1][4] ^ C[2], rhotates[1][4]); /* D[4] */ in Round()
328 C[2] = ROL64(A[2][0] ^ C[3], rhotates[2][0]); /* D[0] */ in Round()
329 C[3] = ROL64(A[3][1] ^ C[4], rhotates[3][1]); /* D[1] */ in Round()
330 C[4] = ROL64(A[4][2] ^ E[0], rhotates[4][2]); /* D[2] */ in Round()
332 A[1][0] = C[0] ^ (~C[1] & C[2]); in Round()
333 A[1][1] = C[1] ^ (~C[2] & C[3]); in Round()
334 A[1][2] = C[2] ^ (~C[3] & C[4]); in Round()
335 A[1][3] = C[3] ^ (~C[4] & C[0]); in Round()
336 A[1][4] = C[4] ^ (~C[0] & C[1]); in Round()
338 C[0] = ROL64(T[0][1], rhotates[0][1]); in Round()
339 C[1] = ROL64(T[1][2], rhotates[1][2]); in Round()
340 C[2] = ROL64(A[2][3] ^ D[3], rhotates[2][3]); in Round()
341 C[3] = ROL64(A[3][4] ^ D[4], rhotates[3][4]); in Round()
342 C[4] = ROL64(A[4][0] ^ D[0], rhotates[4][0]); in Round()
344 A[2][0] = C[0] ^ (~C[1] & C[2]); in Round()
345 A[2][1] = C[1] ^ (~C[2] & C[3]); in Round()
346 A[2][2] = C[2] ^ (~C[3] & C[4]); in Round()
347 A[2][3] = C[3] ^ (~C[4] & C[0]); in Round()
348 A[2][4] = C[4] ^ (~C[0] & C[1]); in Round()
350 C[0] = ROL64(T[0][4], rhotates[0][4]); in Round()
351 C[1] = ROL64(T[1][0], rhotates[1][0]); in Round()
352 C[2] = ROL64(T[1][1], rhotates[2][1]); /* originally A[2][1] */ in Round()
353 C[3] = ROL64(A[3][2] ^ D[2], rhotates[3][2]); in Round()
354 C[4] = ROL64(A[4][3] ^ D[3], rhotates[4][3]); in Round()
356 A[3][0] = C[0] ^ (~C[1] & C[2]); in Round()
357 A[3][1] = C[1] ^ (~C[2] & C[3]); in Round()
358 A[3][2] = C[2] ^ (~C[3] & C[4]); in Round()
359 A[3][3] = C[3] ^ (~C[4] & C[0]); in Round()
360 A[3][4] = C[4] ^ (~C[0] & C[1]); in Round()
362 C[0] = ROL64(T[0][2], rhotates[0][2]); in Round()
363 C[1] = ROL64(T[1][3], rhotates[1][3]); in Round()
364 C[2] = ROL64(T[1][4], rhotates[2][4]); /* originally A[2][4] */ in Round()
365 C[3] = ROL64(T[0][0], rhotates[3][0]); /* originally A[3][0] */ in Round()
366 C[4] = ROL64(A[4][1] ^ D[1], rhotates[4][1]); in Round()
368 A[4][0] = C[0] ^ (~C[1] & C[2]); in Round()
369 A[4][1] = C[1] ^ (~C[2] & C[3]); in Round()
370 A[4][2] = C[2] ^ (~C[3] & C[4]); in Round()
371 A[4][3] = C[3] ^ (~C[4] & C[0]); in Round()
372 A[4][4] = C[4] ^ (~C[0] & C[1]); in Round()
394 uint64_t C[5], D[5]; in Round() local
398 C[0] = A[0][0] ^ A[1][0] ^ A[2][0] ^ A[3][0] ^ A[4][0]; in Round()
399 C[1] = A[0][1] ^ A[1][1] ^ A[2][1] ^ A[3][1] ^ A[4][1]; in Round()
400 C[2] = A[0][2] ^ A[1][2] ^ A[2][2] ^ A[3][2] ^ A[4][2]; in Round()
401 C[3] = A[0][3] ^ A[1][3] ^ A[2][3] ^ A[3][3] ^ A[4][3]; in Round()
402 C[4] = A[0][4] ^ A[1][4] ^ A[2][4] ^ A[3][4] ^ A[4][4]; in Round()
404 D[1] = C[0] ^ ROL64(C[2], 1); in Round()
405 D[2] = C[1] ^ ROL64(C[3], 1); in Round()
406 D[3] = C[2] ^= ROL64(C[4], 1); in Round()
407 D[4] = C[3] ^= ROL64(C[0], 1); in Round()
408 D[0] = C[4] ^= ROL64(C[1], 1); in Round()
422 A[0][3] ^= C[2]; in Round()
423 A[1][3] ^= C[2]; in Round()
424 A[2][3] ^= C[2]; in Round()
425 A[3][3] ^= C[2]; in Round()
426 A[4][3] ^= C[2]; in Round()
428 A[0][4] ^= C[3]; in Round()
429 A[1][4] ^= C[3]; in Round()
430 A[2][4] ^= C[3]; in Round()
431 A[3][4] ^= C[3]; in Round()
432 A[4][4] ^= C[3]; in Round()
434 A[0][0] ^= C[4]; in Round()
435 A[1][0] ^= C[4]; in Round()
436 A[2][0] ^= C[4]; in Round()
437 A[3][0] ^= C[4]; in Round()
438 A[4][0] ^= C[4]; in Round()
440 C[1] = A[0][1]; in Round()
441 C[2] = A[0][2]; in Round()
442 C[3] = A[0][3]; in Round()
443 C[4] = A[0][4]; in Round()
470 A[1][0] = ROL64(C[3], rhotates[0][3]); in Round()
471 A[2][0] = ROL64(C[1], rhotates[0][1]); in Round()
472 A[3][0] = ROL64(C[4], rhotates[0][4]); in Round()
473 A[4][0] = ROL64(C[2], rhotates[0][2]); in Round()
475 C[0] = A[0][0]; in Round()
476 C[1] = A[1][0]; in Round()
486 A[0][3] ^= (~A[0][4] & C[0]); in Round()
487 A[1][3] ^= (~A[1][4] & C[1]); in Round()
488 A[0][4] ^= (~C[0] & D[0]); in Round()
489 A[1][4] ^= (~C[1] & D[1]); in Round()
491 C[2] = A[2][0]; in Round()
492 C[3] = A[3][0]; in Round()
502 A[2][3] ^= (~A[2][4] & C[2]); in Round()
503 A[3][3] ^= (~A[3][4] & C[3]); in Round()
504 A[2][4] ^= (~C[2] & D[2]); in Round()
505 A[3][4] ^= (~C[3] & D[3]); in Round()
507 C[4] = A[4][0]; in Round()
513 A[4][3] ^= (~A[4][4] & C[4]); in Round()
514 A[4][4] ^= (~C[4] & D[4]); in Round()
539 uint64_t C[5], D[5]; in Round() local
543 C[0] = A[0][0] ^ A[1][0] ^ A[2][0] ^ A[3][0] ^ A[4][0]; in Round()
544 C[1] = A[0][1] ^ A[1][1] ^ A[2][1] ^ A[3][1] ^ A[4][1]; in Round()
545 C[2] = A[0][2] ^ A[1][2] ^ A[2][2] ^ A[3][2] ^ A[4][2]; in Round()
546 C[3] = A[0][3] ^ A[1][3] ^ A[2][3] ^ A[3][3] ^ A[4][3]; in Round()
547 C[4] = A[0][4] ^ A[1][4] ^ A[2][4] ^ A[3][4] ^ A[4][4]; in Round()
549 D[0] = ROL64(C[1], 1) ^ C[4]; in Round()
550 D[1] = ROL64(C[2], 1) ^ C[0]; in Round()
551 D[2] = ROL64(C[3], 1) ^ C[1]; in Round()
552 D[3] = ROL64(C[4], 1) ^ C[2]; in Round()
553 D[4] = ROL64(C[0], 1) ^ C[3]; in Round()
555 C[0] = A[0][0] ^ D[0]; /* rotate by 0 */ in Round()
556 C[1] = ROL64(A[1][1] ^ D[1], rhotates[1][1]); in Round()
557 C[2] = ROL64(A[2][2] ^ D[2], rhotates[2][2]); in Round()
558 C[3] = ROL64(A[3][3] ^ D[3], rhotates[3][3]); in Round()
559 C[4] = ROL64(A[4][4] ^ D[4], rhotates[4][4]); in Round()
562 R[0][0] = C[0] ^ ( C[1] | C[2]) ^ iotas[i]; in Round()
563 R[0][1] = C[1] ^ (~C[2] | C[3]); in Round()
564 R[0][2] = C[2] ^ ( C[3] & C[4]); in Round()
565 R[0][3] = C[3] ^ ( C[4] | C[0]); in Round()
566 R[0][4] = C[4] ^ ( C[0] & C[1]); in Round()
568 R[0][0] = C[0] ^ (~C[1] & C[2]) ^ iotas[i]; in Round()
569 R[0][1] = C[1] ^ (~C[2] & C[3]); in Round()
570 R[0][2] = C[2] ^ (~C[3] & C[4]); in Round()
571 R[0][3] = C[3] ^ (~C[4] & C[0]); in Round()
572 R[0][4] = C[4] ^ (~C[0] & C[1]); in Round()
575 C[0] = ROL64(A[0][3] ^ D[3], rhotates[0][3]); in Round()
576 C[1] = ROL64(A[1][4] ^ D[4], rhotates[1][4]); in Round()
577 C[2] = ROL64(A[2][0] ^ D[0], rhotates[2][0]); in Round()
578 C[3] = ROL64(A[3][1] ^ D[1], rhotates[3][1]); in Round()
579 C[4] = ROL64(A[4][2] ^ D[2], rhotates[4][2]); in Round()
582 R[1][0] = C[0] ^ (C[1] | C[2]); in Round()
583 R[1][1] = C[1] ^ (C[2] & C[3]); in Round()
584 R[1][2] = C[2] ^ (C[3] | ~C[4]); in Round()
585 R[1][3] = C[3] ^ (C[4] | C[0]); in Round()
586 R[1][4] = C[4] ^ (C[0] & C[1]); in Round()
588 R[1][0] = C[0] ^ (~C[1] & C[2]); in Round()
589 R[1][1] = C[1] ^ (~C[2] & C[3]); in Round()
590 R[1][2] = C[2] ^ (~C[3] & C[4]); in Round()
591 R[1][3] = C[3] ^ (~C[4] & C[0]); in Round()
592 R[1][4] = C[4] ^ (~C[0] & C[1]); in Round()
595 C[0] = ROL64(A[0][1] ^ D[1], rhotates[0][1]); in Round()
596 C[1] = ROL64(A[1][2] ^ D[2], rhotates[1][2]); in Round()
597 C[2] = ROL64(A[2][3] ^ D[3], rhotates[2][3]); in Round()
598 C[3] = ROL64(A[3][4] ^ D[4], rhotates[3][4]); in Round()
599 C[4] = ROL64(A[4][0] ^ D[0], rhotates[4][0]); in Round()
602 R[2][0] = C[0] ^ ( C[1] | C[2]); in Round()
603 R[2][1] = C[1] ^ ( C[2] & C[3]); in Round()
604 R[2][2] = C[2] ^ (~C[3] & C[4]); in Round()
605 R[2][3] = ~C[3] ^ ( C[4] | C[0]); in Round()
606 R[2][4] = C[4] ^ ( C[0] & C[1]); in Round()
608 R[2][0] = C[0] ^ (~C[1] & C[2]); in Round()
609 R[2][1] = C[1] ^ (~C[2] & C[3]); in Round()
610 R[2][2] = C[2] ^ (~C[3] & C[4]); in Round()
611 R[2][3] = C[3] ^ (~C[4] & C[0]); in Round()
612 R[2][4] = C[4] ^ (~C[0] & C[1]); in Round()
615 C[0] = ROL64(A[0][4] ^ D[4], rhotates[0][4]); in Round()
616 C[1] = ROL64(A[1][0] ^ D[0], rhotates[1][0]); in Round()
617 C[2] = ROL64(A[2][1] ^ D[1], rhotates[2][1]); in Round()
618 C[3] = ROL64(A[3][2] ^ D[2], rhotates[3][2]); in Round()
619 C[4] = ROL64(A[4][3] ^ D[3], rhotates[4][3]); in Round()
622 R[3][0] = C[0] ^ ( C[1] & C[2]); in Round()
623 R[3][1] = C[1] ^ ( C[2] | C[3]); in Round()
624 R[3][2] = C[2] ^ (~C[3] | C[4]); in Round()
625 R[3][3] = ~C[3] ^ ( C[4] & C[0]); in Round()
626 R[3][4] = C[4] ^ ( C[0] | C[1]); in Round()
628 R[3][0] = C[0] ^ (~C[1] & C[2]); in Round()
629 R[3][1] = C[1] ^ (~C[2] & C[3]); in Round()
630 R[3][2] = C[2] ^ (~C[3] & C[4]); in Round()
631 R[3][3] = C[3] ^ (~C[4] & C[0]); in Round()
632 R[3][4] = C[4] ^ (~C[0] & C[1]); in Round()
635 C[0] = ROL64(A[0][2] ^ D[2], rhotates[0][2]); in Round()
636 C[1] = ROL64(A[1][3] ^ D[3], rhotates[1][3]); in Round()
637 C[2] = ROL64(A[2][4] ^ D[4], rhotates[2][4]); in Round()
638 C[3] = ROL64(A[3][0] ^ D[0], rhotates[3][0]); in Round()
639 C[4] = ROL64(A[4][1] ^ D[1], rhotates[4][1]); in Round()
642 R[4][0] = C[0] ^ (~C[1] & C[2]); in Round()
643 R[4][1] = ~C[1] ^ ( C[2] | C[3]); in Round()
644 R[4][2] = C[2] ^ ( C[3] & C[4]); in Round()
645 R[4][3] = C[3] ^ ( C[4] | C[0]); in Round()
646 R[4][4] = C[4] ^ ( C[0] & C[1]); in Round()
648 R[4][0] = C[0] ^ (~C[1] & C[2]); in Round()
649 R[4][1] = C[1] ^ (~C[2] & C[3]); in Round()
650 R[4][2] = C[2] ^ (~C[3] & C[4]); in Round()
651 R[4][3] = C[3] ^ (~C[4] & C[0]); in Round()
652 R[4][4] = C[4] ^ (~C[0] & C[1]); in Round()
697 uint64_t B[5], C[5], D[5]; in FourRounds() local
702 C[0] = A[0][0] ^ A[1][0] ^ A[2][0] ^ A[3][0] ^ A[4][0]; in FourRounds()
703 C[1] = A[0][1] ^ A[1][1] ^ A[2][1] ^ A[3][1] ^ A[4][1]; in FourRounds()
704 C[2] = A[0][2] ^ A[1][2] ^ A[2][2] ^ A[3][2] ^ A[4][2]; in FourRounds()
705 C[3] = A[0][3] ^ A[1][3] ^ A[2][3] ^ A[3][3] ^ A[4][3]; in FourRounds()
706 C[4] = A[0][4] ^ A[1][4] ^ A[2][4] ^ A[3][4] ^ A[4][4]; in FourRounds()
708 D[0] = ROL64(C[1], 1) ^ C[4]; in FourRounds()
709 D[1] = ROL64(C[2], 1) ^ C[0]; in FourRounds()
710 D[2] = ROL64(C[3], 1) ^ C[1]; in FourRounds()
711 D[3] = ROL64(C[4], 1) ^ C[2]; in FourRounds()
712 D[4] = ROL64(C[0], 1) ^ C[3]; in FourRounds()
720 C[0] = A[0][0] = B[0] ^ (~B[1] & B[2]) ^ iotas[i]; in FourRounds()
721 C[1] = A[1][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
722 C[2] = A[2][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
723 C[3] = A[3][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
724 C[4] = A[4][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()
732 C[0] ^= A[2][0] = B[0] ^ (~B[1] & B[2]); in FourRounds()
733 C[1] ^= A[3][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
734 C[2] ^= A[4][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
735 C[3] ^= A[0][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
736 C[4] ^= A[1][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()
744 C[0] ^= A[4][0] = B[0] ^ (~B[1] & B[2]); in FourRounds()
745 C[1] ^= A[0][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
746 C[2] ^= A[1][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
747 C[3] ^= A[2][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
748 C[4] ^= A[3][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()
756 C[0] ^= A[1][0] = B[0] ^ (~B[1] & B[2]); in FourRounds()
757 C[1] ^= A[2][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
758 C[2] ^= A[3][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
759 C[3] ^= A[4][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
760 C[4] ^= A[0][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()
768 C[0] ^= A[3][0] = B[0] ^ (~B[1] & B[2]); in FourRounds()
769 C[1] ^= A[4][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
770 C[2] ^= A[0][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
771 C[3] ^= A[1][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
772 C[4] ^= A[2][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()
775 D[0] = ROL64(C[1], 1) ^ C[4]; in FourRounds()
776 D[1] = ROL64(C[2], 1) ^ C[0]; in FourRounds()
777 D[2] = ROL64(C[3], 1) ^ C[1]; in FourRounds()
778 D[3] = ROL64(C[4], 1) ^ C[2]; in FourRounds()
779 D[4] = ROL64(C[0], 1) ^ C[3]; in FourRounds()
787 C[0] = A[0][0] = B[0] ^ (~B[1] & B[2]) ^ iotas[i + 1]; in FourRounds()
788 C[1] = A[3][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
789 C[2] = A[1][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
790 C[3] = A[4][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
791 C[4] = A[2][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()
799 C[0] ^= A[4][0] = B[0] ^ (~B[1] & B[2]); in FourRounds()
800 C[1] ^= A[2][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
801 C[2] ^= A[0][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
802 C[3] ^= A[3][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
803 C[4] ^= A[1][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()
811 C[0] ^= A[3][0] = B[0] ^ (~B[1] & B[2]); in FourRounds()
812 C[1] ^= A[1][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
813 C[2] ^= A[4][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
814 C[3] ^= A[2][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
815 C[4] ^= A[0][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()
823 C[0] ^= A[2][0] = B[0] ^ (~B[1] & B[2]); in FourRounds()
824 C[1] ^= A[0][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
825 C[2] ^= A[3][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
826 C[3] ^= A[1][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
827 C[4] ^= A[4][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()
835 C[0] ^= A[1][0] = B[0] ^ (~B[1] & B[2]); in FourRounds()
836 C[1] ^= A[4][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
837 C[2] ^= A[2][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
838 C[3] ^= A[0][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
839 C[4] ^= A[3][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()
842 D[0] = ROL64(C[1], 1) ^ C[4]; in FourRounds()
843 D[1] = ROL64(C[2], 1) ^ C[0]; in FourRounds()
844 D[2] = ROL64(C[3], 1) ^ C[1]; in FourRounds()
845 D[3] = ROL64(C[4], 1) ^ C[2]; in FourRounds()
846 D[4] = ROL64(C[0], 1) ^ C[3]; in FourRounds()
854 C[0] = A[0][0] = B[0] ^ (~B[1] & B[2]) ^ iotas[i + 2]; in FourRounds()
855 C[1] = A[2][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
856 C[2] = A[4][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
857 C[3] = A[1][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
858 C[4] = A[3][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()
866 C[0] ^= A[3][0] = B[0] ^ (~B[1] & B[2]); in FourRounds()
867 C[1] ^= A[0][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
868 C[2] ^= A[2][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
869 C[3] ^= A[4][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
870 C[4] ^= A[1][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()
878 C[0] ^= A[1][0] = B[0] ^ (~B[1] & B[2]); in FourRounds()
879 C[1] ^= A[3][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
880 C[2] ^= A[0][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
881 C[3] ^= A[2][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
882 C[4] ^= A[4][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()
890 C[0] ^= A[4][0] = B[0] ^ (~B[1] & B[2]); in FourRounds()
891 C[1] ^= A[1][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
892 C[2] ^= A[3][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
893 C[3] ^= A[0][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
894 C[4] ^= A[2][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()
902 C[0] ^= A[2][0] = B[0] ^ (~B[1] & B[2]); in FourRounds()
903 C[1] ^= A[4][1] = B[1] ^ (~B[2] & B[3]); in FourRounds()
904 C[2] ^= A[1][2] = B[2] ^ (~B[3] & B[4]); in FourRounds()
905 C[3] ^= A[3][3] = B[3] ^ (~B[4] & B[0]); in FourRounds()
906 C[4] ^= A[0][4] = B[4] ^ (~B[0] & B[1]); in FourRounds()
909 D[0] = ROL64(C[1], 1) ^ C[4]; in FourRounds()
910 D[1] = ROL64(C[2], 1) ^ C[0]; in FourRounds()
911 D[2] = ROL64(C[3], 1) ^ C[1]; in FourRounds()
912 D[3] = ROL64(C[4], 1) ^ C[2]; in FourRounds()
913 D[4] = ROL64(C[0], 1) ^ C[3]; in FourRounds()