Lines Matching refs:CamelliaSubkeyR
78 #define CamelliaSubkeyR(INDEX) (subkey[(INDEX)*2 + 1])
561 CamelliaSubkeyR(0) = subr(0) ^ subr(2);
563 CamelliaSubkeyR(2) = subr(3);
565 CamelliaSubkeyR(3) = subr(2) ^ subr(4);
567 CamelliaSubkeyR(4) = subr(3) ^ subr(5);
569 CamelliaSubkeyR(5) = subr(4) ^ subr(6);
571 CamelliaSubkeyR(6) = subr(5) ^ subr(7);
575 CamelliaSubkeyR(7) = subr(6) ^ tr;
577 CamelliaSubkeyR(8) = subr(8);
579 CamelliaSubkeyR(9) = subr(9);
583 CamelliaSubkeyR(10) = tr ^ subr(11);
585 CamelliaSubkeyR(11) = subr(10) ^ subr(12);
587 CamelliaSubkeyR(12) = subr(11) ^ subr(13);
589 CamelliaSubkeyR(13) = subr(12) ^ subr(14);
591 CamelliaSubkeyR(14) = subr(13) ^ subr(15);
595 CamelliaSubkeyR(15) = subr(14) ^ tr;
597 CamelliaSubkeyR(16) = subr(16);
599 CamelliaSubkeyR(17) = subr(17);
603 CamelliaSubkeyR(18) = tr ^ subr(19);
605 CamelliaSubkeyR(19) = subr(18) ^ subr(20);
607 CamelliaSubkeyR(20) = subr(19) ^ subr(21);
609 CamelliaSubkeyR(21) = subr(20) ^ subr(22);
611 CamelliaSubkeyR(22) = subr(21) ^ subr(23);
613 CamelliaSubkeyR(23) = subr(22);
615 CamelliaSubkeyR(24) = subr(24) ^ subr(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;
815 CamelliaSubkeyR(0) = subr(0) ^ subr(2);
817 CamelliaSubkeyR(2) = subr(3);
819 CamelliaSubkeyR(3) = subr(2) ^ subr(4);
821 CamelliaSubkeyR(4) = subr(3) ^ subr(5);
823 CamelliaSubkeyR(5) = subr(4) ^ subr(6);
825 CamelliaSubkeyR(6) = subr(5) ^ subr(7);
829 CamelliaSubkeyR(7) = subr(6) ^ tr;
831 CamelliaSubkeyR(8) = subr(8);
833 CamelliaSubkeyR(9) = subr(9);
837 CamelliaSubkeyR(10) = tr ^ subr(11);
839 CamelliaSubkeyR(11) = subr(10) ^ subr(12);
841 CamelliaSubkeyR(12) = subr(11) ^ subr(13);
843 CamelliaSubkeyR(13) = subr(12) ^ subr(14);
845 CamelliaSubkeyR(14) = subr(13) ^ subr(15);
849 CamelliaSubkeyR(15) = subr(14) ^ tr;
851 CamelliaSubkeyR(16) = subr(16);
853 CamelliaSubkeyR(17) = subr(17);
857 CamelliaSubkeyR(18) = tr ^ subr(19);
859 CamelliaSubkeyR(19) = subr(18) ^ subr(20);
861 CamelliaSubkeyR(20) = subr(19) ^ subr(21);
863 CamelliaSubkeyR(21) = subr(20) ^ subr(22);
865 CamelliaSubkeyR(22) = subr(21) ^ subr(23);
869 CamelliaSubkeyR(23) = subr(22) ^ tr;
871 CamelliaSubkeyR(24) = subr(24);
873 CamelliaSubkeyR(25) = subr(25);
877 CamelliaSubkeyR(26) = tr ^ subr(27);
879 CamelliaSubkeyR(27) = subr(26) ^ subr(28);
881 CamelliaSubkeyR(28) = subr(27) ^ subr(29);
883 CamelliaSubkeyR(29) = subr(28) ^ subr(30);
885 CamelliaSubkeyR(30) = subr(29) ^ subr(31);
887 CamelliaSubkeyR(31) = subr(30);
889 CamelliaSubkeyR(32) = subr(32) ^ subr(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;
972 io[1] ^= CamelliaSubkeyR(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),
1044 io[3] ^= CamelliaSubkeyR(24);
1062 io[1] ^= CamelliaSubkeyR(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),
1134 io[3] ^= CamelliaSubkeyR(0);
1155 io[1] ^= CamelliaSubkeyR(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),
1251 io[3] ^= CamelliaSubkeyR(32);
1269 io[1] ^= CamelliaSubkeyR(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),
1365 io[3] ^= CamelliaSubkeyR(0);