Lines Matching defs:klr
582 u32 kll, klr, krl, krr;
588 * k == kll || klr || krl || krr (|| is concatenation)
591 klr = get_unaligned_be32(key + 4);
597 subL[0] = kll; subR[0] = klr;
601 ROLDQ(kll, klr, krl, krr, w0, w1, 15);
603 subL[4] = kll; subR[4] = klr;
607 ROLDQ(kll, klr, krl, krr, w0, w1, 30);
609 subL[10] = kll; subR[10] = klr;
613 ROLDQ(kll, klr, krl, krr, w0, w1, 15);
617 ROLDQ(kll, klr, krl, krr, w0, w1, 17);
619 subL[16] = kll; subR[16] = klr;
623 ROLDQ(kll, klr, krl, krr, w0, w1, 17);
625 subL[18] = kll; subR[18] = klr;
629 ROLDQ(kll, klr, krl, krr, w0, w1, 17);
631 subL[22] = kll; subR[22] = klr;
636 kll = subL[0]; klr = subR[0];
638 CAMELLIA_F(kll, klr,
644 kll, klr, il, ir, t0, t1);
645 /* current status == (kll, klr, w0, w1) */
646 CAMELLIA_F(kll, klr,
653 kll ^= w0; klr ^= w1;
657 subL[2] = kll; subR[2] = klr;
659 ROLDQ(kll, klr, krl, krr, w0, w1, 15);
661 subL[6] = kll; subR[6] = klr;
663 ROLDQ(kll, klr, krl, krr, w0, w1, 15);
665 subL[8] = kll; subR[8] = klr;
667 ROLDQ(kll, klr, krl, krr, w0, w1, 15);
669 subL[12] = kll; subR[12] = klr;
670 ROLDQ(kll, klr, krl, krr, w0, w1, 15);
672 subL[14] = kll; subR[14] = klr;
674 ROLDQo32(kll, klr, krl, krr, w0, w1, 34);
676 subL[20] = kll; subR[20] = klr;
678 ROLDQ(kll, klr, krl, krr, w0, w1, 17);
680 subL[24] = kll; subR[24] = klr;
688 u32 kll, klr, krl, krr; /* left half of key */
695 * key = (kll || klr || krl || krr || krll || krlr || krrl || krrr)
699 klr = get_unaligned_be32(key + 4);
709 subL[0] = kll; subR[0] = klr;
712 ROLDQo32(kll, klr, krl, krr, w0, w1, 45);
714 subL[12] = kll; subR[12] = klr;
717 ROLDQ(kll, klr, krl, krr, w0, w1, 15);
719 subL[16] = kll; subR[16] = klr;
722 ROLDQ(kll, klr, krl, krr, w0, w1, 17);
724 subL[22] = kll; subR[22] = klr;
727 ROLDQo32(kll, klr, krl, krr, w0, w1, 34);
729 subL[30] = kll; subR[30] = klr;
757 kll = subL[0] ^ krll; klr = subR[0] ^ krlr;
759 CAMELLIA_F(kll, klr,
765 kll, klr, il, ir, t0, t1);
766 kll ^= krll; klr ^= krlr;
767 CAMELLIA_F(kll, klr,
774 kll ^= w0; klr ^= w1;
777 krll ^= kll; krlr ^= klr;
789 ROLDQ(kll, klr, krl, krr, w0, w1, 15);
791 subL[6] = kll; subR[6] = klr;
794 ROLDQ(kll, klr, krl, krr, w0, w1, 30);
796 subL[14] = kll; subR[14] = klr;
801 subL[24] = klr; subR[24] = krl;
805 ROLDQo32(kll, klr, krl, krr, w0, w1, 49);
807 subL[28] = kll; subR[28] = klr;
854 #define CAMELLIA_FLS(ll, lr, rl, rr, kll, klr, krl, krr, t0, t1, t2, t3) \
863 t1 = klr; \