1 #include <machine/asm.h>
5 .globl Camellia_EncryptBlock
6 .type Camellia_EncryptBlock,@function
14 .size Camellia_EncryptBlock,.-Camellia_EncryptBlock
16 .globl Camellia_EncryptBlock_Rounds
17 .type Camellia_EncryptBlock_Rounds,@function
20 Camellia_EncryptBlock_Rounds:
33 leaq .LCamellia_SBOX(%rip),%rbp
34 leaq (%r14,%rdi,1),%r15
45 call _x86_64_Camellia_encrypt
64 .size Camellia_EncryptBlock_Rounds,.-Camellia_EncryptBlock_Rounds
66 .type _x86_64_Camellia_encrypt,@function
68 _x86_64_Camellia_encrypt:
82 movl 2052(%rbp,%rsi,8),%edx
83 movl 0(%rbp,%rdi,8),%ecx
87 xorl 4(%rbp,%rsi,8),%edx
89 xorl 4(%rbp,%rdi,8),%ecx
92 xorl 0(%rbp,%rsi,8),%edx
93 xorl 2052(%rbp,%rdi,8),%ecx
96 xorl 2048(%rbp,%rsi,8),%edx
97 xorl 2048(%rbp,%rdi,8),%ecx
109 movl 2052(%rbp,%rsi,8),%edx
110 movl 0(%rbp,%rdi,8),%ecx
114 xorl 4(%rbp,%rsi,8),%edx
116 xorl 4(%rbp,%rdi,8),%ecx
119 xorl 0(%rbp,%rsi,8),%edx
120 xorl 2052(%rbp,%rdi,8),%ecx
123 xorl 2048(%rbp,%rsi,8),%edx
124 xorl 2048(%rbp,%rdi,8),%ecx
136 movl 2052(%rbp,%rsi,8),%edx
137 movl 0(%rbp,%rdi,8),%ecx
141 xorl 4(%rbp,%rsi,8),%edx
143 xorl 4(%rbp,%rdi,8),%ecx
146 xorl 0(%rbp,%rsi,8),%edx
147 xorl 2052(%rbp,%rdi,8),%ecx
150 xorl 2048(%rbp,%rsi,8),%edx
151 xorl 2048(%rbp,%rdi,8),%ecx
163 movl 2052(%rbp,%rsi,8),%edx
164 movl 0(%rbp,%rdi,8),%ecx
168 xorl 4(%rbp,%rsi,8),%edx
170 xorl 4(%rbp,%rdi,8),%ecx
173 xorl 0(%rbp,%rsi,8),%edx
174 xorl 2052(%rbp,%rdi,8),%ecx
177 xorl 2048(%rbp,%rsi,8),%edx
178 xorl 2048(%rbp,%rdi,8),%ecx
190 movl 2052(%rbp,%rsi,8),%edx
191 movl 0(%rbp,%rdi,8),%ecx
195 xorl 4(%rbp,%rsi,8),%edx
197 xorl 4(%rbp,%rdi,8),%ecx
200 xorl 0(%rbp,%rsi,8),%edx
201 xorl 2052(%rbp,%rdi,8),%ecx
204 xorl 2048(%rbp,%rsi,8),%edx
205 xorl 2048(%rbp,%rdi,8),%ecx
217 movl 2052(%rbp,%rsi,8),%edx
218 movl 0(%rbp,%rdi,8),%ecx
222 xorl 4(%rbp,%rsi,8),%edx
224 xorl 4(%rbp,%rdi,8),%ecx
227 xorl 0(%rbp,%rsi,8),%edx
228 xorl 2052(%rbp,%rdi,8),%ecx
231 xorl 2048(%rbp,%rsi,8),%edx
232 xorl 2048(%rbp,%rdi,8),%ecx
271 .size _x86_64_Camellia_encrypt,.-_x86_64_Camellia_encrypt
274 .globl Camellia_DecryptBlock
275 .type Camellia_DecryptBlock,@function
277 Camellia_DecryptBlock:
283 .size Camellia_DecryptBlock,.-Camellia_DecryptBlock
285 .globl Camellia_DecryptBlock_Rounds
286 .type Camellia_DecryptBlock_Rounds,@function
289 Camellia_DecryptBlock_Rounds:
302 leaq .LCamellia_SBOX(%rip),%rbp
303 leaq (%r15,%rdi,1),%r14
314 call _x86_64_Camellia_decrypt
333 .size Camellia_DecryptBlock_Rounds,.-Camellia_DecryptBlock_Rounds
335 .type _x86_64_Camellia_decrypt,@function
337 _x86_64_Camellia_decrypt:
351 movl 2052(%rbp,%rsi,8),%edx
352 movl 0(%rbp,%rdi,8),%ecx
356 xorl 4(%rbp,%rsi,8),%edx
358 xorl 4(%rbp,%rdi,8),%ecx
361 xorl 0(%rbp,%rsi,8),%edx
362 xorl 2052(%rbp,%rdi,8),%ecx
365 xorl 2048(%rbp,%rsi,8),%edx
366 xorl 2048(%rbp,%rdi,8),%ecx
378 movl 2052(%rbp,%rsi,8),%edx
379 movl 0(%rbp,%rdi,8),%ecx
383 xorl 4(%rbp,%rsi,8),%edx
385 xorl 4(%rbp,%rdi,8),%ecx
388 xorl 0(%rbp,%rsi,8),%edx
389 xorl 2052(%rbp,%rdi,8),%ecx
392 xorl 2048(%rbp,%rsi,8),%edx
393 xorl 2048(%rbp,%rdi,8),%ecx
405 movl 2052(%rbp,%rsi,8),%edx
406 movl 0(%rbp,%rdi,8),%ecx
410 xorl 4(%rbp,%rsi,8),%edx
412 xorl 4(%rbp,%rdi,8),%ecx
415 xorl 0(%rbp,%rsi,8),%edx
416 xorl 2052(%rbp,%rdi,8),%ecx
419 xorl 2048(%rbp,%rsi,8),%edx
420 xorl 2048(%rbp,%rdi,8),%ecx
432 movl 2052(%rbp,%rsi,8),%edx
433 movl 0(%rbp,%rdi,8),%ecx
437 xorl 4(%rbp,%rsi,8),%edx
439 xorl 4(%rbp,%rdi,8),%ecx
442 xorl 0(%rbp,%rsi,8),%edx
443 xorl 2052(%rbp,%rdi,8),%ecx
446 xorl 2048(%rbp,%rsi,8),%edx
447 xorl 2048(%rbp,%rdi,8),%ecx
459 movl 2052(%rbp,%rsi,8),%edx
460 movl 0(%rbp,%rdi,8),%ecx
464 xorl 4(%rbp,%rsi,8),%edx
466 xorl 4(%rbp,%rdi,8),%ecx
469 xorl 0(%rbp,%rsi,8),%edx
470 xorl 2052(%rbp,%rdi,8),%ecx
473 xorl 2048(%rbp,%rsi,8),%edx
474 xorl 2048(%rbp,%rdi,8),%ecx
486 movl 2052(%rbp,%rsi,8),%edx
487 movl 0(%rbp,%rdi,8),%ecx
491 xorl 4(%rbp,%rsi,8),%edx
493 xorl 4(%rbp,%rdi,8),%ecx
496 xorl 0(%rbp,%rsi,8),%edx
497 xorl 2052(%rbp,%rdi,8),%ecx
500 xorl 2048(%rbp,%rsi,8),%edx
501 xorl 2048(%rbp,%rdi,8),%ecx
541 .size _x86_64_Camellia_decrypt,.-_x86_64_Camellia_decrypt
542 .globl Camellia_Ekeygen
543 .type Camellia_Ekeygen,@function
599 leaq .LCamellia_SIGMA(%rip),%r14
600 leaq .LCamellia_SBOX(%rip),%rbp
608 movl 2052(%rbp,%rsi,8),%edx
609 movl 0(%rbp,%rdi,8),%ecx
613 xorl 4(%rbp,%rsi,8),%edx
615 xorl 4(%rbp,%rdi,8),%ecx
618 xorl 0(%rbp,%rsi,8),%edx
619 xorl 2052(%rbp,%rdi,8),%ecx
622 xorl 2048(%rbp,%rsi,8),%edx
623 xorl 2048(%rbp,%rdi,8),%ecx
635 movl 2052(%rbp,%rsi,8),%edx
636 movl 0(%rbp,%rdi,8),%ecx
640 xorl 4(%rbp,%rsi,8),%edx
642 xorl 4(%rbp,%rdi,8),%ecx
645 xorl 0(%rbp,%rsi,8),%edx
646 xorl 2052(%rbp,%rdi,8),%ecx
649 xorl 2048(%rbp,%rsi,8),%edx
650 xorl 2048(%rbp,%rdi,8),%ecx
666 movl 2052(%rbp,%rsi,8),%edx
667 movl 0(%rbp,%rdi,8),%ecx
671 xorl 4(%rbp,%rsi,8),%edx
673 xorl 4(%rbp,%rdi,8),%ecx
676 xorl 0(%rbp,%rsi,8),%edx
677 xorl 2052(%rbp,%rdi,8),%ecx
680 xorl 2048(%rbp,%rsi,8),%edx
681 xorl 2048(%rbp,%rdi,8),%ecx
693 movl 2052(%rbp,%rsi,8),%edx
694 movl 0(%rbp,%rdi,8),%ecx
698 xorl 4(%rbp,%rsi,8),%edx
700 xorl 4(%rbp,%rdi,8),%ecx
703 xorl 0(%rbp,%rsi,8),%edx
704 xorl 2052(%rbp,%rdi,8),%ecx
707 xorl 2048(%rbp,%rsi,8),%edx
708 xorl 2048(%rbp,%rdi,8),%ecx
862 movl 2052(%rbp,%rsi,8),%edx
863 movl 0(%rbp,%rdi,8),%ecx
867 xorl 4(%rbp,%rsi,8),%edx
869 xorl 4(%rbp,%rdi,8),%ecx
872 xorl 0(%rbp,%rsi,8),%edx
873 xorl 2052(%rbp,%rdi,8),%ecx
876 xorl 2048(%rbp,%rsi,8),%edx
877 xorl 2048(%rbp,%rdi,8),%ecx
889 movl 2052(%rbp,%rsi,8),%edx
890 movl 0(%rbp,%rdi,8),%ecx
894 xorl 4(%rbp,%rsi,8),%edx
896 xorl 4(%rbp,%rdi,8),%ecx
899 xorl 0(%rbp,%rsi,8),%edx
900 xorl 2052(%rbp,%rdi,8),%ecx
903 xorl 2048(%rbp,%rsi,8),%edx
904 xorl 2048(%rbp,%rdi,8),%ecx
1085 .size Camellia_Ekeygen,.-Camellia_Ekeygen
1088 .long 0x3bcc908b, 0xa09e667f, 0x4caa73b2, 0xb67ae858
1089 .long 0xe94f82be, 0xc6ef372f, 0xf1d36f1c, 0x54ff53a5
1090 .long 0xde682d1d, 0x10e527fa, 0xb3e6c1fd, 0xb05688c2
1093 .long 0x70707000,0x70700070
1094 .long 0x82828200,0x2c2c002c
1095 .long 0x2c2c2c00,0xb3b300b3
1096 .long 0xececec00,0xc0c000c0
1097 .long 0xb3b3b300,0xe4e400e4
1098 .long 0x27272700,0x57570057
1099 .long 0xc0c0c000,0xeaea00ea
1100 .long 0xe5e5e500,0xaeae00ae
1101 .long 0xe4e4e400,0x23230023
1102 .long 0x85858500,0x6b6b006b
1103 .long 0x57575700,0x45450045
1104 .long 0x35353500,0xa5a500a5
1105 .long 0xeaeaea00,0xeded00ed
1106 .long 0x0c0c0c00,0x4f4f004f
1107 .long 0xaeaeae00,0x1d1d001d
1108 .long 0x41414100,0x92920092
1109 .long 0x23232300,0x86860086
1110 .long 0xefefef00,0xafaf00af
1111 .long 0x6b6b6b00,0x7c7c007c
1112 .long 0x93939300,0x1f1f001f
1113 .long 0x45454500,0x3e3e003e
1114 .long 0x19191900,0xdcdc00dc
1115 .long 0xa5a5a500,0x5e5e005e
1116 .long 0x21212100,0x0b0b000b
1117 .long 0xededed00,0xa6a600a6
1118 .long 0x0e0e0e00,0x39390039
1119 .long 0x4f4f4f00,0xd5d500d5
1120 .long 0x4e4e4e00,0x5d5d005d
1121 .long 0x1d1d1d00,0xd9d900d9
1122 .long 0x65656500,0x5a5a005a
1123 .long 0x92929200,0x51510051
1124 .long 0xbdbdbd00,0x6c6c006c
1125 .long 0x86868600,0x8b8b008b
1126 .long 0xb8b8b800,0x9a9a009a
1127 .long 0xafafaf00,0xfbfb00fb
1128 .long 0x8f8f8f00,0xb0b000b0
1129 .long 0x7c7c7c00,0x74740074
1130 .long 0xebebeb00,0x2b2b002b
1131 .long 0x1f1f1f00,0xf0f000f0
1132 .long 0xcecece00,0x84840084
1133 .long 0x3e3e3e00,0xdfdf00df
1134 .long 0x30303000,0xcbcb00cb
1135 .long 0xdcdcdc00,0x34340034
1136 .long 0x5f5f5f00,0x76760076
1137 .long 0x5e5e5e00,0x6d6d006d
1138 .long 0xc5c5c500,0xa9a900a9
1139 .long 0x0b0b0b00,0xd1d100d1
1140 .long 0x1a1a1a00,0x04040004
1141 .long 0xa6a6a600,0x14140014
1142 .long 0xe1e1e100,0x3a3a003a
1143 .long 0x39393900,0xdede00de
1144 .long 0xcacaca00,0x11110011
1145 .long 0xd5d5d500,0x32320032
1146 .long 0x47474700,0x9c9c009c
1147 .long 0x5d5d5d00,0x53530053
1148 .long 0x3d3d3d00,0xf2f200f2
1149 .long 0xd9d9d900,0xfefe00fe
1150 .long 0x01010100,0xcfcf00cf
1151 .long 0x5a5a5a00,0xc3c300c3
1152 .long 0xd6d6d600,0x7a7a007a
1153 .long 0x51515100,0x24240024
1154 .long 0x56565600,0xe8e800e8
1155 .long 0x6c6c6c00,0x60600060
1156 .long 0x4d4d4d00,0x69690069
1157 .long 0x8b8b8b00,0xaaaa00aa
1158 .long 0x0d0d0d00,0xa0a000a0
1159 .long 0x9a9a9a00,0xa1a100a1
1160 .long 0x66666600,0x62620062
1161 .long 0xfbfbfb00,0x54540054
1162 .long 0xcccccc00,0x1e1e001e
1163 .long 0xb0b0b000,0xe0e000e0
1164 .long 0x2d2d2d00,0x64640064
1165 .long 0x74747400,0x10100010
1166 .long 0x12121200,0x00000000
1167 .long 0x2b2b2b00,0xa3a300a3
1168 .long 0x20202000,0x75750075
1169 .long 0xf0f0f000,0x8a8a008a
1170 .long 0xb1b1b100,0xe6e600e6
1171 .long 0x84848400,0x09090009
1172 .long 0x99999900,0xdddd00dd
1173 .long 0xdfdfdf00,0x87870087
1174 .long 0x4c4c4c00,0x83830083
1175 .long 0xcbcbcb00,0xcdcd00cd
1176 .long 0xc2c2c200,0x90900090
1177 .long 0x34343400,0x73730073
1178 .long 0x7e7e7e00,0xf6f600f6
1179 .long 0x76767600,0x9d9d009d
1180 .long 0x05050500,0xbfbf00bf
1181 .long 0x6d6d6d00,0x52520052
1182 .long 0xb7b7b700,0xd8d800d8
1183 .long 0xa9a9a900,0xc8c800c8
1184 .long 0x31313100,0xc6c600c6
1185 .long 0xd1d1d100,0x81810081
1186 .long 0x17171700,0x6f6f006f
1187 .long 0x04040400,0x13130013
1188 .long 0xd7d7d700,0x63630063
1189 .long 0x14141400,0xe9e900e9
1190 .long 0x58585800,0xa7a700a7
1191 .long 0x3a3a3a00,0x9f9f009f
1192 .long 0x61616100,0xbcbc00bc
1193 .long 0xdedede00,0x29290029
1194 .long 0x1b1b1b00,0xf9f900f9
1195 .long 0x11111100,0x2f2f002f
1196 .long 0x1c1c1c00,0xb4b400b4
1197 .long 0x32323200,0x78780078
1198 .long 0x0f0f0f00,0x06060006
1199 .long 0x9c9c9c00,0xe7e700e7
1200 .long 0x16161600,0x71710071
1201 .long 0x53535300,0xd4d400d4
1202 .long 0x18181800,0xabab00ab
1203 .long 0xf2f2f200,0x88880088
1204 .long 0x22222200,0x8d8d008d
1205 .long 0xfefefe00,0x72720072
1206 .long 0x44444400,0xb9b900b9
1207 .long 0xcfcfcf00,0xf8f800f8
1208 .long 0xb2b2b200,0xacac00ac
1209 .long 0xc3c3c300,0x36360036
1210 .long 0xb5b5b500,0x2a2a002a
1211 .long 0x7a7a7a00,0x3c3c003c
1212 .long 0x91919100,0xf1f100f1
1213 .long 0x24242400,0x40400040
1214 .long 0x08080800,0xd3d300d3
1215 .long 0xe8e8e800,0xbbbb00bb
1216 .long 0xa8a8a800,0x43430043
1217 .long 0x60606000,0x15150015
1218 .long 0xfcfcfc00,0xadad00ad
1219 .long 0x69696900,0x77770077
1220 .long 0x50505000,0x80800080
1221 .long 0xaaaaaa00,0x82820082
1222 .long 0xd0d0d000,0xecec00ec
1223 .long 0xa0a0a000,0x27270027
1224 .long 0x7d7d7d00,0xe5e500e5
1225 .long 0xa1a1a100,0x85850085
1226 .long 0x89898900,0x35350035
1227 .long 0x62626200,0x0c0c000c
1228 .long 0x97979700,0x41410041
1229 .long 0x54545400,0xefef00ef
1230 .long 0x5b5b5b00,0x93930093
1231 .long 0x1e1e1e00,0x19190019
1232 .long 0x95959500,0x21210021
1233 .long 0xe0e0e000,0x0e0e000e
1234 .long 0xffffff00,0x4e4e004e
1235 .long 0x64646400,0x65650065
1236 .long 0xd2d2d200,0xbdbd00bd
1237 .long 0x10101000,0xb8b800b8
1238 .long 0xc4c4c400,0x8f8f008f
1239 .long 0x00000000,0xebeb00eb
1240 .long 0x48484800,0xcece00ce
1241 .long 0xa3a3a300,0x30300030
1242 .long 0xf7f7f700,0x5f5f005f
1243 .long 0x75757500,0xc5c500c5
1244 .long 0xdbdbdb00,0x1a1a001a
1245 .long 0x8a8a8a00,0xe1e100e1
1246 .long 0x03030300,0xcaca00ca
1247 .long 0xe6e6e600,0x47470047
1248 .long 0xdadada00,0x3d3d003d
1249 .long 0x09090900,0x01010001
1250 .long 0x3f3f3f00,0xd6d600d6
1251 .long 0xdddddd00,0x56560056
1252 .long 0x94949400,0x4d4d004d
1253 .long 0x87878700,0x0d0d000d
1254 .long 0x5c5c5c00,0x66660066
1255 .long 0x83838300,0xcccc00cc
1256 .long 0x02020200,0x2d2d002d
1257 .long 0xcdcdcd00,0x12120012
1258 .long 0x4a4a4a00,0x20200020
1259 .long 0x90909000,0xb1b100b1
1260 .long 0x33333300,0x99990099
1261 .long 0x73737300,0x4c4c004c
1262 .long 0x67676700,0xc2c200c2
1263 .long 0xf6f6f600,0x7e7e007e
1264 .long 0xf3f3f300,0x05050005
1265 .long 0x9d9d9d00,0xb7b700b7
1266 .long 0x7f7f7f00,0x31310031
1267 .long 0xbfbfbf00,0x17170017
1268 .long 0xe2e2e200,0xd7d700d7
1269 .long 0x52525200,0x58580058
1270 .long 0x9b9b9b00,0x61610061
1271 .long 0xd8d8d800,0x1b1b001b
1272 .long 0x26262600,0x1c1c001c
1273 .long 0xc8c8c800,0x0f0f000f
1274 .long 0x37373700,0x16160016
1275 .long 0xc6c6c600,0x18180018
1276 .long 0x3b3b3b00,0x22220022
1277 .long 0x81818100,0x44440044
1278 .long 0x96969600,0xb2b200b2
1279 .long 0x6f6f6f00,0xb5b500b5
1280 .long 0x4b4b4b00,0x91910091
1281 .long 0x13131300,0x08080008
1282 .long 0xbebebe00,0xa8a800a8
1283 .long 0x63636300,0xfcfc00fc
1284 .long 0x2e2e2e00,0x50500050
1285 .long 0xe9e9e900,0xd0d000d0
1286 .long 0x79797900,0x7d7d007d
1287 .long 0xa7a7a700,0x89890089
1288 .long 0x8c8c8c00,0x97970097
1289 .long 0x9f9f9f00,0x5b5b005b
1290 .long 0x6e6e6e00,0x95950095
1291 .long 0xbcbcbc00,0xffff00ff
1292 .long 0x8e8e8e00,0xd2d200d2
1293 .long 0x29292900,0xc4c400c4
1294 .long 0xf5f5f500,0x48480048
1295 .long 0xf9f9f900,0xf7f700f7
1296 .long 0xb6b6b600,0xdbdb00db
1297 .long 0x2f2f2f00,0x03030003
1298 .long 0xfdfdfd00,0xdada00da
1299 .long 0xb4b4b400,0x3f3f003f
1300 .long 0x59595900,0x94940094
1301 .long 0x78787800,0x5c5c005c
1302 .long 0x98989800,0x02020002
1303 .long 0x06060600,0x4a4a004a
1304 .long 0x6a6a6a00,0x33330033
1305 .long 0xe7e7e700,0x67670067
1306 .long 0x46464600,0xf3f300f3
1307 .long 0x71717100,0x7f7f007f
1308 .long 0xbababa00,0xe2e200e2
1309 .long 0xd4d4d400,0x9b9b009b
1310 .long 0x25252500,0x26260026
1311 .long 0xababab00,0x37370037
1312 .long 0x42424200,0x3b3b003b
1313 .long 0x88888800,0x96960096
1314 .long 0xa2a2a200,0x4b4b004b
1315 .long 0x8d8d8d00,0xbebe00be
1316 .long 0xfafafa00,0x2e2e002e
1317 .long 0x72727200,0x79790079
1318 .long 0x07070700,0x8c8c008c
1319 .long 0xb9b9b900,0x6e6e006e
1320 .long 0x55555500,0x8e8e008e
1321 .long 0xf8f8f800,0xf5f500f5
1322 .long 0xeeeeee00,0xb6b600b6
1323 .long 0xacacac00,0xfdfd00fd
1324 .long 0x0a0a0a00,0x59590059
1325 .long 0x36363600,0x98980098
1326 .long 0x49494900,0x6a6a006a
1327 .long 0x2a2a2a00,0x46460046
1328 .long 0x68686800,0xbaba00ba
1329 .long 0x3c3c3c00,0x25250025
1330 .long 0x38383800,0x42420042
1331 .long 0xf1f1f100,0xa2a200a2
1332 .long 0xa4a4a400,0xfafa00fa
1333 .long 0x40404000,0x07070007
1334 .long 0x28282800,0x55550055
1335 .long 0xd3d3d300,0xeeee00ee
1336 .long 0x7b7b7b00,0x0a0a000a
1337 .long 0xbbbbbb00,0x49490049
1338 .long 0xc9c9c900,0x68680068
1339 .long 0x43434300,0x38380038
1340 .long 0xc1c1c100,0xa4a400a4
1341 .long 0x15151500,0x28280028
1342 .long 0xe3e3e300,0x7b7b007b
1343 .long 0xadadad00,0xc9c900c9
1344 .long 0xf4f4f400,0xc1c100c1
1345 .long 0x77777700,0xe3e300e3
1346 .long 0xc7c7c700,0xf4f400f4
1347 .long 0x80808000,0xc7c700c7
1348 .long 0x9e9e9e00,0x9e9e009e
1349 .long 0x00e0e0e0,0x38003838
1350 .long 0x00050505,0x41004141
1351 .long 0x00585858,0x16001616
1352 .long 0x00d9d9d9,0x76007676
1353 .long 0x00676767,0xd900d9d9
1354 .long 0x004e4e4e,0x93009393
1355 .long 0x00818181,0x60006060
1356 .long 0x00cbcbcb,0xf200f2f2
1357 .long 0x00c9c9c9,0x72007272
1358 .long 0x000b0b0b,0xc200c2c2
1359 .long 0x00aeaeae,0xab00abab
1360 .long 0x006a6a6a,0x9a009a9a
1361 .long 0x00d5d5d5,0x75007575
1362 .long 0x00181818,0x06000606
1363 .long 0x005d5d5d,0x57005757
1364 .long 0x00828282,0xa000a0a0
1365 .long 0x00464646,0x91009191
1366 .long 0x00dfdfdf,0xf700f7f7
1367 .long 0x00d6d6d6,0xb500b5b5
1368 .long 0x00272727,0xc900c9c9
1369 .long 0x008a8a8a,0xa200a2a2
1370 .long 0x00323232,0x8c008c8c
1371 .long 0x004b4b4b,0xd200d2d2
1372 .long 0x00424242,0x90009090
1373 .long 0x00dbdbdb,0xf600f6f6
1374 .long 0x001c1c1c,0x07000707
1375 .long 0x009e9e9e,0xa700a7a7
1376 .long 0x009c9c9c,0x27002727
1377 .long 0x003a3a3a,0x8e008e8e
1378 .long 0x00cacaca,0xb200b2b2
1379 .long 0x00252525,0x49004949
1380 .long 0x007b7b7b,0xde00dede
1381 .long 0x000d0d0d,0x43004343
1382 .long 0x00717171,0x5c005c5c
1383 .long 0x005f5f5f,0xd700d7d7
1384 .long 0x001f1f1f,0xc700c7c7
1385 .long 0x00f8f8f8,0x3e003e3e
1386 .long 0x00d7d7d7,0xf500f5f5
1387 .long 0x003e3e3e,0x8f008f8f
1388 .long 0x009d9d9d,0x67006767
1389 .long 0x007c7c7c,0x1f001f1f
1390 .long 0x00606060,0x18001818
1391 .long 0x00b9b9b9,0x6e006e6e
1392 .long 0x00bebebe,0xaf00afaf
1393 .long 0x00bcbcbc,0x2f002f2f
1394 .long 0x008b8b8b,0xe200e2e2
1395 .long 0x00161616,0x85008585
1396 .long 0x00343434,0x0d000d0d
1397 .long 0x004d4d4d,0x53005353
1398 .long 0x00c3c3c3,0xf000f0f0
1399 .long 0x00727272,0x9c009c9c
1400 .long 0x00959595,0x65006565
1401 .long 0x00ababab,0xea00eaea
1402 .long 0x008e8e8e,0xa300a3a3
1403 .long 0x00bababa,0xae00aeae
1404 .long 0x007a7a7a,0x9e009e9e
1405 .long 0x00b3b3b3,0xec00ecec
1406 .long 0x00020202,0x80008080
1407 .long 0x00b4b4b4,0x2d002d2d
1408 .long 0x00adadad,0x6b006b6b
1409 .long 0x00a2a2a2,0xa800a8a8
1410 .long 0x00acacac,0x2b002b2b
1411 .long 0x00d8d8d8,0x36003636
1412 .long 0x009a9a9a,0xa600a6a6
1413 .long 0x00171717,0xc500c5c5
1414 .long 0x001a1a1a,0x86008686
1415 .long 0x00353535,0x4d004d4d
1416 .long 0x00cccccc,0x33003333
1417 .long 0x00f7f7f7,0xfd00fdfd
1418 .long 0x00999999,0x66006666
1419 .long 0x00616161,0x58005858
1420 .long 0x005a5a5a,0x96009696
1421 .long 0x00e8e8e8,0x3a003a3a
1422 .long 0x00242424,0x09000909
1423 .long 0x00565656,0x95009595
1424 .long 0x00404040,0x10001010
1425 .long 0x00e1e1e1,0x78007878
1426 .long 0x00636363,0xd800d8d8
1427 .long 0x00090909,0x42004242
1428 .long 0x00333333,0xcc00cccc
1429 .long 0x00bfbfbf,0xef00efef
1430 .long 0x00989898,0x26002626
1431 .long 0x00979797,0xe500e5e5
1432 .long 0x00858585,0x61006161
1433 .long 0x00686868,0x1a001a1a
1434 .long 0x00fcfcfc,0x3f003f3f
1435 .long 0x00ececec,0x3b003b3b
1436 .long 0x000a0a0a,0x82008282
1437 .long 0x00dadada,0xb600b6b6
1438 .long 0x006f6f6f,0xdb00dbdb
1439 .long 0x00535353,0xd400d4d4
1440 .long 0x00626262,0x98009898
1441 .long 0x00a3a3a3,0xe800e8e8
1442 .long 0x002e2e2e,0x8b008b8b
1443 .long 0x00080808,0x02000202
1444 .long 0x00afafaf,0xeb00ebeb
1445 .long 0x00282828,0x0a000a0a
1446 .long 0x00b0b0b0,0x2c002c2c
1447 .long 0x00747474,0x1d001d1d
1448 .long 0x00c2c2c2,0xb000b0b0
1449 .long 0x00bdbdbd,0x6f006f6f
1450 .long 0x00363636,0x8d008d8d
1451 .long 0x00222222,0x88008888
1452 .long 0x00383838,0x0e000e0e
1453 .long 0x00646464,0x19001919
1454 .long 0x001e1e1e,0x87008787
1455 .long 0x00393939,0x4e004e4e
1456 .long 0x002c2c2c,0x0b000b0b
1457 .long 0x00a6a6a6,0xa900a9a9
1458 .long 0x00303030,0x0c000c0c
1459 .long 0x00e5e5e5,0x79007979
1460 .long 0x00444444,0x11001111
1461 .long 0x00fdfdfd,0x7f007f7f
1462 .long 0x00888888,0x22002222
1463 .long 0x009f9f9f,0xe700e7e7
1464 .long 0x00656565,0x59005959
1465 .long 0x00878787,0xe100e1e1
1466 .long 0x006b6b6b,0xda00dada
1467 .long 0x00f4f4f4,0x3d003d3d
1468 .long 0x00232323,0xc800c8c8
1469 .long 0x00484848,0x12001212
1470 .long 0x00101010,0x04000404
1471 .long 0x00d1d1d1,0x74007474
1472 .long 0x00515151,0x54005454
1473 .long 0x00c0c0c0,0x30003030
1474 .long 0x00f9f9f9,0x7e007e7e
1475 .long 0x00d2d2d2,0xb400b4b4
1476 .long 0x00a0a0a0,0x28002828
1477 .long 0x00555555,0x55005555
1478 .long 0x00a1a1a1,0x68006868
1479 .long 0x00414141,0x50005050
1480 .long 0x00fafafa,0xbe00bebe
1481 .long 0x00434343,0xd000d0d0
1482 .long 0x00131313,0xc400c4c4
1483 .long 0x00c4c4c4,0x31003131
1484 .long 0x002f2f2f,0xcb00cbcb
1485 .long 0x00a8a8a8,0x2a002a2a
1486 .long 0x00b6b6b6,0xad00adad
1487 .long 0x003c3c3c,0x0f000f0f
1488 .long 0x002b2b2b,0xca00caca
1489 .long 0x00c1c1c1,0x70007070
1490 .long 0x00ffffff,0xff00ffff
1491 .long 0x00c8c8c8,0x32003232
1492 .long 0x00a5a5a5,0x69006969
1493 .long 0x00202020,0x08000808
1494 .long 0x00898989,0x62006262
1495 .long 0x00000000,0x00000000
1496 .long 0x00909090,0x24002424
1497 .long 0x00474747,0xd100d1d1
1498 .long 0x00efefef,0xfb00fbfb
1499 .long 0x00eaeaea,0xba00baba
1500 .long 0x00b7b7b7,0xed00eded
1501 .long 0x00151515,0x45004545
1502 .long 0x00060606,0x81008181
1503 .long 0x00cdcdcd,0x73007373
1504 .long 0x00b5b5b5,0x6d006d6d
1505 .long 0x00121212,0x84008484
1506 .long 0x007e7e7e,0x9f009f9f
1507 .long 0x00bbbbbb,0xee00eeee
1508 .long 0x00292929,0x4a004a4a
1509 .long 0x000f0f0f,0xc300c3c3
1510 .long 0x00b8b8b8,0x2e002e2e
1511 .long 0x00070707,0xc100c1c1
1512 .long 0x00040404,0x01000101
1513 .long 0x009b9b9b,0xe600e6e6
1514 .long 0x00949494,0x25002525
1515 .long 0x00212121,0x48004848
1516 .long 0x00666666,0x99009999
1517 .long 0x00e6e6e6,0xb900b9b9
1518 .long 0x00cecece,0xb300b3b3
1519 .long 0x00ededed,0x7b007b7b
1520 .long 0x00e7e7e7,0xf900f9f9
1521 .long 0x003b3b3b,0xce00cece
1522 .long 0x00fefefe,0xbf00bfbf
1523 .long 0x007f7f7f,0xdf00dfdf
1524 .long 0x00c5c5c5,0x71007171
1525 .long 0x00a4a4a4,0x29002929
1526 .long 0x00373737,0xcd00cdcd
1527 .long 0x00b1b1b1,0x6c006c6c
1528 .long 0x004c4c4c,0x13001313
1529 .long 0x00919191,0x64006464
1530 .long 0x006e6e6e,0x9b009b9b
1531 .long 0x008d8d8d,0x63006363
1532 .long 0x00767676,0x9d009d9d
1533 .long 0x00030303,0xc000c0c0
1534 .long 0x002d2d2d,0x4b004b4b
1535 .long 0x00dedede,0xb700b7b7
1536 .long 0x00969696,0xa500a5a5
1537 .long 0x00262626,0x89008989
1538 .long 0x007d7d7d,0x5f005f5f
1539 .long 0x00c6c6c6,0xb100b1b1
1540 .long 0x005c5c5c,0x17001717
1541 .long 0x00d3d3d3,0xf400f4f4
1542 .long 0x00f2f2f2,0xbc00bcbc
1543 .long 0x004f4f4f,0xd300d3d3
1544 .long 0x00191919,0x46004646
1545 .long 0x003f3f3f,0xcf00cfcf
1546 .long 0x00dcdcdc,0x37003737
1547 .long 0x00797979,0x5e005e5e
1548 .long 0x001d1d1d,0x47004747
1549 .long 0x00525252,0x94009494
1550 .long 0x00ebebeb,0xfa00fafa
1551 .long 0x00f3f3f3,0xfc00fcfc
1552 .long 0x006d6d6d,0x5b005b5b
1553 .long 0x005e5e5e,0x97009797
1554 .long 0x00fbfbfb,0xfe00fefe
1555 .long 0x00696969,0x5a005a5a
1556 .long 0x00b2b2b2,0xac00acac
1557 .long 0x00f0f0f0,0x3c003c3c
1558 .long 0x00313131,0x4c004c4c
1559 .long 0x000c0c0c,0x03000303
1560 .long 0x00d4d4d4,0x35003535
1561 .long 0x00cfcfcf,0xf300f3f3
1562 .long 0x008c8c8c,0x23002323
1563 .long 0x00e2e2e2,0xb800b8b8
1564 .long 0x00757575,0x5d005d5d
1565 .long 0x00a9a9a9,0x6a006a6a
1566 .long 0x004a4a4a,0x92009292
1567 .long 0x00575757,0xd500d5d5
1568 .long 0x00848484,0x21002121
1569 .long 0x00111111,0x44004444
1570 .long 0x00454545,0x51005151
1571 .long 0x001b1b1b,0xc600c6c6
1572 .long 0x00f5f5f5,0x7d007d7d
1573 .long 0x00e4e4e4,0x39003939
1574 .long 0x000e0e0e,0x83008383
1575 .long 0x00737373,0xdc00dcdc
1576 .long 0x00aaaaaa,0xaa00aaaa
1577 .long 0x00f1f1f1,0x7c007c7c
1578 .long 0x00dddddd,0x77007777
1579 .long 0x00595959,0x56005656
1580 .long 0x00141414,0x05000505
1581 .long 0x006c6c6c,0x1b001b1b
1582 .long 0x00929292,0xa400a4a4
1583 .long 0x00545454,0x15001515
1584 .long 0x00d0d0d0,0x34003434
1585 .long 0x00787878,0x1e001e1e
1586 .long 0x00707070,0x1c001c1c
1587 .long 0x00e3e3e3,0xf800f8f8
1588 .long 0x00494949,0x52005252
1589 .long 0x00808080,0x20002020
1590 .long 0x00505050,0x14001414
1591 .long 0x00a7a7a7,0xe900e9e9
1592 .long 0x00f6f6f6,0xbd00bdbd
1593 .long 0x00777777,0xdd00dddd
1594 .long 0x00939393,0xe400e4e4
1595 .long 0x00868686,0xa100a1a1
1596 .long 0x00838383,0xe000e0e0
1597 .long 0x002a2a2a,0x8a008a8a
1598 .long 0x00c7c7c7,0xf100f1f1
1599 .long 0x005b5b5b,0xd600d6d6
1600 .long 0x00e9e9e9,0x7a007a7a
1601 .long 0x00eeeeee,0xbb00bbbb
1602 .long 0x008f8f8f,0xe300e3e3
1603 .long 0x00010101,0x40004040
1604 .long 0x003d3d3d,0x4f004f4f
1605 .globl Camellia_cbc_encrypt
1606 .type Camellia_cbc_encrypt,@function
1608 Camellia_cbc_encrypt:
1625 leaq -64-63(%rcx),%r10
1636 movl 272(%rcx),%r15d
1642 leaq .LCamellia_SBOX(%rip),%rbp
1646 .Lcbc_prefetch_sbox:
1652 loop .Lcbc_prefetch_sbox
1656 leaq (%r14,%r15,1),%r15
1663 leaq (%r12,%rdx,1),%rdx
1687 call _x86_64_Camellia_encrypt
1718 movq %rax,0+24(%rsp)
1719 movq %rax,8+24(%rsp)
1726 leaq 8+24(%rsp),%rdi
1732 leaq 16+24(%rsp),%rax
1743 leaq (%r12,%rdx,1),%rdx
1758 movq %rax,0+24(%rsp)
1760 movq %rbx,8+24(%rsp)
1763 call _x86_64_Camellia_decrypt
1774 xorl 0+24(%rsp),%r8d
1776 xorl 4+24(%rsp),%r9d
1777 xorl 8+24(%rsp),%r10d
1779 xorl 12+24(%rsp),%r11d
1807 movl %r8d,0+24(%rsp)
1808 movl %r9d,4+24(%rsp)
1809 movl %r10d,8+24(%rsp)
1810 movl %r11d,12+24(%rsp)
1815 leaq 8+24(%rsp),%rsi
1837 .size Camellia_cbc_encrypt,.-Camellia_cbc_encrypt
1839 .byte 67,97,109,101,108,108,105,97,32,102,111,114,32,120,56,54,95,54,52,32,98,121,32,60,97,112,112,114,111,64,111,112,101,110,115,115,108,46,111,114,103,62,0