Lines Matching refs:klr
159 #define CAMELLIA_FLS(ll, lr, rl, rr, kll, klr, krl, krr, t0, t1, t2, t3) \
165 t1 = klr; \
481 u32 kll, klr, krl, krr;
488 * k == kll || klr || krl || krr (|| is concatination)
491 klr = GETU32(key + 4);
498 subl(0) = kll; subr(0) = klr;
502 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 15);
504 subl(4) = kll; subr(4) = klr;
508 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 30);
510 subl(10) = kll; subr(10) = klr;
514 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 15);
518 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 17);
520 subl(16) = kll; subr(16) = klr;
524 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 17);
526 subl(18) = kll; subr(18) = klr;
530 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 17);
532 subl(22) = kll; subr(22) = klr;
537 kll = subl(0); klr = subr(0);
539 CAMELLIA_F(kll, klr,
545 kll, klr, il, ir, t0, t1);
546 /* current status == (kll, klr, w0, w1) */
547 CAMELLIA_F(kll, klr,
554 kll ^= w0; klr ^= w1;
558 subl(2) = kll; subr(2) = klr;
560 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 15);
562 subl(6) = kll; subr(6) = klr;
564 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 15);
566 subl(8) = kll; subr(8) = klr;
568 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 15);
570 subl(12) = kll; subr(12) = klr;
571 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 15);
573 subl(14) = kll; subr(14) = klr;
575 CAMELLIA_ROLDQo32(kll, klr, krl, krr, w0, w1, 34);
577 subl(20) = kll; subr(20) = klr;
579 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 17);
581 subl(24) = kll; subr(24) = klr;
784 u32 kll,klr,krl,krr; /* left half of key */
792 * key = (kll || klr || krl || krr || krll || krlr || krrl || krrr)
797 klr = GETU32(key + 4);
807 subl(0) = kll; subr(0) = klr;
810 CAMELLIA_ROLDQo32(kll, klr, krl, krr, w0, w1, 45);
812 subl(12) = kll; subr(12) = klr;
815 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 15);
817 subl(16) = kll; subr(16) = klr;
820 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 17);
822 subl(22) = kll; subr(22) = klr;
825 CAMELLIA_ROLDQo32(kll, klr, krl, krr, w0, w1, 34);
827 subl(30) = kll; subr(30) = klr;
855 kll = subl(0) ^ krll; klr = subr(0) ^ krlr;
857 CAMELLIA_F(kll, klr,
863 kll, klr, il, ir, t0, t1);
864 kll ^= krll; klr ^= krlr;
865 CAMELLIA_F(kll, klr,
872 kll ^= w0; klr ^= w1;
875 krll ^= kll; krlr ^= klr;
887 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 15);
889 subl(6) = kll; subr(6) = klr;
892 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 30);
894 subl(14) = kll; subr(14) = klr;
899 subl(24) = klr; subr(24) = krl;
903 CAMELLIA_ROLDQo32(kll, klr, krl, krr, w0, w1, 49);
905 subl(28) = kll; subr(28) = klr;