subRL 798 arch/x86/crypto/camellia_glue.c static void camellia_setup_tail(u64 *subkey, u64 *subRL, int max) subRL 805 arch/x86/crypto/camellia_glue.c subRL[3] ^= subRL[1]; subRL 807 arch/x86/crypto/camellia_glue.c subRL[5] ^= subRL[1]; subRL 809 arch/x86/crypto/camellia_glue.c subRL[7] ^= subRL[1]; subRL 811 arch/x86/crypto/camellia_glue.c subRL[1] ^= (subRL[1] & ~subRL[9]) << 32; subRL 813 arch/x86/crypto/camellia_glue.c dw = (subRL[1] & subRL[9]) >> 32; subRL 814 arch/x86/crypto/camellia_glue.c subRL[1] ^= rol32(dw, 1); subRL 817 arch/x86/crypto/camellia_glue.c subRL[11] ^= subRL[1]; subRL 819 arch/x86/crypto/camellia_glue.c subRL[13] ^= subRL[1]; subRL 821 arch/x86/crypto/camellia_glue.c subRL[15] ^= subRL[1]; subRL 823 arch/x86/crypto/camellia_glue.c subRL[1] ^= (subRL[1] & ~subRL[17]) << 32; subRL 825 arch/x86/crypto/camellia_glue.c dw = (subRL[1] & subRL[17]) >> 32; subRL 826 arch/x86/crypto/camellia_glue.c subRL[1] ^= rol32(dw, 1); subRL 829 arch/x86/crypto/camellia_glue.c subRL[19] ^= subRL[1]; subRL 831 arch/x86/crypto/camellia_glue.c subRL[21] ^= subRL[1]; subRL 833 arch/x86/crypto/camellia_glue.c subRL[23] ^= subRL[1]; subRL 837 arch/x86/crypto/camellia_glue.c subRL[24] ^= subRL[1]; subRL 840 arch/x86/crypto/camellia_glue.c kw4 = subRL[25]; subRL 842 arch/x86/crypto/camellia_glue.c subRL[1] ^= (subRL[1] & ~subRL[25]) << 32; subRL 844 arch/x86/crypto/camellia_glue.c dw = (subRL[1] & subRL[25]) >> 32; subRL 845 arch/x86/crypto/camellia_glue.c subRL[1] ^= rol32(dw, 1); subRL 848 arch/x86/crypto/camellia_glue.c subRL[27] ^= subRL[1]; subRL 850 arch/x86/crypto/camellia_glue.c subRL[29] ^= subRL[1]; subRL 852 arch/x86/crypto/camellia_glue.c subRL[31] ^= subRL[1]; subRL 854 arch/x86/crypto/camellia_glue.c subRL[32] ^= subRL[1]; subRL 857 arch/x86/crypto/camellia_glue.c kw4 = subRL[33]; subRL 859 arch/x86/crypto/camellia_glue.c subRL[30] ^= kw4; subRL 861 arch/x86/crypto/camellia_glue.c subRL[28] ^= kw4; subRL 863 arch/x86/crypto/camellia_glue.c subRL[26] ^= kw4; subRL 865 arch/x86/crypto/camellia_glue.c kw4 ^= (kw4 & ~subRL[24]) << 32; subRL 867 arch/x86/crypto/camellia_glue.c dw = (kw4 & subRL[24]) >> 32; subRL 872 arch/x86/crypto/camellia_glue.c subRL[22] ^= kw4; subRL 874 arch/x86/crypto/camellia_glue.c subRL[20] ^= kw4; subRL 876 arch/x86/crypto/camellia_glue.c subRL[18] ^= kw4; subRL 878 arch/x86/crypto/camellia_glue.c kw4 ^= (kw4 & ~subRL[16]) << 32; subRL 880 arch/x86/crypto/camellia_glue.c dw = (kw4 & subRL[16]) >> 32; subRL 884 arch/x86/crypto/camellia_glue.c subRL[14] ^= kw4; subRL 886 arch/x86/crypto/camellia_glue.c subRL[12] ^= kw4; subRL 888 arch/x86/crypto/camellia_glue.c subRL[10] ^= kw4; subRL 890 arch/x86/crypto/camellia_glue.c kw4 ^= (kw4 & ~subRL[8]) << 32; subRL 892 arch/x86/crypto/camellia_glue.c dw = (kw4 & subRL[8]) >> 32; subRL 896 arch/x86/crypto/camellia_glue.c subRL[6] ^= kw4; subRL 898 arch/x86/crypto/camellia_glue.c subRL[4] ^= kw4; subRL 900 arch/x86/crypto/camellia_glue.c subRL[2] ^= kw4; subRL 902 arch/x86/crypto/camellia_glue.c subRL[0] ^= kw4; subRL 905 arch/x86/crypto/camellia_glue.c SET_SUBKEY_LR(0, subRL[0] ^ subRL[2]); /* kw1 */ subRL 906 arch/x86/crypto/camellia_glue.c SET_SUBKEY_LR(2, subRL[3]); /* round 1 */ subRL 907 arch/x86/crypto/camellia_glue.c SET_SUBKEY_LR(3, subRL[2] ^ subRL[4]); /* round 2 */ subRL 908 arch/x86/crypto/camellia_glue.c SET_SUBKEY_LR(4, subRL[3] ^ subRL[5]); /* round 3 */ subRL 909 arch/x86/crypto/camellia_glue.c SET_SUBKEY_LR(5, subRL[4] ^ subRL[6]); /* round 4 */ subRL 910 arch/x86/crypto/camellia_glue.c SET_SUBKEY_LR(6, subRL[5] ^ subRL[7]); /* round 5 */ subRL 912 arch/x86/crypto/camellia_glue.c tl = (subRL[10] >> 32) ^ (subRL[10] & ~subRL[8]); subRL 913 arch/x86/crypto/camellia_glue.c dw = tl & (subRL[8] >> 32); /* FL(kl1) */ subRL 914 arch/x86/crypto/camellia_glue.c tr = subRL[10] ^ rol32(dw, 1); subRL 917 arch/x86/crypto/camellia_glue.c SET_SUBKEY_LR(7, subRL[6] ^ tt); /* round 6 */ subRL 918 arch/x86/crypto/camellia_glue.c SET_SUBKEY_LR(8, subRL[8]); /* FL(kl1) */ subRL 919 arch/x86/crypto/camellia_glue.c SET_SUBKEY_LR(9, subRL[9]); /* FLinv(kl2) */ subRL 921 arch/x86/crypto/camellia_glue.c tl = (subRL[7] >> 32) ^ (subRL[7] & ~subRL[9]); subRL 922 arch/x86/crypto/camellia_glue.c dw = tl & (subRL[9] >> 32); /* FLinv(kl2) */ subRL 923 arch/x86/crypto/camellia_glue.c tr = subRL[7] ^ rol32(dw, 1); subRL 926 arch/x86/crypto/camellia_glue.c SET_SUBKEY_LR(10, subRL[11] ^ tt); /* round 7 */ subRL 927 arch/x86/crypto/camellia_glue.c SET_SUBKEY_LR(11, subRL[10] ^ subRL[12]); /* round 8 */ subRL 928 arch/x86/crypto/camellia_glue.c SET_SUBKEY_LR(12, subRL[11] ^ subRL[13]); /* round 9 */ subRL 929 arch/x86/crypto/camellia_glue.c SET_SUBKEY_LR(13, subRL[12] ^ subRL[14]); /* round 10 */ subRL 930 arch/x86/crypto/camellia_glue.c SET_SUBKEY_LR(14, subRL[13] ^ subRL[15]); /* round 11 */ subRL 932 arch/x86/crypto/camellia_glue.c tl = (subRL[18] >> 32) ^ (subRL[18] & ~subRL[16]); subRL 933 arch/x86/crypto/camellia_glue.c dw = tl & (subRL[16] >> 32); /* FL(kl3) */ subRL 934 arch/x86/crypto/camellia_glue.c tr = subRL[18] ^ rol32(dw, 1); subRL 937 arch/x86/crypto/camellia_glue.c SET_SUBKEY_LR(15, subRL[14] ^ tt); /* round 12 */ subRL 938 arch/x86/crypto/camellia_glue.c SET_SUBKEY_LR(16, subRL[16]); /* FL(kl3) */ subRL 939 arch/x86/crypto/camellia_glue.c SET_SUBKEY_LR(17, subRL[17]); /* FLinv(kl4) */ subRL 941 arch/x86/crypto/camellia_glue.c tl = (subRL[15] >> 32) ^ (subRL[15] & ~subRL[17]); subRL 942 arch/x86/crypto/camellia_glue.c dw = tl & (subRL[17] >> 32); /* FLinv(kl4) */ subRL 943 arch/x86/crypto/camellia_glue.c tr = subRL[15] ^ rol32(dw, 1); subRL 946 arch/x86/crypto/camellia_glue.c SET_SUBKEY_LR(18, subRL[19] ^ tt); /* round 13 */ subRL 947 arch/x86/crypto/camellia_glue.c SET_SUBKEY_LR(19, subRL[18] ^ subRL[20]); /* round 14 */ subRL 948 arch/x86/crypto/camellia_glue.c SET_SUBKEY_LR(20, subRL[19] ^ subRL[21]); /* round 15 */ subRL 949 arch/x86/crypto/camellia_glue.c SET_SUBKEY_LR(21, subRL[20] ^ subRL[22]); /* round 16 */ subRL 950 arch/x86/crypto/camellia_glue.c SET_SUBKEY_LR(22, subRL[21] ^ subRL[23]); /* round 17 */ subRL 953 arch/x86/crypto/camellia_glue.c SET_SUBKEY_LR(23, subRL[22]); /* round 18 */ subRL 954 arch/x86/crypto/camellia_glue.c SET_SUBKEY_LR(24, subRL[24] ^ subRL[23]); /* kw3 */ subRL 956 arch/x86/crypto/camellia_glue.c tl = (subRL[26] >> 32) ^ (subRL[26] & ~subRL[24]); subRL 957 arch/x86/crypto/camellia_glue.c dw = tl & (subRL[24] >> 32); /* FL(kl5) */ subRL 958 arch/x86/crypto/camellia_glue.c tr = subRL[26] ^ rol32(dw, 1); subRL 961 arch/x86/crypto/camellia_glue.c SET_SUBKEY_LR(23, subRL[22] ^ tt); /* round 18 */ subRL 962 arch/x86/crypto/camellia_glue.c SET_SUBKEY_LR(24, subRL[24]); /* FL(kl5) */ subRL 963 arch/x86/crypto/camellia_glue.c SET_SUBKEY_LR(25, subRL[25]); /* FLinv(kl6) */ subRL 965 arch/x86/crypto/camellia_glue.c tl = (subRL[23] >> 32) ^ (subRL[23] & ~subRL[25]); subRL 966 arch/x86/crypto/camellia_glue.c dw = tl & (subRL[25] >> 32); /* FLinv(kl6) */ subRL 967 arch/x86/crypto/camellia_glue.c tr = subRL[23] ^ rol32(dw, 1); subRL 970 arch/x86/crypto/camellia_glue.c SET_SUBKEY_LR(26, subRL[27] ^ tt); /* round 19 */ subRL 971 arch/x86/crypto/camellia_glue.c SET_SUBKEY_LR(27, subRL[26] ^ subRL[28]); /* round 20 */ subRL 972 arch/x86/crypto/camellia_glue.c SET_SUBKEY_LR(28, subRL[27] ^ subRL[29]); /* round 21 */ subRL 973 arch/x86/crypto/camellia_glue.c SET_SUBKEY_LR(29, subRL[28] ^ subRL[30]); /* round 22 */ subRL 974 arch/x86/crypto/camellia_glue.c SET_SUBKEY_LR(30, subRL[29] ^ subRL[31]); /* round 23 */ subRL 975 arch/x86/crypto/camellia_glue.c SET_SUBKEY_LR(31, subRL[30]); /* round 24 */ subRL 976 arch/x86/crypto/camellia_glue.c SET_SUBKEY_LR(32, subRL[32] ^ subRL[31]); /* kw3 */ subRL 983 arch/x86/crypto/camellia_glue.c u64 subRL[26]; subRL 993 arch/x86/crypto/camellia_glue.c subRL[0] = kl; subRL 995 arch/x86/crypto/camellia_glue.c subRL[1] = kr; subRL 1001 arch/x86/crypto/camellia_glue.c subRL[4] = kl; subRL 1003 arch/x86/crypto/camellia_glue.c subRL[5] = kr; subRL 1009 arch/x86/crypto/camellia_glue.c subRL[10] = kl; subRL 1011 arch/x86/crypto/camellia_glue.c subRL[11] = kr; subRL 1017 arch/x86/crypto/camellia_glue.c subRL[13] = kr; subRL 1022 arch/x86/crypto/camellia_glue.c subRL[16] = kl; subRL 1024 arch/x86/crypto/camellia_glue.c subRL[17] = kr; subRL 1030 arch/x86/crypto/camellia_glue.c subRL[18] = kl; subRL 1032 arch/x86/crypto/camellia_glue.c subRL[19] = kr; subRL 1038 arch/x86/crypto/camellia_glue.c subRL[22] = kl; subRL 1040 arch/x86/crypto/camellia_glue.c subRL[23] = kr; subRL 1043 arch/x86/crypto/camellia_glue.c kl = subRL[0]; subRL 1044 arch/x86/crypto/camellia_glue.c kr = subRL[1]; subRL 1057 arch/x86/crypto/camellia_glue.c subRL[2] = kl; subRL 1058 arch/x86/crypto/camellia_glue.c subRL[3] = kr; subRL 1061 arch/x86/crypto/camellia_glue.c subRL[6] = kl; subRL 1062 arch/x86/crypto/camellia_glue.c subRL[7] = kr; subRL 1065 arch/x86/crypto/camellia_glue.c subRL[8] = kl; subRL 1066 arch/x86/crypto/camellia_glue.c subRL[9] = kr; subRL 1069 arch/x86/crypto/camellia_glue.c subRL[12] = kl; subRL 1072 arch/x86/crypto/camellia_glue.c subRL[14] = kl; subRL 1073 arch/x86/crypto/camellia_glue.c subRL[15] = kr; subRL 1076 arch/x86/crypto/camellia_glue.c subRL[20] = kl; subRL 1077 arch/x86/crypto/camellia_glue.c subRL[21] = kr; subRL 1080 arch/x86/crypto/camellia_glue.c subRL[24] = kl; subRL 1081 arch/x86/crypto/camellia_glue.c subRL[25] = kr; subRL 1083 arch/x86/crypto/camellia_glue.c camellia_setup_tail(subkey, subRL, 24); subRL 1091 arch/x86/crypto/camellia_glue.c u64 subRL[34]; subRL 1103 arch/x86/crypto/camellia_glue.c subRL[0] = kl; subRL 1105 arch/x86/crypto/camellia_glue.c subRL[1] = kr; subRL 1108 arch/x86/crypto/camellia_glue.c subRL[12] = kl; subRL 1110 arch/x86/crypto/camellia_glue.c subRL[13] = kr; subRL 1113 arch/x86/crypto/camellia_glue.c subRL[16] = kl; subRL 1115 arch/x86/crypto/camellia_glue.c subRL[17] = kr; subRL 1118 arch/x86/crypto/camellia_glue.c subRL[22] = kl; subRL 1120 arch/x86/crypto/camellia_glue.c subRL[23] = kr; subRL 1123 arch/x86/crypto/camellia_glue.c subRL[30] = kl; subRL 1125 arch/x86/crypto/camellia_glue.c subRL[31] = kr; subRL 1130 arch/x86/crypto/camellia_glue.c subRL[4] = krl; subRL 1132 arch/x86/crypto/camellia_glue.c subRL[5] = krr; subRL 1135 arch/x86/crypto/camellia_glue.c subRL[8] = krl; subRL 1137 arch/x86/crypto/camellia_glue.c subRL[9] = krr; subRL 1140 arch/x86/crypto/camellia_glue.c subRL[18] = krl; subRL 1142 arch/x86/crypto/camellia_glue.c subRL[19] = krr; subRL 1145 arch/x86/crypto/camellia_glue.c subRL[26] = krl; subRL 1147 arch/x86/crypto/camellia_glue.c subRL[27] = krr; subRL 1151 arch/x86/crypto/camellia_glue.c kl = subRL[0] ^ krl; subRL 1152 arch/x86/crypto/camellia_glue.c kr = subRL[1] ^ krr; subRL 1174 arch/x86/crypto/camellia_glue.c subRL[6] = kl; subRL 1176 arch/x86/crypto/camellia_glue.c subRL[7] = kr; subRL 1179 arch/x86/crypto/camellia_glue.c subRL[14] = kl; subRL 1181 arch/x86/crypto/camellia_glue.c subRL[15] = kr; subRL 1185 arch/x86/crypto/camellia_glue.c subRL[24] = kl; subRL 1187 arch/x86/crypto/camellia_glue.c subRL[25] = kr; subRL 1191 arch/x86/crypto/camellia_glue.c subRL[28] = kl; subRL 1193 arch/x86/crypto/camellia_glue.c subRL[29] = kr; subRL 1197 arch/x86/crypto/camellia_glue.c subRL[2] = krl; subRL 1199 arch/x86/crypto/camellia_glue.c subRL[3] = krr; subRL 1202 arch/x86/crypto/camellia_glue.c subRL[10] = krl; subRL 1204 arch/x86/crypto/camellia_glue.c subRL[11] = krr; subRL 1207 arch/x86/crypto/camellia_glue.c subRL[20] = krl; subRL 1209 arch/x86/crypto/camellia_glue.c subRL[21] = krr; subRL 1212 arch/x86/crypto/camellia_glue.c subRL[32] = krl; subRL 1214 arch/x86/crypto/camellia_glue.c subRL[33] = krr; subRL 1216 arch/x86/crypto/camellia_glue.c camellia_setup_tail(subkey, subRL, 32);