Lines Matching refs:CamelliaSubkeyR
99 #define CamelliaSubkeyR(INDEX) (subkey[(INDEX)*2 + 1])
645 CamelliaSubkeyR(0) = subr(0) ^ subr(2);
647 CamelliaSubkeyR(2) = subr(3);
649 CamelliaSubkeyR(3) = subr(2) ^ subr(4);
651 CamelliaSubkeyR(4) = subr(3) ^ subr(5);
653 CamelliaSubkeyR(5) = subr(4) ^ subr(6);
655 CamelliaSubkeyR(6) = subr(5) ^ subr(7);
660 CamelliaSubkeyR(7) = subr(6) ^ tr;
662 CamelliaSubkeyR(8) = subr(8);
664 CamelliaSubkeyR(9) = subr(9);
669 CamelliaSubkeyR(10) = tr ^ subr(11);
671 CamelliaSubkeyR(11) = subr(10) ^ subr(12);
673 CamelliaSubkeyR(12) = subr(11) ^ subr(13);
675 CamelliaSubkeyR(13) = subr(12) ^ subr(14);
677 CamelliaSubkeyR(14) = subr(13) ^ subr(15);
682 CamelliaSubkeyR(15) = subr(14) ^ tr;
684 CamelliaSubkeyR(16) = subr(16);
686 CamelliaSubkeyR(17) = subr(17);
691 CamelliaSubkeyR(18) = tr ^ subr(19);
693 CamelliaSubkeyR(19) = subr(18) ^ subr(20);
695 CamelliaSubkeyR(20) = subr(19) ^ subr(21);
697 CamelliaSubkeyR(21) = subr(20) ^ subr(22);
699 CamelliaSubkeyR(22) = subr(21) ^ subr(23);
701 CamelliaSubkeyR(23) = subr(22);
703 CamelliaSubkeyR(24) = subr(24) ^ subr(23);
706 dw = CamelliaSubkeyL(2) ^ CamelliaSubkeyR(2),
708 CamelliaSubkeyR(2) = CamelliaSubkeyL(2) ^ dw,
710 dw = CamelliaSubkeyL(3) ^ CamelliaSubkeyR(3),
712 CamelliaSubkeyR(3) = CamelliaSubkeyL(3) ^ dw,
714 dw = CamelliaSubkeyL(4) ^ CamelliaSubkeyR(4),
716 CamelliaSubkeyR(4) = CamelliaSubkeyL(4) ^ dw,
718 dw = CamelliaSubkeyL(5) ^ CamelliaSubkeyR(5),
720 CamelliaSubkeyR(5) = CamelliaSubkeyL(5) ^ dw,
722 dw = CamelliaSubkeyL(6) ^ CamelliaSubkeyR(6),
724 CamelliaSubkeyR(6) = CamelliaSubkeyL(6) ^ dw,
726 dw = CamelliaSubkeyL(7) ^ CamelliaSubkeyR(7),
728 CamelliaSubkeyR(7) = CamelliaSubkeyL(7) ^ dw,
730 dw = CamelliaSubkeyL(10) ^ CamelliaSubkeyR(10),
732 CamelliaSubkeyR(10) = CamelliaSubkeyL(10) ^ dw,
734 dw = CamelliaSubkeyL(11) ^ CamelliaSubkeyR(11),
736 CamelliaSubkeyR(11) = CamelliaSubkeyL(11) ^ dw,
738 dw = CamelliaSubkeyL(12) ^ CamelliaSubkeyR(12),
740 CamelliaSubkeyR(12) = CamelliaSubkeyL(12) ^ dw,
742 dw = CamelliaSubkeyL(13) ^ CamelliaSubkeyR(13),
744 CamelliaSubkeyR(13) = CamelliaSubkeyL(13) ^ dw,
746 dw = CamelliaSubkeyL(14) ^ CamelliaSubkeyR(14),
748 CamelliaSubkeyR(14) = CamelliaSubkeyL(14) ^ dw,
750 dw = CamelliaSubkeyL(15) ^ CamelliaSubkeyR(15),
752 CamelliaSubkeyR(15) = CamelliaSubkeyL(15) ^ dw,
754 dw = CamelliaSubkeyL(18) ^ CamelliaSubkeyR(18),
756 CamelliaSubkeyR(18) = CamelliaSubkeyL(18) ^ dw,
758 dw = CamelliaSubkeyL(19) ^ CamelliaSubkeyR(19),
760 CamelliaSubkeyR(19) = CamelliaSubkeyL(19) ^ dw,
762 dw = CamelliaSubkeyL(20) ^ CamelliaSubkeyR(20),
764 CamelliaSubkeyR(20) = CamelliaSubkeyL(20) ^ dw,
766 dw = CamelliaSubkeyL(21) ^ CamelliaSubkeyR(21),
768 CamelliaSubkeyR(21) = CamelliaSubkeyL(21) ^ dw,
770 dw = CamelliaSubkeyL(22) ^ CamelliaSubkeyR(22),
772 CamelliaSubkeyR(22) = CamelliaSubkeyL(22) ^ dw,
774 dw = CamelliaSubkeyL(23) ^ CamelliaSubkeyR(23),
776 CamelliaSubkeyR(23) = CamelliaSubkeyL(23) ^ dw,
1008 CamelliaSubkeyR(0) = subr(0) ^ subr(2);
1010 CamelliaSubkeyR(2) = subr(3);
1012 CamelliaSubkeyR(3) = subr(2) ^ subr(4);
1014 CamelliaSubkeyR(4) = subr(3) ^ subr(5);
1016 CamelliaSubkeyR(5) = subr(4) ^ subr(6);
1018 CamelliaSubkeyR(6) = subr(5) ^ subr(7);
1023 CamelliaSubkeyR(7) = subr(6) ^ tr;
1025 CamelliaSubkeyR(8) = subr(8);
1027 CamelliaSubkeyR(9) = subr(9);
1032 CamelliaSubkeyR(10) = tr ^ subr(11);
1034 CamelliaSubkeyR(11) = subr(10) ^ subr(12);
1036 CamelliaSubkeyR(12) = subr(11) ^ subr(13);
1038 CamelliaSubkeyR(13) = subr(12) ^ subr(14);
1040 CamelliaSubkeyR(14) = subr(13) ^ subr(15);
1045 CamelliaSubkeyR(15) = subr(14) ^ tr;
1047 CamelliaSubkeyR(16) = subr(16);
1049 CamelliaSubkeyR(17) = subr(17);
1054 CamelliaSubkeyR(18) = tr ^ subr(19);
1056 CamelliaSubkeyR(19) = subr(18) ^ subr(20);
1058 CamelliaSubkeyR(20) = subr(19) ^ subr(21);
1060 CamelliaSubkeyR(21) = subr(20) ^ subr(22);
1062 CamelliaSubkeyR(22) = subr(21) ^ subr(23);
1068 CamelliaSubkeyR(23) = subr(22) ^ tr;
1070 CamelliaSubkeyR(24) = subr(24);
1072 CamelliaSubkeyR(25) = subr(25);
1078 CamelliaSubkeyR(26) = tr ^ subr(27);
1080 CamelliaSubkeyR(27) = subr(26) ^ subr(28);
1082 CamelliaSubkeyR(28) = subr(27) ^ subr(29);
1084 CamelliaSubkeyR(29) = subr(28) ^ subr(30);
1086 CamelliaSubkeyR(30) = subr(29) ^ subr(31);
1088 CamelliaSubkeyR(31) = subr(30);
1090 CamelliaSubkeyR(32) = subr(32) ^ subr(31);
1093 dw = CamelliaSubkeyL(2) ^ CamelliaSubkeyR(2),
1095 CamelliaSubkeyR(2) = CamelliaSubkeyL(2) ^ dw,
1097 dw = CamelliaSubkeyL(3) ^ CamelliaSubkeyR(3),
1099 CamelliaSubkeyR(3) = CamelliaSubkeyL(3) ^ dw,
1101 dw = CamelliaSubkeyL(4) ^ CamelliaSubkeyR(4),
1103 CamelliaSubkeyR(4) = CamelliaSubkeyL(4) ^ dw,
1105 dw = CamelliaSubkeyL(5) ^ CamelliaSubkeyR(5),
1107 CamelliaSubkeyR(5) = CamelliaSubkeyL(5) ^ dw,
1109 dw = CamelliaSubkeyL(6) ^ CamelliaSubkeyR(6),
1111 CamelliaSubkeyR(6) = CamelliaSubkeyL(6) ^ dw,
1113 dw = CamelliaSubkeyL(7) ^ CamelliaSubkeyR(7),
1115 CamelliaSubkeyR(7) = CamelliaSubkeyL(7) ^ dw,
1117 dw = CamelliaSubkeyL(10) ^ CamelliaSubkeyR(10),
1119 CamelliaSubkeyR(10) = CamelliaSubkeyL(10) ^ dw,
1121 dw = CamelliaSubkeyL(11) ^ CamelliaSubkeyR(11),
1123 CamelliaSubkeyR(11) = CamelliaSubkeyL(11) ^ dw,
1125 dw = CamelliaSubkeyL(12) ^ CamelliaSubkeyR(12),
1127 CamelliaSubkeyR(12) = CamelliaSubkeyL(12) ^ dw,
1129 dw = CamelliaSubkeyL(13) ^ CamelliaSubkeyR(13),
1131 CamelliaSubkeyR(13) = CamelliaSubkeyL(13) ^ dw,
1133 dw = CamelliaSubkeyL(14) ^ CamelliaSubkeyR(14),
1135 CamelliaSubkeyR(14) = CamelliaSubkeyL(14) ^ dw,
1137 dw = CamelliaSubkeyL(15) ^ CamelliaSubkeyR(15),
1139 CamelliaSubkeyR(15) = CamelliaSubkeyL(15) ^ dw,
1141 dw = CamelliaSubkeyL(18) ^ CamelliaSubkeyR(18),
1143 CamelliaSubkeyR(18) = CamelliaSubkeyL(18) ^ dw,
1145 dw = CamelliaSubkeyL(19) ^ CamelliaSubkeyR(19),
1147 CamelliaSubkeyR(19) = CamelliaSubkeyL(19) ^ dw,
1149 dw = CamelliaSubkeyL(20) ^ CamelliaSubkeyR(20),
1151 CamelliaSubkeyR(20) = CamelliaSubkeyL(20) ^ dw,
1153 dw = CamelliaSubkeyL(21) ^ CamelliaSubkeyR(21),
1155 CamelliaSubkeyR(21) = CamelliaSubkeyL(21) ^ dw,
1157 dw = CamelliaSubkeyL(22) ^ CamelliaSubkeyR(22),
1159 CamelliaSubkeyR(22) = CamelliaSubkeyL(22) ^ dw,
1161 dw = CamelliaSubkeyL(23) ^ CamelliaSubkeyR(23),
1163 CamelliaSubkeyR(23) = CamelliaSubkeyL(23) ^ dw,
1165 dw = CamelliaSubkeyL(26) ^ CamelliaSubkeyR(26),
1167 CamelliaSubkeyR(26) = CamelliaSubkeyL(26) ^ dw,
1169 dw = CamelliaSubkeyL(27) ^ CamelliaSubkeyR(27),
1171 CamelliaSubkeyR(27) = CamelliaSubkeyL(27) ^ dw,
1173 dw = CamelliaSubkeyL(28) ^ CamelliaSubkeyR(28),
1175 CamelliaSubkeyR(28) = CamelliaSubkeyL(28) ^ dw,
1177 dw = CamelliaSubkeyL(29) ^ CamelliaSubkeyR(29),
1179 CamelliaSubkeyR(29) = CamelliaSubkeyL(29) ^ dw,
1181 dw = CamelliaSubkeyL(30) ^ CamelliaSubkeyR(30),
1183 CamelliaSubkeyR(30) = CamelliaSubkeyL(30) ^ dw,
1185 dw = CamelliaSubkeyL(31) ^ CamelliaSubkeyR(31),
1187 CamelliaSubkeyR(31) = CamelliaSubkeyL(31) ^ dw,
1220 io[1] ^= CamelliaSubkeyR(0);
1224 CamelliaSubkeyL(2),CamelliaSubkeyR(2),
1227 CamelliaSubkeyL(3),CamelliaSubkeyR(3),
1230 CamelliaSubkeyL(4),CamelliaSubkeyR(4),
1233 CamelliaSubkeyL(5),CamelliaSubkeyR(5),
1236 CamelliaSubkeyL(6),CamelliaSubkeyR(6),
1239 CamelliaSubkeyL(7),CamelliaSubkeyR(7),
1243 CamelliaSubkeyL(8),CamelliaSubkeyR(8),
1244 CamelliaSubkeyL(9),CamelliaSubkeyR(9),
1248 CamelliaSubkeyL(10),CamelliaSubkeyR(10),
1251 CamelliaSubkeyL(11),CamelliaSubkeyR(11),
1254 CamelliaSubkeyL(12),CamelliaSubkeyR(12),
1257 CamelliaSubkeyL(13),CamelliaSubkeyR(13),
1260 CamelliaSubkeyL(14),CamelliaSubkeyR(14),
1263 CamelliaSubkeyL(15),CamelliaSubkeyR(15),
1267 CamelliaSubkeyL(16),CamelliaSubkeyR(16),
1268 CamelliaSubkeyL(17),CamelliaSubkeyR(17),
1272 CamelliaSubkeyL(18),CamelliaSubkeyR(18),
1275 CamelliaSubkeyL(19),CamelliaSubkeyR(19),
1278 CamelliaSubkeyL(20),CamelliaSubkeyR(20),
1281 CamelliaSubkeyL(21),CamelliaSubkeyR(21),
1284 CamelliaSubkeyL(22),CamelliaSubkeyR(22),
1287 CamelliaSubkeyL(23),CamelliaSubkeyR(23),
1292 io[3] ^= CamelliaSubkeyR(24);
1310 io[1] ^= CamelliaSubkeyR(24);
1314 CamelliaSubkeyL(23),CamelliaSubkeyR(23),
1317 CamelliaSubkeyL(22),CamelliaSubkeyR(22),
1320 CamelliaSubkeyL(21),CamelliaSubkeyR(21),
1323 CamelliaSubkeyL(20),CamelliaSubkeyR(20),
1326 CamelliaSubkeyL(19),CamelliaSubkeyR(19),
1329 CamelliaSubkeyL(18),CamelliaSubkeyR(18),
1333 CamelliaSubkeyL(17),CamelliaSubkeyR(17),
1334 CamelliaSubkeyL(16),CamelliaSubkeyR(16),
1338 CamelliaSubkeyL(15),CamelliaSubkeyR(15),
1341 CamelliaSubkeyL(14),CamelliaSubkeyR(14),
1344 CamelliaSubkeyL(13),CamelliaSubkeyR(13),
1347 CamelliaSubkeyL(12),CamelliaSubkeyR(12),
1350 CamelliaSubkeyL(11),CamelliaSubkeyR(11),
1353 CamelliaSubkeyL(10),CamelliaSubkeyR(10),
1357 CamelliaSubkeyL(9),CamelliaSubkeyR(9),
1358 CamelliaSubkeyL(8),CamelliaSubkeyR(8),
1362 CamelliaSubkeyL(7),CamelliaSubkeyR(7),
1365 CamelliaSubkeyL(6),CamelliaSubkeyR(6),
1368 CamelliaSubkeyL(5),CamelliaSubkeyR(5),
1371 CamelliaSubkeyL(4),CamelliaSubkeyR(4),
1374 CamelliaSubkeyL(3),CamelliaSubkeyR(3),
1377 CamelliaSubkeyL(2),CamelliaSubkeyR(2),
1382 io[3] ^= CamelliaSubkeyR(0);
1403 io[1] ^= CamelliaSubkeyR(0);
1407 CamelliaSubkeyL(2),CamelliaSubkeyR(2),
1410 CamelliaSubkeyL(3),CamelliaSubkeyR(3),
1413 CamelliaSubkeyL(4),CamelliaSubkeyR(4),
1416 CamelliaSubkeyL(5),CamelliaSubkeyR(5),
1419 CamelliaSubkeyL(6),CamelliaSubkeyR(6),
1422 CamelliaSubkeyL(7),CamelliaSubkeyR(7),
1426 CamelliaSubkeyL(8),CamelliaSubkeyR(8),
1427 CamelliaSubkeyL(9),CamelliaSubkeyR(9),
1431 CamelliaSubkeyL(10),CamelliaSubkeyR(10),
1434 CamelliaSubkeyL(11),CamelliaSubkeyR(11),
1437 CamelliaSubkeyL(12),CamelliaSubkeyR(12),
1440 CamelliaSubkeyL(13),CamelliaSubkeyR(13),
1443 CamelliaSubkeyL(14),CamelliaSubkeyR(14),
1446 CamelliaSubkeyL(15),CamelliaSubkeyR(15),
1450 CamelliaSubkeyL(16),CamelliaSubkeyR(16),
1451 CamelliaSubkeyL(17),CamelliaSubkeyR(17),
1455 CamelliaSubkeyL(18),CamelliaSubkeyR(18),
1458 CamelliaSubkeyL(19),CamelliaSubkeyR(19),
1461 CamelliaSubkeyL(20),CamelliaSubkeyR(20),
1464 CamelliaSubkeyL(21),CamelliaSubkeyR(21),
1467 CamelliaSubkeyL(22),CamelliaSubkeyR(22),
1470 CamelliaSubkeyL(23),CamelliaSubkeyR(23),
1474 CamelliaSubkeyL(24),CamelliaSubkeyR(24),
1475 CamelliaSubkeyL(25),CamelliaSubkeyR(25),
1479 CamelliaSubkeyL(26),CamelliaSubkeyR(26),
1482 CamelliaSubkeyL(27),CamelliaSubkeyR(27),
1485 CamelliaSubkeyL(28),CamelliaSubkeyR(28),
1488 CamelliaSubkeyL(29),CamelliaSubkeyR(29),
1491 CamelliaSubkeyL(30),CamelliaSubkeyR(30),
1494 CamelliaSubkeyL(31),CamelliaSubkeyR(31),
1499 io[3] ^= CamelliaSubkeyR(32);
1517 io[1] ^= CamelliaSubkeyR(32);
1521 CamelliaSubkeyL(31),CamelliaSubkeyR(31),
1524 CamelliaSubkeyL(30),CamelliaSubkeyR(30),
1527 CamelliaSubkeyL(29),CamelliaSubkeyR(29),
1530 CamelliaSubkeyL(28),CamelliaSubkeyR(28),
1533 CamelliaSubkeyL(27),CamelliaSubkeyR(27),
1536 CamelliaSubkeyL(26),CamelliaSubkeyR(26),
1540 CamelliaSubkeyL(25),CamelliaSubkeyR(25),
1541 CamelliaSubkeyL(24),CamelliaSubkeyR(24),
1545 CamelliaSubkeyL(23),CamelliaSubkeyR(23),
1548 CamelliaSubkeyL(22),CamelliaSubkeyR(22),
1551 CamelliaSubkeyL(21),CamelliaSubkeyR(21),
1554 CamelliaSubkeyL(20),CamelliaSubkeyR(20),
1557 CamelliaSubkeyL(19),CamelliaSubkeyR(19),
1560 CamelliaSubkeyL(18),CamelliaSubkeyR(18),
1564 CamelliaSubkeyL(17),CamelliaSubkeyR(17),
1565 CamelliaSubkeyL(16),CamelliaSubkeyR(16),
1569 CamelliaSubkeyL(15),CamelliaSubkeyR(15),
1572 CamelliaSubkeyL(14),CamelliaSubkeyR(14),
1575 CamelliaSubkeyL(13),CamelliaSubkeyR(13),
1578 CamelliaSubkeyL(12),CamelliaSubkeyR(12),
1581 CamelliaSubkeyL(11),CamelliaSubkeyR(11),
1584 CamelliaSubkeyL(10),CamelliaSubkeyR(10),
1588 CamelliaSubkeyL(9),CamelliaSubkeyR(9),
1589 CamelliaSubkeyL(8),CamelliaSubkeyR(8),
1593 CamelliaSubkeyL(7),CamelliaSubkeyR(7),
1596 CamelliaSubkeyL(6),CamelliaSubkeyR(6),
1599 CamelliaSubkeyL(5),CamelliaSubkeyR(5),
1602 CamelliaSubkeyL(4),CamelliaSubkeyR(4),
1605 CamelliaSubkeyL(3),CamelliaSubkeyR(3),
1608 CamelliaSubkeyL(2),CamelliaSubkeyR(2),
1613 io[3] ^= CamelliaSubkeyR(0);