Lines Matching refs:CamelliaSubkeyL
77 #define CamelliaSubkeyL(INDEX) (subkey[(INDEX)*2])
560 CamelliaSubkeyL(0) = subl(0) ^ subl(2);
562 CamelliaSubkeyL(2) = subl(3);
564 CamelliaSubkeyL(3) = subl(2) ^ subl(4);
566 CamelliaSubkeyL(4) = subl(3) ^ subl(5);
568 CamelliaSubkeyL(5) = subl(4) ^ subl(6);
570 CamelliaSubkeyL(6) = subl(5) ^ subl(7);
574 CamelliaSubkeyL(7) = subl(6) ^ tl;
576 CamelliaSubkeyL(8) = subl(8);
578 CamelliaSubkeyL(9) = subl(9);
582 CamelliaSubkeyL(10) = tl ^ subl(11);
584 CamelliaSubkeyL(11) = subl(10) ^ subl(12);
586 CamelliaSubkeyL(12) = subl(11) ^ subl(13);
588 CamelliaSubkeyL(13) = subl(12) ^ subl(14);
590 CamelliaSubkeyL(14) = subl(13) ^ subl(15);
594 CamelliaSubkeyL(15) = subl(14) ^ tl;
596 CamelliaSubkeyL(16) = subl(16);
598 CamelliaSubkeyL(17) = subl(17);
602 CamelliaSubkeyL(18) = tl ^ subl(19);
604 CamelliaSubkeyL(19) = subl(18) ^ subl(20);
606 CamelliaSubkeyL(20) = subl(19) ^ subl(21);
608 CamelliaSubkeyL(21) = subl(20) ^ subl(22);
610 CamelliaSubkeyL(22) = subl(21) ^ subl(23);
612 CamelliaSubkeyL(23) = subl(22);
614 CamelliaSubkeyL(24) = subl(24) ^ subl(23);
618 dw = CamelliaSubkeyL(2) ^ CamelliaSubkeyR(2), dw = CAMELLIA_RL8(dw);
619 CamelliaSubkeyR(2) = CamelliaSubkeyL(2) ^ dw, CamelliaSubkeyL(2) = dw;
620 dw = CamelliaSubkeyL(3) ^ CamelliaSubkeyR(3), dw = CAMELLIA_RL8(dw);
621 CamelliaSubkeyR(3) = CamelliaSubkeyL(3) ^ dw, CamelliaSubkeyL(3) = dw;
622 dw = CamelliaSubkeyL(4) ^ CamelliaSubkeyR(4), dw = CAMELLIA_RL8(dw);
623 CamelliaSubkeyR(4) = CamelliaSubkeyL(4) ^ dw, CamelliaSubkeyL(4) = dw;
624 dw = CamelliaSubkeyL(5) ^ CamelliaSubkeyR(5), dw = CAMELLIA_RL8(dw);
625 CamelliaSubkeyR(5) = CamelliaSubkeyL(5) ^ dw, CamelliaSubkeyL(5) = dw;
626 dw = CamelliaSubkeyL(6) ^ CamelliaSubkeyR(6), dw = CAMELLIA_RL8(dw);
627 CamelliaSubkeyR(6) = CamelliaSubkeyL(6) ^ dw, CamelliaSubkeyL(6) = dw;
628 dw = CamelliaSubkeyL(7) ^ CamelliaSubkeyR(7), dw = CAMELLIA_RL8(dw);
629 CamelliaSubkeyR(7) = CamelliaSubkeyL(7) ^ dw, CamelliaSubkeyL(7) = dw;
630 dw = CamelliaSubkeyL(10) ^ CamelliaSubkeyR(10), dw = CAMELLIA_RL8(dw);
631 CamelliaSubkeyR(10) = CamelliaSubkeyL(10) ^ dw, CamelliaSubkeyL(10) = dw;
632 dw = CamelliaSubkeyL(11) ^ CamelliaSubkeyR(11), dw = CAMELLIA_RL8(dw);
633 CamelliaSubkeyR(11) = CamelliaSubkeyL(11) ^ dw, CamelliaSubkeyL(11) = dw;
634 dw = CamelliaSubkeyL(12) ^ CamelliaSubkeyR(12), dw = CAMELLIA_RL8(dw);
635 CamelliaSubkeyR(12) = CamelliaSubkeyL(12) ^ dw, CamelliaSubkeyL(12) = dw;
636 dw = CamelliaSubkeyL(13) ^ CamelliaSubkeyR(13), dw = CAMELLIA_RL8(dw);
637 CamelliaSubkeyR(13) = CamelliaSubkeyL(13) ^ dw, CamelliaSubkeyL(13) = dw;
638 dw = CamelliaSubkeyL(14) ^ CamelliaSubkeyR(14), dw = CAMELLIA_RL8(dw);
639 CamelliaSubkeyR(14) = CamelliaSubkeyL(14) ^ dw, CamelliaSubkeyL(14) = dw;
640 dw = CamelliaSubkeyL(15) ^ CamelliaSubkeyR(15), dw = CAMELLIA_RL8(dw);
641 CamelliaSubkeyR(15) = CamelliaSubkeyL(15) ^ dw, CamelliaSubkeyL(15) = dw;
642 dw = CamelliaSubkeyL(18) ^ CamelliaSubkeyR(18), dw = CAMELLIA_RL8(dw);
643 CamelliaSubkeyR(18) = CamelliaSubkeyL(18) ^ dw, CamelliaSubkeyL(18) = dw;
644 dw = CamelliaSubkeyL(19) ^ CamelliaSubkeyR(19), dw = CAMELLIA_RL8(dw);
645 CamelliaSubkeyR(19) = CamelliaSubkeyL(19) ^ dw, CamelliaSubkeyL(19) = dw;
646 dw = CamelliaSubkeyL(20) ^ CamelliaSubkeyR(20), dw = CAMELLIA_RL8(dw);
647 CamelliaSubkeyR(20) = CamelliaSubkeyL(20) ^ dw, CamelliaSubkeyL(20) = dw;
648 dw = CamelliaSubkeyL(21) ^ CamelliaSubkeyR(21), dw = CAMELLIA_RL8(dw);
649 CamelliaSubkeyR(21) = CamelliaSubkeyL(21) ^ dw, CamelliaSubkeyL(21) = dw;
650 dw = CamelliaSubkeyL(22) ^ CamelliaSubkeyR(22), dw = CAMELLIA_RL8(dw);
651 CamelliaSubkeyR(22) = CamelliaSubkeyL(22) ^ dw, CamelliaSubkeyL(22) = dw;
652 dw = CamelliaSubkeyL(23) ^ CamelliaSubkeyR(23), dw = CAMELLIA_RL8(dw);
653 CamelliaSubkeyR(23) = CamelliaSubkeyL(23) ^ dw, CamelliaSubkeyL(23) = dw;
814 CamelliaSubkeyL(0) = subl(0) ^ subl(2);
816 CamelliaSubkeyL(2) = subl(3);
818 CamelliaSubkeyL(3) = subl(2) ^ subl(4);
820 CamelliaSubkeyL(4) = subl(3) ^ subl(5);
822 CamelliaSubkeyL(5) = subl(4) ^ subl(6);
824 CamelliaSubkeyL(6) = subl(5) ^ subl(7);
828 CamelliaSubkeyL(7) = subl(6) ^ tl;
830 CamelliaSubkeyL(8) = subl(8);
832 CamelliaSubkeyL(9) = subl(9);
836 CamelliaSubkeyL(10) = tl ^ subl(11);
838 CamelliaSubkeyL(11) = subl(10) ^ subl(12);
840 CamelliaSubkeyL(12) = subl(11) ^ subl(13);
842 CamelliaSubkeyL(13) = subl(12) ^ subl(14);
844 CamelliaSubkeyL(14) = subl(13) ^ subl(15);
848 CamelliaSubkeyL(15) = subl(14) ^ tl;
850 CamelliaSubkeyL(16) = subl(16);
852 CamelliaSubkeyL(17) = subl(17);
856 CamelliaSubkeyL(18) = tl ^ subl(19);
858 CamelliaSubkeyL(19) = subl(18) ^ subl(20);
860 CamelliaSubkeyL(20) = subl(19) ^ subl(21);
862 CamelliaSubkeyL(21) = subl(20) ^ subl(22);
864 CamelliaSubkeyL(22) = subl(21) ^ subl(23);
868 CamelliaSubkeyL(23) = subl(22) ^ tl;
870 CamelliaSubkeyL(24) = subl(24);
872 CamelliaSubkeyL(25) = subl(25);
876 CamelliaSubkeyL(26) = tl ^ subl(27);
878 CamelliaSubkeyL(27) = subl(26) ^ subl(28);
880 CamelliaSubkeyL(28) = subl(27) ^ subl(29);
882 CamelliaSubkeyL(29) = subl(28) ^ subl(30);
884 CamelliaSubkeyL(30) = subl(29) ^ subl(31);
886 CamelliaSubkeyL(31) = subl(30);
888 CamelliaSubkeyL(32) = subl(32) ^ subl(31);
892 dw = CamelliaSubkeyL(2) ^ CamelliaSubkeyR(2), dw = CAMELLIA_RL8(dw);
893 CamelliaSubkeyR(2) = CamelliaSubkeyL(2) ^ dw, CamelliaSubkeyL(2) = dw;
894 dw = CamelliaSubkeyL(3) ^ CamelliaSubkeyR(3), dw = CAMELLIA_RL8(dw);
895 CamelliaSubkeyR(3) = CamelliaSubkeyL(3) ^ dw, CamelliaSubkeyL(3) = dw;
896 dw = CamelliaSubkeyL(4) ^ CamelliaSubkeyR(4), dw = CAMELLIA_RL8(dw);
897 CamelliaSubkeyR(4) = CamelliaSubkeyL(4) ^ dw, CamelliaSubkeyL(4) = dw;
898 dw = CamelliaSubkeyL(5) ^ CamelliaSubkeyR(5), dw = CAMELLIA_RL8(dw);
899 CamelliaSubkeyR(5) = CamelliaSubkeyL(5) ^ dw, CamelliaSubkeyL(5) = dw;
900 dw = CamelliaSubkeyL(6) ^ CamelliaSubkeyR(6), dw = CAMELLIA_RL8(dw);
901 CamelliaSubkeyR(6) = CamelliaSubkeyL(6) ^ dw, CamelliaSubkeyL(6) = dw;
902 dw = CamelliaSubkeyL(7) ^ CamelliaSubkeyR(7), dw = CAMELLIA_RL8(dw);
903 CamelliaSubkeyR(7) = CamelliaSubkeyL(7) ^ dw, CamelliaSubkeyL(7) = dw;
904 dw = CamelliaSubkeyL(10) ^ CamelliaSubkeyR(10), dw = CAMELLIA_RL8(dw);
905 CamelliaSubkeyR(10) = CamelliaSubkeyL(10) ^ dw, CamelliaSubkeyL(10) = dw;
906 dw = CamelliaSubkeyL(11) ^ CamelliaSubkeyR(11), dw = CAMELLIA_RL8(dw);
907 CamelliaSubkeyR(11) = CamelliaSubkeyL(11) ^ dw, CamelliaSubkeyL(11) = dw;
908 dw = CamelliaSubkeyL(12) ^ CamelliaSubkeyR(12), dw = CAMELLIA_RL8(dw);
909 CamelliaSubkeyR(12) = CamelliaSubkeyL(12) ^ dw, CamelliaSubkeyL(12) = dw;
910 dw = CamelliaSubkeyL(13) ^ CamelliaSubkeyR(13), dw = CAMELLIA_RL8(dw);
911 CamelliaSubkeyR(13) = CamelliaSubkeyL(13) ^ dw, CamelliaSubkeyL(13) = dw;
912 dw = CamelliaSubkeyL(14) ^ CamelliaSubkeyR(14), dw = CAMELLIA_RL8(dw);
913 CamelliaSubkeyR(14) = CamelliaSubkeyL(14) ^ dw, CamelliaSubkeyL(14) = dw;
914 dw = CamelliaSubkeyL(15) ^ CamelliaSubkeyR(15), dw = CAMELLIA_RL8(dw);
915 CamelliaSubkeyR(15) = CamelliaSubkeyL(15) ^ dw, CamelliaSubkeyL(15) = dw;
916 dw = CamelliaSubkeyL(18) ^ CamelliaSubkeyR(18), dw = CAMELLIA_RL8(dw);
917 CamelliaSubkeyR(18) = CamelliaSubkeyL(18) ^ dw, CamelliaSubkeyL(18) = dw;
918 dw = CamelliaSubkeyL(19) ^ CamelliaSubkeyR(19), dw = CAMELLIA_RL8(dw);
919 CamelliaSubkeyR(19) = CamelliaSubkeyL(19) ^ dw, CamelliaSubkeyL(19) = dw;
920 dw = CamelliaSubkeyL(20) ^ CamelliaSubkeyR(20), dw = CAMELLIA_RL8(dw);
921 CamelliaSubkeyR(20) = CamelliaSubkeyL(20) ^ dw, CamelliaSubkeyL(20) = dw;
922 dw = CamelliaSubkeyL(21) ^ CamelliaSubkeyR(21), dw = CAMELLIA_RL8(dw);
923 CamelliaSubkeyR(21) = CamelliaSubkeyL(21) ^ dw, CamelliaSubkeyL(21) = dw;
924 dw = CamelliaSubkeyL(22) ^ CamelliaSubkeyR(22), dw = CAMELLIA_RL8(dw);
925 CamelliaSubkeyR(22) = CamelliaSubkeyL(22) ^ dw, CamelliaSubkeyL(22) = dw;
926 dw = CamelliaSubkeyL(23) ^ CamelliaSubkeyR(23), dw = CAMELLIA_RL8(dw);
927 CamelliaSubkeyR(23) = CamelliaSubkeyL(23) ^ dw, CamelliaSubkeyL(23) = dw;
928 dw = CamelliaSubkeyL(26) ^ CamelliaSubkeyR(26), dw = CAMELLIA_RL8(dw);
929 CamelliaSubkeyR(26) = CamelliaSubkeyL(26) ^ dw, CamelliaSubkeyL(26) = dw;
930 dw = CamelliaSubkeyL(27) ^ CamelliaSubkeyR(27), dw = CAMELLIA_RL8(dw);
931 CamelliaSubkeyR(27) = CamelliaSubkeyL(27) ^ dw, CamelliaSubkeyL(27) = dw;
932 dw = CamelliaSubkeyL(28) ^ CamelliaSubkeyR(28), dw = CAMELLIA_RL8(dw);
933 CamelliaSubkeyR(28) = CamelliaSubkeyL(28) ^ dw, CamelliaSubkeyL(28) = dw;
934 dw = CamelliaSubkeyL(29) ^ CamelliaSubkeyR(29), dw = CAMELLIA_RL8(dw);
935 CamelliaSubkeyR(29) = CamelliaSubkeyL(29) ^ dw, CamelliaSubkeyL(29) = dw;
936 dw = CamelliaSubkeyL(30) ^ CamelliaSubkeyR(30), dw = CAMELLIA_RL8(dw);
937 CamelliaSubkeyR(30) = CamelliaSubkeyL(30) ^ dw, CamelliaSubkeyL(30) = dw;
938 dw = CamelliaSubkeyL(31) ^ CamelliaSubkeyR(31), dw = CAMELLIA_RL8(dw);
939 CamelliaSubkeyR(31) = CamelliaSubkeyL(31) ^ dw,CamelliaSubkeyL(31) = dw;
971 io[0] ^= CamelliaSubkeyL(0);
976 CamelliaSubkeyL(2),CamelliaSubkeyR(2),
979 CamelliaSubkeyL(3),CamelliaSubkeyR(3),
982 CamelliaSubkeyL(4),CamelliaSubkeyR(4),
985 CamelliaSubkeyL(5),CamelliaSubkeyR(5),
988 CamelliaSubkeyL(6),CamelliaSubkeyR(6),
991 CamelliaSubkeyL(7),CamelliaSubkeyR(7),
995 CamelliaSubkeyL(8),CamelliaSubkeyR(8),
996 CamelliaSubkeyL(9),CamelliaSubkeyR(9),
1000 CamelliaSubkeyL(10),CamelliaSubkeyR(10),
1003 CamelliaSubkeyL(11),CamelliaSubkeyR(11),
1006 CamelliaSubkeyL(12),CamelliaSubkeyR(12),
1009 CamelliaSubkeyL(13),CamelliaSubkeyR(13),
1012 CamelliaSubkeyL(14),CamelliaSubkeyR(14),
1015 CamelliaSubkeyL(15),CamelliaSubkeyR(15),
1019 CamelliaSubkeyL(16),CamelliaSubkeyR(16),
1020 CamelliaSubkeyL(17),CamelliaSubkeyR(17),
1024 CamelliaSubkeyL(18),CamelliaSubkeyR(18),
1027 CamelliaSubkeyL(19),CamelliaSubkeyR(19),
1030 CamelliaSubkeyL(20),CamelliaSubkeyR(20),
1033 CamelliaSubkeyL(21),CamelliaSubkeyR(21),
1036 CamelliaSubkeyL(22),CamelliaSubkeyR(22),
1039 CamelliaSubkeyL(23),CamelliaSubkeyR(23),
1043 io[2] ^= CamelliaSubkeyL(24);
1061 io[0] ^= CamelliaSubkeyL(24);
1066 CamelliaSubkeyL(23),CamelliaSubkeyR(23),
1069 CamelliaSubkeyL(22),CamelliaSubkeyR(22),
1072 CamelliaSubkeyL(21),CamelliaSubkeyR(21),
1075 CamelliaSubkeyL(20),CamelliaSubkeyR(20),
1078 CamelliaSubkeyL(19),CamelliaSubkeyR(19),
1081 CamelliaSubkeyL(18),CamelliaSubkeyR(18),
1085 CamelliaSubkeyL(17),CamelliaSubkeyR(17),
1086 CamelliaSubkeyL(16),CamelliaSubkeyR(16),
1090 CamelliaSubkeyL(15),CamelliaSubkeyR(15),
1093 CamelliaSubkeyL(14),CamelliaSubkeyR(14),
1096 CamelliaSubkeyL(13),CamelliaSubkeyR(13),
1099 CamelliaSubkeyL(12),CamelliaSubkeyR(12),
1102 CamelliaSubkeyL(11),CamelliaSubkeyR(11),
1105 CamelliaSubkeyL(10),CamelliaSubkeyR(10),
1109 CamelliaSubkeyL(9),CamelliaSubkeyR(9),
1110 CamelliaSubkeyL(8),CamelliaSubkeyR(8),
1114 CamelliaSubkeyL(7),CamelliaSubkeyR(7),
1117 CamelliaSubkeyL(6),CamelliaSubkeyR(6),
1120 CamelliaSubkeyL(5),CamelliaSubkeyR(5),
1123 CamelliaSubkeyL(4),CamelliaSubkeyR(4),
1126 CamelliaSubkeyL(3),CamelliaSubkeyR(3),
1129 CamelliaSubkeyL(2),CamelliaSubkeyR(2),
1133 io[2] ^= CamelliaSubkeyL(0);
1154 io[0] ^= CamelliaSubkeyL(0);
1159 CamelliaSubkeyL(2),CamelliaSubkeyR(2),
1162 CamelliaSubkeyL(3),CamelliaSubkeyR(3),
1165 CamelliaSubkeyL(4),CamelliaSubkeyR(4),
1168 CamelliaSubkeyL(5),CamelliaSubkeyR(5),
1171 CamelliaSubkeyL(6),CamelliaSubkeyR(6),
1174 CamelliaSubkeyL(7),CamelliaSubkeyR(7),
1178 CamelliaSubkeyL(8),CamelliaSubkeyR(8),
1179 CamelliaSubkeyL(9),CamelliaSubkeyR(9),
1183 CamelliaSubkeyL(10),CamelliaSubkeyR(10),
1186 CamelliaSubkeyL(11),CamelliaSubkeyR(11),
1189 CamelliaSubkeyL(12),CamelliaSubkeyR(12),
1192 CamelliaSubkeyL(13),CamelliaSubkeyR(13),
1195 CamelliaSubkeyL(14),CamelliaSubkeyR(14),
1198 CamelliaSubkeyL(15),CamelliaSubkeyR(15),
1202 CamelliaSubkeyL(16),CamelliaSubkeyR(16),
1203 CamelliaSubkeyL(17),CamelliaSubkeyR(17),
1207 CamelliaSubkeyL(18),CamelliaSubkeyR(18),
1210 CamelliaSubkeyL(19),CamelliaSubkeyR(19),
1213 CamelliaSubkeyL(20),CamelliaSubkeyR(20),
1216 CamelliaSubkeyL(21),CamelliaSubkeyR(21),
1219 CamelliaSubkeyL(22),CamelliaSubkeyR(22),
1222 CamelliaSubkeyL(23),CamelliaSubkeyR(23),
1226 CamelliaSubkeyL(24),CamelliaSubkeyR(24),
1227 CamelliaSubkeyL(25),CamelliaSubkeyR(25),
1231 CamelliaSubkeyL(26),CamelliaSubkeyR(26),
1234 CamelliaSubkeyL(27),CamelliaSubkeyR(27),
1237 CamelliaSubkeyL(28),CamelliaSubkeyR(28),
1240 CamelliaSubkeyL(29),CamelliaSubkeyR(29),
1243 CamelliaSubkeyL(30),CamelliaSubkeyR(30),
1246 CamelliaSubkeyL(31),CamelliaSubkeyR(31),
1250 io[2] ^= CamelliaSubkeyL(32);
1268 io[0] ^= CamelliaSubkeyL(32);
1273 CamelliaSubkeyL(31),CamelliaSubkeyR(31),
1276 CamelliaSubkeyL(30),CamelliaSubkeyR(30),
1279 CamelliaSubkeyL(29),CamelliaSubkeyR(29),
1282 CamelliaSubkeyL(28),CamelliaSubkeyR(28),
1285 CamelliaSubkeyL(27),CamelliaSubkeyR(27),
1288 CamelliaSubkeyL(26),CamelliaSubkeyR(26),
1292 CamelliaSubkeyL(25),CamelliaSubkeyR(25),
1293 CamelliaSubkeyL(24),CamelliaSubkeyR(24),
1297 CamelliaSubkeyL(23),CamelliaSubkeyR(23),
1300 CamelliaSubkeyL(22),CamelliaSubkeyR(22),
1303 CamelliaSubkeyL(21),CamelliaSubkeyR(21),
1306 CamelliaSubkeyL(20),CamelliaSubkeyR(20),
1309 CamelliaSubkeyL(19),CamelliaSubkeyR(19),
1312 CamelliaSubkeyL(18),CamelliaSubkeyR(18),
1316 CamelliaSubkeyL(17),CamelliaSubkeyR(17),
1317 CamelliaSubkeyL(16),CamelliaSubkeyR(16),
1321 CamelliaSubkeyL(15),CamelliaSubkeyR(15),
1324 CamelliaSubkeyL(14),CamelliaSubkeyR(14),
1327 CamelliaSubkeyL(13),CamelliaSubkeyR(13),
1330 CamelliaSubkeyL(12),CamelliaSubkeyR(12),
1333 CamelliaSubkeyL(11),CamelliaSubkeyR(11),
1336 CamelliaSubkeyL(10),CamelliaSubkeyR(10),
1340 CamelliaSubkeyL(9),CamelliaSubkeyR(9),
1341 CamelliaSubkeyL(8),CamelliaSubkeyR(8),
1345 CamelliaSubkeyL(7),CamelliaSubkeyR(7),
1348 CamelliaSubkeyL(6),CamelliaSubkeyR(6),
1351 CamelliaSubkeyL(5),CamelliaSubkeyR(5),
1354 CamelliaSubkeyL(4),CamelliaSubkeyR(4),
1357 CamelliaSubkeyL(3),CamelliaSubkeyR(3),
1360 CamelliaSubkeyL(2),CamelliaSubkeyR(2),
1364 io[2] ^= CamelliaSubkeyL(0);