Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Side by Side Diff: third_party/boringssl/mac-x86/crypto/aes/vpaes-x86.S

Issue 377783004: Add BoringSSL GYP files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Final Python fix. Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 #if defined(__i386__)
2 .file "vpaes-x86.S"
3 .text
4 .align 6,0x90
5 L_vpaes_consts:
6 .long 218628480,235210255,168496130,67568393
7 .long 252381056,17041926,33884169,51187212
8 .long 252645135,252645135,252645135,252645135
9 .long 1512730624,3266504856,1377990664,3401244816
10 .long 830229760,1275146365,2969422977,3447763452
11 .long 3411033600,2979783055,338359620,2782886510
12 .long 4209124096,907596821,221174255,1006095553
13 .long 191964160,3799684038,3164090317,1589111125
14 .long 182528256,1777043520,2877432650,3265356744
15 .long 1874708224,3503451415,3305285752,363511674
16 .long 1606117888,3487855781,1093350906,2384367825
17 .long 197121,67569157,134941193,202313229
18 .long 67569157,134941193,202313229,197121
19 .long 134941193,202313229,197121,67569157
20 .long 202313229,197121,67569157,134941193
21 .long 33619971,100992007,168364043,235736079
22 .long 235736079,33619971,100992007,168364043
23 .long 168364043,235736079,33619971,100992007
24 .long 100992007,168364043,235736079,33619971
25 .long 50462976,117835012,185207048,252579084
26 .long 252314880,51251460,117574920,184942860
27 .long 184682752,252054788,50987272,118359308
28 .long 118099200,185467140,251790600,50727180
29 .long 2946363062,528716217,1300004225,1881839624
30 .long 1532713819,1532713819,1532713819,1532713819
31 .long 3602276352,4288629033,3737020424,4153884961
32 .long 1354558464,32357713,2958822624,3775749553
33 .long 1201988352,132424512,1572796698,503232858
34 .long 2213177600,1597421020,4103937655,675398315
35 .long 2749646592,4273543773,1511898873,121693092
36 .long 3040248576,1103263732,2871565598,1608280554
37 .long 2236667136,2588920351,482954393,64377734
38 .long 3069987328,291237287,2117370568,3650299247
39 .long 533321216,3573750986,2572112006,1401264716
40 .long 1339849704,2721158661,548607111,3445553514
41 .long 2128193280,3054596040,2183486460,1257083700
42 .long 655635200,1165381986,3923443150,2344132524
43 .long 190078720,256924420,290342170,357187870
44 .long 1610966272,2263057382,4103205268,309794674
45 .long 2592527872,2233205587,1335446729,3402964816
46 .long 3973531904,3225098121,3002836325,1918774430
47 .long 3870401024,2102906079,2284471353,4117666579
48 .long 617007872,1021508343,366931923,691083277
49 .long 2528395776,3491914898,2968704004,1613121270
50 .long 3445188352,3247741094,844474987,4093578302
51 .long 651481088,1190302358,1689581232,574775300
52 .long 4289380608,206939853,2555985458,2489840491
53 .long 2130264064,327674451,3566485037,3349835193
54 .long 2470714624,316102159,3636825756,3393945945
55 .byte 86,101,99,116,111,114,32,80,101,114,109,117,116,97,116,105
56 .byte 111,110,32,65,69,83,32,102,111,114,32,120,56,54,47,83
57 .byte 83,83,69,51,44,32,77,105,107,101,32,72,97,109,98,117
58 .byte 114,103,32,40,83,116,97,110,102,111,114,100,32,85,110,105
59 .byte 118,101,114,115,105,116,121,41,0
60 .align 6,0x90
61 .align 4
62 __vpaes_preheat:
63 addl (%esp),%ebp
64 movdqa -48(%ebp),%xmm7
65 movdqa -16(%ebp),%xmm6
66 ret
67 .align 4
68 __vpaes_encrypt_core:
69 movl $16,%ecx
70 movl 240(%edx),%eax
71 movdqa %xmm6,%xmm1
72 movdqa (%ebp),%xmm2
73 pandn %xmm0,%xmm1
74 pand %xmm6,%xmm0
75 movdqu (%edx),%xmm5
76 .byte 102,15,56,0,208
77 movdqa 16(%ebp),%xmm0
78 pxor %xmm5,%xmm2
79 psrld $4,%xmm1
80 addl $16,%edx
81 .byte 102,15,56,0,193
82 leal 192(%ebp),%ebx
83 pxor %xmm2,%xmm0
84 jmp L000enc_entry
85 .align 4,0x90
86 L001enc_loop:
87 movdqa 32(%ebp),%xmm4
88 movdqa 48(%ebp),%xmm0
89 .byte 102,15,56,0,226
90 .byte 102,15,56,0,195
91 pxor %xmm5,%xmm4
92 movdqa 64(%ebp),%xmm5
93 pxor %xmm4,%xmm0
94 movdqa -64(%ebx,%ecx,1),%xmm1
95 .byte 102,15,56,0,234
96 movdqa 80(%ebp),%xmm2
97 movdqa (%ebx,%ecx,1),%xmm4
98 .byte 102,15,56,0,211
99 movdqa %xmm0,%xmm3
100 pxor %xmm5,%xmm2
101 .byte 102,15,56,0,193
102 addl $16,%edx
103 pxor %xmm2,%xmm0
104 .byte 102,15,56,0,220
105 addl $16,%ecx
106 pxor %xmm0,%xmm3
107 .byte 102,15,56,0,193
108 andl $48,%ecx
109 subl $1,%eax
110 pxor %xmm3,%xmm0
111 L000enc_entry:
112 movdqa %xmm6,%xmm1
113 movdqa -32(%ebp),%xmm5
114 pandn %xmm0,%xmm1
115 psrld $4,%xmm1
116 pand %xmm6,%xmm0
117 .byte 102,15,56,0,232
118 movdqa %xmm7,%xmm3
119 pxor %xmm1,%xmm0
120 .byte 102,15,56,0,217
121 movdqa %xmm7,%xmm4
122 pxor %xmm5,%xmm3
123 .byte 102,15,56,0,224
124 movdqa %xmm7,%xmm2
125 pxor %xmm5,%xmm4
126 .byte 102,15,56,0,211
127 movdqa %xmm7,%xmm3
128 pxor %xmm0,%xmm2
129 .byte 102,15,56,0,220
130 movdqu (%edx),%xmm5
131 pxor %xmm1,%xmm3
132 jnz L001enc_loop
133 movdqa 96(%ebp),%xmm4
134 movdqa 112(%ebp),%xmm0
135 .byte 102,15,56,0,226
136 pxor %xmm5,%xmm4
137 .byte 102,15,56,0,195
138 movdqa 64(%ebx,%ecx,1),%xmm1
139 pxor %xmm4,%xmm0
140 .byte 102,15,56,0,193
141 ret
142 .align 4
143 __vpaes_decrypt_core:
144 leal 608(%ebp),%ebx
145 movl 240(%edx),%eax
146 movdqa %xmm6,%xmm1
147 movdqa -64(%ebx),%xmm2
148 pandn %xmm0,%xmm1
149 movl %eax,%ecx
150 psrld $4,%xmm1
151 movdqu (%edx),%xmm5
152 shll $4,%ecx
153 pand %xmm6,%xmm0
154 .byte 102,15,56,0,208
155 movdqa -48(%ebx),%xmm0
156 xorl $48,%ecx
157 .byte 102,15,56,0,193
158 andl $48,%ecx
159 pxor %xmm5,%xmm2
160 movdqa 176(%ebp),%xmm5
161 pxor %xmm2,%xmm0
162 addl $16,%edx
163 leal -352(%ebx,%ecx,1),%ecx
164 jmp L002dec_entry
165 .align 4,0x90
166 L003dec_loop:
167 movdqa -32(%ebx),%xmm4
168 movdqa -16(%ebx),%xmm1
169 .byte 102,15,56,0,226
170 .byte 102,15,56,0,203
171 pxor %xmm4,%xmm0
172 movdqa (%ebx),%xmm4
173 pxor %xmm1,%xmm0
174 movdqa 16(%ebx),%xmm1
175 .byte 102,15,56,0,226
176 .byte 102,15,56,0,197
177 .byte 102,15,56,0,203
178 pxor %xmm4,%xmm0
179 movdqa 32(%ebx),%xmm4
180 pxor %xmm1,%xmm0
181 movdqa 48(%ebx),%xmm1
182 .byte 102,15,56,0,226
183 .byte 102,15,56,0,197
184 .byte 102,15,56,0,203
185 pxor %xmm4,%xmm0
186 movdqa 64(%ebx),%xmm4
187 pxor %xmm1,%xmm0
188 movdqa 80(%ebx),%xmm1
189 .byte 102,15,56,0,226
190 .byte 102,15,56,0,197
191 .byte 102,15,56,0,203
192 pxor %xmm4,%xmm0
193 addl $16,%edx
194 .byte 102,15,58,15,237,12
195 pxor %xmm1,%xmm0
196 subl $1,%eax
197 L002dec_entry:
198 movdqa %xmm6,%xmm1
199 movdqa -32(%ebp),%xmm2
200 pandn %xmm0,%xmm1
201 pand %xmm6,%xmm0
202 psrld $4,%xmm1
203 .byte 102,15,56,0,208
204 movdqa %xmm7,%xmm3
205 pxor %xmm1,%xmm0
206 .byte 102,15,56,0,217
207 movdqa %xmm7,%xmm4
208 pxor %xmm2,%xmm3
209 .byte 102,15,56,0,224
210 pxor %xmm2,%xmm4
211 movdqa %xmm7,%xmm2
212 .byte 102,15,56,0,211
213 movdqa %xmm7,%xmm3
214 pxor %xmm0,%xmm2
215 .byte 102,15,56,0,220
216 movdqu (%edx),%xmm0
217 pxor %xmm1,%xmm3
218 jnz L003dec_loop
219 movdqa 96(%ebx),%xmm4
220 .byte 102,15,56,0,226
221 pxor %xmm0,%xmm4
222 movdqa 112(%ebx),%xmm0
223 movdqa (%ecx),%xmm2
224 .byte 102,15,56,0,195
225 pxor %xmm4,%xmm0
226 .byte 102,15,56,0,194
227 ret
228 .align 4
229 __vpaes_schedule_core:
230 addl (%esp),%ebp
231 movdqu (%esi),%xmm0
232 movdqa 320(%ebp),%xmm2
233 movdqa %xmm0,%xmm3
234 leal (%ebp),%ebx
235 movdqa %xmm2,4(%esp)
236 call __vpaes_schedule_transform
237 movdqa %xmm0,%xmm7
238 testl %edi,%edi
239 jnz L004schedule_am_decrypting
240 movdqu %xmm0,(%edx)
241 jmp L005schedule_go
242 L004schedule_am_decrypting:
243 movdqa 256(%ebp,%ecx,1),%xmm1
244 .byte 102,15,56,0,217
245 movdqu %xmm3,(%edx)
246 xorl $48,%ecx
247 L005schedule_go:
248 cmpl $192,%eax
249 ja L006schedule_256
250 je L007schedule_192
251 L008schedule_128:
252 movl $10,%eax
253 L009loop_schedule_128:
254 call __vpaes_schedule_round
255 decl %eax
256 jz L010schedule_mangle_last
257 call __vpaes_schedule_mangle
258 jmp L009loop_schedule_128
259 .align 4,0x90
260 L007schedule_192:
261 movdqu 8(%esi),%xmm0
262 call __vpaes_schedule_transform
263 movdqa %xmm0,%xmm6
264 pxor %xmm4,%xmm4
265 movhlps %xmm4,%xmm6
266 movl $4,%eax
267 L011loop_schedule_192:
268 call __vpaes_schedule_round
269 .byte 102,15,58,15,198,8
270 call __vpaes_schedule_mangle
271 call __vpaes_schedule_192_smear
272 call __vpaes_schedule_mangle
273 call __vpaes_schedule_round
274 decl %eax
275 jz L010schedule_mangle_last
276 call __vpaes_schedule_mangle
277 call __vpaes_schedule_192_smear
278 jmp L011loop_schedule_192
279 .align 4,0x90
280 L006schedule_256:
281 movdqu 16(%esi),%xmm0
282 call __vpaes_schedule_transform
283 movl $7,%eax
284 L012loop_schedule_256:
285 call __vpaes_schedule_mangle
286 movdqa %xmm0,%xmm6
287 call __vpaes_schedule_round
288 decl %eax
289 jz L010schedule_mangle_last
290 call __vpaes_schedule_mangle
291 pshufd $255,%xmm0,%xmm0
292 movdqa %xmm7,20(%esp)
293 movdqa %xmm6,%xmm7
294 call L_vpaes_schedule_low_round
295 movdqa 20(%esp),%xmm7
296 jmp L012loop_schedule_256
297 .align 4,0x90
298 L010schedule_mangle_last:
299 leal 384(%ebp),%ebx
300 testl %edi,%edi
301 jnz L013schedule_mangle_last_dec
302 movdqa 256(%ebp,%ecx,1),%xmm1
303 .byte 102,15,56,0,193
304 leal 352(%ebp),%ebx
305 addl $32,%edx
306 L013schedule_mangle_last_dec:
307 addl $-16,%edx
308 pxor 336(%ebp),%xmm0
309 call __vpaes_schedule_transform
310 movdqu %xmm0,(%edx)
311 pxor %xmm0,%xmm0
312 pxor %xmm1,%xmm1
313 pxor %xmm2,%xmm2
314 pxor %xmm3,%xmm3
315 pxor %xmm4,%xmm4
316 pxor %xmm5,%xmm5
317 pxor %xmm6,%xmm6
318 pxor %xmm7,%xmm7
319 ret
320 .align 4
321 __vpaes_schedule_192_smear:
322 pshufd $128,%xmm6,%xmm1
323 pshufd $254,%xmm7,%xmm0
324 pxor %xmm1,%xmm6
325 pxor %xmm1,%xmm1
326 pxor %xmm0,%xmm6
327 movdqa %xmm6,%xmm0
328 movhlps %xmm1,%xmm6
329 ret
330 .align 4
331 __vpaes_schedule_round:
332 movdqa 8(%esp),%xmm2
333 pxor %xmm1,%xmm1
334 .byte 102,15,58,15,202,15
335 .byte 102,15,58,15,210,15
336 pxor %xmm1,%xmm7
337 pshufd $255,%xmm0,%xmm0
338 .byte 102,15,58,15,192,1
339 movdqa %xmm2,8(%esp)
340 L_vpaes_schedule_low_round:
341 movdqa %xmm7,%xmm1
342 pslldq $4,%xmm7
343 pxor %xmm1,%xmm7
344 movdqa %xmm7,%xmm1
345 pslldq $8,%xmm7
346 pxor %xmm1,%xmm7
347 pxor 336(%ebp),%xmm7
348 movdqa -16(%ebp),%xmm4
349 movdqa -48(%ebp),%xmm5
350 movdqa %xmm4,%xmm1
351 pandn %xmm0,%xmm1
352 psrld $4,%xmm1
353 pand %xmm4,%xmm0
354 movdqa -32(%ebp),%xmm2
355 .byte 102,15,56,0,208
356 pxor %xmm1,%xmm0
357 movdqa %xmm5,%xmm3
358 .byte 102,15,56,0,217
359 pxor %xmm2,%xmm3
360 movdqa %xmm5,%xmm4
361 .byte 102,15,56,0,224
362 pxor %xmm2,%xmm4
363 movdqa %xmm5,%xmm2
364 .byte 102,15,56,0,211
365 pxor %xmm0,%xmm2
366 movdqa %xmm5,%xmm3
367 .byte 102,15,56,0,220
368 pxor %xmm1,%xmm3
369 movdqa 32(%ebp),%xmm4
370 .byte 102,15,56,0,226
371 movdqa 48(%ebp),%xmm0
372 .byte 102,15,56,0,195
373 pxor %xmm4,%xmm0
374 pxor %xmm7,%xmm0
375 movdqa %xmm0,%xmm7
376 ret
377 .align 4
378 __vpaes_schedule_transform:
379 movdqa -16(%ebp),%xmm2
380 movdqa %xmm2,%xmm1
381 pandn %xmm0,%xmm1
382 psrld $4,%xmm1
383 pand %xmm2,%xmm0
384 movdqa (%ebx),%xmm2
385 .byte 102,15,56,0,208
386 movdqa 16(%ebx),%xmm0
387 .byte 102,15,56,0,193
388 pxor %xmm2,%xmm0
389 ret
390 .align 4
391 __vpaes_schedule_mangle:
392 movdqa %xmm0,%xmm4
393 movdqa 128(%ebp),%xmm5
394 testl %edi,%edi
395 jnz L014schedule_mangle_dec
396 addl $16,%edx
397 pxor 336(%ebp),%xmm4
398 .byte 102,15,56,0,229
399 movdqa %xmm4,%xmm3
400 .byte 102,15,56,0,229
401 pxor %xmm4,%xmm3
402 .byte 102,15,56,0,229
403 pxor %xmm4,%xmm3
404 jmp L015schedule_mangle_both
405 .align 4,0x90
406 L014schedule_mangle_dec:
407 movdqa -16(%ebp),%xmm2
408 leal 416(%ebp),%esi
409 movdqa %xmm2,%xmm1
410 pandn %xmm4,%xmm1
411 psrld $4,%xmm1
412 pand %xmm2,%xmm4
413 movdqa (%esi),%xmm2
414 .byte 102,15,56,0,212
415 movdqa 16(%esi),%xmm3
416 .byte 102,15,56,0,217
417 pxor %xmm2,%xmm3
418 .byte 102,15,56,0,221
419 movdqa 32(%esi),%xmm2
420 .byte 102,15,56,0,212
421 pxor %xmm3,%xmm2
422 movdqa 48(%esi),%xmm3
423 .byte 102,15,56,0,217
424 pxor %xmm2,%xmm3
425 .byte 102,15,56,0,221
426 movdqa 64(%esi),%xmm2
427 .byte 102,15,56,0,212
428 pxor %xmm3,%xmm2
429 movdqa 80(%esi),%xmm3
430 .byte 102,15,56,0,217
431 pxor %xmm2,%xmm3
432 .byte 102,15,56,0,221
433 movdqa 96(%esi),%xmm2
434 .byte 102,15,56,0,212
435 pxor %xmm3,%xmm2
436 movdqa 112(%esi),%xmm3
437 .byte 102,15,56,0,217
438 pxor %xmm2,%xmm3
439 addl $-16,%edx
440 L015schedule_mangle_both:
441 movdqa 256(%ebp,%ecx,1),%xmm1
442 .byte 102,15,56,0,217
443 addl $-16,%ecx
444 andl $48,%ecx
445 movdqu %xmm3,(%edx)
446 ret
447 .globl _vpaes_set_encrypt_key
448 .align 4
449 _vpaes_set_encrypt_key:
450 L_vpaes_set_encrypt_key_begin:
451 pushl %ebp
452 pushl %ebx
453 pushl %esi
454 pushl %edi
455 movl 20(%esp),%esi
456 leal -56(%esp),%ebx
457 movl 24(%esp),%eax
458 andl $-16,%ebx
459 movl 28(%esp),%edx
460 xchgl %esp,%ebx
461 movl %ebx,48(%esp)
462 movl %eax,%ebx
463 shrl $5,%ebx
464 addl $5,%ebx
465 movl %ebx,240(%edx)
466 movl $48,%ecx
467 movl $0,%edi
468 leal L_vpaes_consts+0x30-L016pic_point,%ebp
469 call __vpaes_schedule_core
470 L016pic_point:
471 movl 48(%esp),%esp
472 xorl %eax,%eax
473 popl %edi
474 popl %esi
475 popl %ebx
476 popl %ebp
477 ret
478 .globl _vpaes_set_decrypt_key
479 .align 4
480 _vpaes_set_decrypt_key:
481 L_vpaes_set_decrypt_key_begin:
482 pushl %ebp
483 pushl %ebx
484 pushl %esi
485 pushl %edi
486 movl 20(%esp),%esi
487 leal -56(%esp),%ebx
488 movl 24(%esp),%eax
489 andl $-16,%ebx
490 movl 28(%esp),%edx
491 xchgl %esp,%ebx
492 movl %ebx,48(%esp)
493 movl %eax,%ebx
494 shrl $5,%ebx
495 addl $5,%ebx
496 movl %ebx,240(%edx)
497 shll $4,%ebx
498 leal 16(%edx,%ebx,1),%edx
499 movl $1,%edi
500 movl %eax,%ecx
501 shrl $1,%ecx
502 andl $32,%ecx
503 xorl $32,%ecx
504 leal L_vpaes_consts+0x30-L017pic_point,%ebp
505 call __vpaes_schedule_core
506 L017pic_point:
507 movl 48(%esp),%esp
508 xorl %eax,%eax
509 popl %edi
510 popl %esi
511 popl %ebx
512 popl %ebp
513 ret
514 .globl _vpaes_encrypt
515 .align 4
516 _vpaes_encrypt:
517 L_vpaes_encrypt_begin:
518 pushl %ebp
519 pushl %ebx
520 pushl %esi
521 pushl %edi
522 leal L_vpaes_consts+0x30-L018pic_point,%ebp
523 call __vpaes_preheat
524 L018pic_point:
525 movl 20(%esp),%esi
526 leal -56(%esp),%ebx
527 movl 24(%esp),%edi
528 andl $-16,%ebx
529 movl 28(%esp),%edx
530 xchgl %esp,%ebx
531 movl %ebx,48(%esp)
532 movdqu (%esi),%xmm0
533 call __vpaes_encrypt_core
534 movdqu %xmm0,(%edi)
535 movl 48(%esp),%esp
536 popl %edi
537 popl %esi
538 popl %ebx
539 popl %ebp
540 ret
541 .globl _vpaes_decrypt
542 .align 4
543 _vpaes_decrypt:
544 L_vpaes_decrypt_begin:
545 pushl %ebp
546 pushl %ebx
547 pushl %esi
548 pushl %edi
549 leal L_vpaes_consts+0x30-L019pic_point,%ebp
550 call __vpaes_preheat
551 L019pic_point:
552 movl 20(%esp),%esi
553 leal -56(%esp),%ebx
554 movl 24(%esp),%edi
555 andl $-16,%ebx
556 movl 28(%esp),%edx
557 xchgl %esp,%ebx
558 movl %ebx,48(%esp)
559 movdqu (%esi),%xmm0
560 call __vpaes_decrypt_core
561 movdqu %xmm0,(%edi)
562 movl 48(%esp),%esp
563 popl %edi
564 popl %esi
565 popl %ebx
566 popl %ebp
567 ret
568 .globl _vpaes_cbc_encrypt
569 .align 4
570 _vpaes_cbc_encrypt:
571 L_vpaes_cbc_encrypt_begin:
572 pushl %ebp
573 pushl %ebx
574 pushl %esi
575 pushl %edi
576 movl 20(%esp),%esi
577 movl 24(%esp),%edi
578 movl 28(%esp),%eax
579 movl 32(%esp),%edx
580 subl $16,%eax
581 jc L020cbc_abort
582 leal -56(%esp),%ebx
583 movl 36(%esp),%ebp
584 andl $-16,%ebx
585 movl 40(%esp),%ecx
586 xchgl %esp,%ebx
587 movdqu (%ebp),%xmm1
588 subl %esi,%edi
589 movl %ebx,48(%esp)
590 movl %edi,(%esp)
591 movl %edx,4(%esp)
592 movl %ebp,8(%esp)
593 movl %eax,%edi
594 leal L_vpaes_consts+0x30-L021pic_point,%ebp
595 call __vpaes_preheat
596 L021pic_point:
597 cmpl $0,%ecx
598 je L022cbc_dec_loop
599 jmp L023cbc_enc_loop
600 .align 4,0x90
601 L023cbc_enc_loop:
602 movdqu (%esi),%xmm0
603 pxor %xmm1,%xmm0
604 call __vpaes_encrypt_core
605 movl (%esp),%ebx
606 movl 4(%esp),%edx
607 movdqa %xmm0,%xmm1
608 movdqu %xmm0,(%ebx,%esi,1)
609 leal 16(%esi),%esi
610 subl $16,%edi
611 jnc L023cbc_enc_loop
612 jmp L024cbc_done
613 .align 4,0x90
614 L022cbc_dec_loop:
615 movdqu (%esi),%xmm0
616 movdqa %xmm1,16(%esp)
617 movdqa %xmm0,32(%esp)
618 call __vpaes_decrypt_core
619 movl (%esp),%ebx
620 movl 4(%esp),%edx
621 pxor 16(%esp),%xmm0
622 movdqa 32(%esp),%xmm1
623 movdqu %xmm0,(%ebx,%esi,1)
624 leal 16(%esi),%esi
625 subl $16,%edi
626 jnc L022cbc_dec_loop
627 L024cbc_done:
628 movl 8(%esp),%ebx
629 movl 48(%esp),%esp
630 movdqu %xmm1,(%ebx)
631 L020cbc_abort:
632 popl %edi
633 popl %esi
634 popl %ebx
635 popl %ebp
636 ret
637 #endif
OLDNEW
« no previous file with comments | « third_party/boringssl/mac-x86/crypto/aes/aesni-x86.S ('k') | third_party/boringssl/mac-x86/crypto/bn/x86-mont.S » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698