Lines Matching defs:krr
135 #define CAMELLIA_FLS(ll, lr, rl, rr, kll, klr, krl, krr, t0, t1, t2, t3) \
144 t2 = krr; \
449 u32 kll, klr, krl, krr;
456 * k == kll || klr || krl || krr (|| is concatination)
461 krr = GETU32(key + 12);
466 subl(1) = krl; subr(1) = krr;
467 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 15);
469 subl(5) = krl; subr(5) = krr;
470 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 30);
472 subl(11) = krl; subr(11) = krr;
473 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 15);
474 subl(13) = krl; subr(13) = krr;
475 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 17);
477 subl(17) = krl; subr(17) = krr;
478 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 17);
480 subl(19) = krl; subr(19) = krr;
481 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 17);
483 subl(23) = krl; subr(23) = krr;
487 krl = subl(1); krr = subr(1);
491 krl ^= w0; krr ^= w1;
492 CAMELLIA_F(krl, krr,
497 krl, krr, il, ir, t0, t1);
498 krl ^= w0; krr ^= w1;
499 CAMELLIA_F(krl, krr,
506 subl(3) = krl; subr(3) = krr;
507 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 15);
509 subl(7) = krl; subr(7) = krr;
510 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 15);
512 subl(9) = krl; subr(9) = krr;
513 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 15);
515 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 15);
517 subl(15) = krl; subr(15) = krr;
518 CAMELLIA_ROLDQo32(kll, klr, krl, krr, w0, w1, 34);
520 subl(21) = krl; subr(21) = krr;
521 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 17);
523 subl(25) = krl; subr(25) = krr;
660 u32 kll,klr,krl,krr; /* left half of key */
668 * key = (kll || klr || krl || krr || krll || krlr || krrl || krrr)
675 krr = GETU32(key + 12);
683 subl(1) = krl; subr(1) = krr;
684 CAMELLIA_ROLDQo32(kll, klr, krl, krr, w0, w1, 45);
686 subl(13) = krl; subr(13) = krr;
687 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 15);
689 subl(17) = krl; subr(17) = krr;
690 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 17);
692 subl(23) = krl; subr(23) = krr;
693 CAMELLIA_ROLDQo32(kll, klr, krl, krr, w0, w1, 34);
695 subl(31) = krl; subr(31) = krr;
714 krl = subl(1) ^ krrl; krr = subr(1) ^ krrr;
718 krl ^= w0; krr ^= w1;
719 CAMELLIA_F(krl, krr,
725 krl, krr, il, ir, t0, t1);
726 krl ^= w0 ^ krrl; krr ^= w1 ^ krrr;
727 CAMELLIA_F(krl, krr,
734 krrl ^= krl; krrr ^= krr;
745 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 15);
747 subl(7) = krl; subr(7) = krr;
748 CAMELLIA_ROLDQ(kll, klr, krl, krr, w0, w1, 30);
750 subl(15) = krl; subr(15) = krr;
752 subl(25) = krr; subr(25) = kll;
753 CAMELLIA_ROLDQo32(kll, klr, krl, krr, w0, w1, 49);
755 subl(29) = krl; subr(29) = krr;