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

Side by Side Diff: openssl/crypto/sha/asm/sha512-586-mac.S

Issue 2072073002: Delete bundled copy of OpenSSL and replace with README. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/openssl@master
Patch Set: Delete bundled copy of OpenSSL and replace with README. Created 4 years, 6 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
« no previous file with comments | « openssl/crypto/sha/asm/sha512-586.pl ('k') | openssl/crypto/sha/asm/sha512-armv4.S » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 .file "sha512-586.s"
2 .text
3 .globl _sha512_block_data_order
4 .align 4
5 _sha512_block_data_order:
6 L_sha512_block_data_order_begin:
7 pushl %ebp
8 pushl %ebx
9 pushl %esi
10 pushl %edi
11 movl 20(%esp),%esi
12 movl 24(%esp),%edi
13 movl 28(%esp),%eax
14 movl %esp,%ebx
15 call L000pic_point
16 L000pic_point:
17 popl %ebp
18 leal L001K512-L000pic_point(%ebp),%ebp
19 subl $16,%esp
20 andl $-64,%esp
21 shll $7,%eax
22 addl %edi,%eax
23 movl %esi,(%esp)
24 movl %edi,4(%esp)
25 movl %eax,8(%esp)
26 movl %ebx,12(%esp)
27 .align 4,0x90
28 L002loop_x86:
29 movl (%edi),%eax
30 movl 4(%edi),%ebx
31 movl 8(%edi),%ecx
32 movl 12(%edi),%edx
33 bswap %eax
34 bswap %ebx
35 bswap %ecx
36 bswap %edx
37 pushl %eax
38 pushl %ebx
39 pushl %ecx
40 pushl %edx
41 movl 16(%edi),%eax
42 movl 20(%edi),%ebx
43 movl 24(%edi),%ecx
44 movl 28(%edi),%edx
45 bswap %eax
46 bswap %ebx
47 bswap %ecx
48 bswap %edx
49 pushl %eax
50 pushl %ebx
51 pushl %ecx
52 pushl %edx
53 movl 32(%edi),%eax
54 movl 36(%edi),%ebx
55 movl 40(%edi),%ecx
56 movl 44(%edi),%edx
57 bswap %eax
58 bswap %ebx
59 bswap %ecx
60 bswap %edx
61 pushl %eax
62 pushl %ebx
63 pushl %ecx
64 pushl %edx
65 movl 48(%edi),%eax
66 movl 52(%edi),%ebx
67 movl 56(%edi),%ecx
68 movl 60(%edi),%edx
69 bswap %eax
70 bswap %ebx
71 bswap %ecx
72 bswap %edx
73 pushl %eax
74 pushl %ebx
75 pushl %ecx
76 pushl %edx
77 movl 64(%edi),%eax
78 movl 68(%edi),%ebx
79 movl 72(%edi),%ecx
80 movl 76(%edi),%edx
81 bswap %eax
82 bswap %ebx
83 bswap %ecx
84 bswap %edx
85 pushl %eax
86 pushl %ebx
87 pushl %ecx
88 pushl %edx
89 movl 80(%edi),%eax
90 movl 84(%edi),%ebx
91 movl 88(%edi),%ecx
92 movl 92(%edi),%edx
93 bswap %eax
94 bswap %ebx
95 bswap %ecx
96 bswap %edx
97 pushl %eax
98 pushl %ebx
99 pushl %ecx
100 pushl %edx
101 movl 96(%edi),%eax
102 movl 100(%edi),%ebx
103 movl 104(%edi),%ecx
104 movl 108(%edi),%edx
105 bswap %eax
106 bswap %ebx
107 bswap %ecx
108 bswap %edx
109 pushl %eax
110 pushl %ebx
111 pushl %ecx
112 pushl %edx
113 movl 112(%edi),%eax
114 movl 116(%edi),%ebx
115 movl 120(%edi),%ecx
116 movl 124(%edi),%edx
117 bswap %eax
118 bswap %ebx
119 bswap %ecx
120 bswap %edx
121 pushl %eax
122 pushl %ebx
123 pushl %ecx
124 pushl %edx
125 addl $128,%edi
126 subl $72,%esp
127 movl %edi,204(%esp)
128 leal 8(%esp),%edi
129 movl $16,%ecx
130 .long 2784229001
131 .align 4,0x90
132 L00300_15_x86:
133 movl 40(%esp),%ecx
134 movl 44(%esp),%edx
135 movl %ecx,%esi
136 shrl $9,%ecx
137 movl %edx,%edi
138 shrl $9,%edx
139 movl %ecx,%ebx
140 shll $14,%esi
141 movl %edx,%eax
142 shll $14,%edi
143 xorl %esi,%ebx
144 shrl $5,%ecx
145 xorl %edi,%eax
146 shrl $5,%edx
147 xorl %ecx,%eax
148 shll $4,%esi
149 xorl %edx,%ebx
150 shll $4,%edi
151 xorl %esi,%ebx
152 shrl $4,%ecx
153 xorl %edi,%eax
154 shrl $4,%edx
155 xorl %ecx,%eax
156 shll $5,%esi
157 xorl %edx,%ebx
158 shll $5,%edi
159 xorl %esi,%eax
160 xorl %edi,%ebx
161 movl 48(%esp),%ecx
162 movl 52(%esp),%edx
163 movl 56(%esp),%esi
164 movl 60(%esp),%edi
165 addl 64(%esp),%eax
166 adcl 68(%esp),%ebx
167 xorl %esi,%ecx
168 xorl %edi,%edx
169 andl 40(%esp),%ecx
170 andl 44(%esp),%edx
171 addl 192(%esp),%eax
172 adcl 196(%esp),%ebx
173 xorl %esi,%ecx
174 xorl %edi,%edx
175 movl (%ebp),%esi
176 movl 4(%ebp),%edi
177 addl %ecx,%eax
178 adcl %edx,%ebx
179 movl 32(%esp),%ecx
180 movl 36(%esp),%edx
181 addl %esi,%eax
182 adcl %edi,%ebx
183 movl %eax,(%esp)
184 movl %ebx,4(%esp)
185 addl %ecx,%eax
186 adcl %edx,%ebx
187 movl 8(%esp),%ecx
188 movl 12(%esp),%edx
189 movl %eax,32(%esp)
190 movl %ebx,36(%esp)
191 movl %ecx,%esi
192 shrl $2,%ecx
193 movl %edx,%edi
194 shrl $2,%edx
195 movl %ecx,%ebx
196 shll $4,%esi
197 movl %edx,%eax
198 shll $4,%edi
199 xorl %esi,%ebx
200 shrl $5,%ecx
201 xorl %edi,%eax
202 shrl $5,%edx
203 xorl %ecx,%ebx
204 shll $21,%esi
205 xorl %edx,%eax
206 shll $21,%edi
207 xorl %esi,%eax
208 shrl $21,%ecx
209 xorl %edi,%ebx
210 shrl $21,%edx
211 xorl %ecx,%eax
212 shll $5,%esi
213 xorl %edx,%ebx
214 shll $5,%edi
215 xorl %esi,%eax
216 xorl %edi,%ebx
217 movl 8(%esp),%ecx
218 movl 12(%esp),%edx
219 movl 16(%esp),%esi
220 movl 20(%esp),%edi
221 addl (%esp),%eax
222 adcl 4(%esp),%ebx
223 orl %esi,%ecx
224 orl %edi,%edx
225 andl 24(%esp),%ecx
226 andl 28(%esp),%edx
227 andl 8(%esp),%esi
228 andl 12(%esp),%edi
229 orl %esi,%ecx
230 orl %edi,%edx
231 addl %ecx,%eax
232 adcl %edx,%ebx
233 movl %eax,(%esp)
234 movl %ebx,4(%esp)
235 movb (%ebp),%dl
236 subl $8,%esp
237 leal 8(%ebp),%ebp
238 cmpb $148,%dl
239 jne L00300_15_x86
240 .align 4,0x90
241 L00416_79_x86:
242 movl 312(%esp),%ecx
243 movl 316(%esp),%edx
244 movl %ecx,%esi
245 shrl $1,%ecx
246 movl %edx,%edi
247 shrl $1,%edx
248 movl %ecx,%eax
249 shll $24,%esi
250 movl %edx,%ebx
251 shll $24,%edi
252 xorl %esi,%ebx
253 shrl $6,%ecx
254 xorl %edi,%eax
255 shrl $6,%edx
256 xorl %ecx,%eax
257 shll $7,%esi
258 xorl %edx,%ebx
259 shll $1,%edi
260 xorl %esi,%ebx
261 shrl $1,%ecx
262 xorl %edi,%eax
263 shrl $1,%edx
264 xorl %ecx,%eax
265 shll $6,%edi
266 xorl %edx,%ebx
267 xorl %edi,%eax
268 movl %eax,(%esp)
269 movl %ebx,4(%esp)
270 movl 208(%esp),%ecx
271 movl 212(%esp),%edx
272 movl %ecx,%esi
273 shrl $6,%ecx
274 movl %edx,%edi
275 shrl $6,%edx
276 movl %ecx,%eax
277 shll $3,%esi
278 movl %edx,%ebx
279 shll $3,%edi
280 xorl %esi,%eax
281 shrl $13,%ecx
282 xorl %edi,%ebx
283 shrl $13,%edx
284 xorl %ecx,%eax
285 shll $10,%esi
286 xorl %edx,%ebx
287 shll $10,%edi
288 xorl %esi,%ebx
289 shrl $10,%ecx
290 xorl %edi,%eax
291 shrl $10,%edx
292 xorl %ecx,%ebx
293 shll $13,%edi
294 xorl %edx,%eax
295 xorl %edi,%eax
296 movl 320(%esp),%ecx
297 movl 324(%esp),%edx
298 addl (%esp),%eax
299 adcl 4(%esp),%ebx
300 movl 248(%esp),%esi
301 movl 252(%esp),%edi
302 addl %ecx,%eax
303 adcl %edx,%ebx
304 addl %esi,%eax
305 adcl %edi,%ebx
306 movl %eax,192(%esp)
307 movl %ebx,196(%esp)
308 movl 40(%esp),%ecx
309 movl 44(%esp),%edx
310 movl %ecx,%esi
311 shrl $9,%ecx
312 movl %edx,%edi
313 shrl $9,%edx
314 movl %ecx,%ebx
315 shll $14,%esi
316 movl %edx,%eax
317 shll $14,%edi
318 xorl %esi,%ebx
319 shrl $5,%ecx
320 xorl %edi,%eax
321 shrl $5,%edx
322 xorl %ecx,%eax
323 shll $4,%esi
324 xorl %edx,%ebx
325 shll $4,%edi
326 xorl %esi,%ebx
327 shrl $4,%ecx
328 xorl %edi,%eax
329 shrl $4,%edx
330 xorl %ecx,%eax
331 shll $5,%esi
332 xorl %edx,%ebx
333 shll $5,%edi
334 xorl %esi,%eax
335 xorl %edi,%ebx
336 movl 48(%esp),%ecx
337 movl 52(%esp),%edx
338 movl 56(%esp),%esi
339 movl 60(%esp),%edi
340 addl 64(%esp),%eax
341 adcl 68(%esp),%ebx
342 xorl %esi,%ecx
343 xorl %edi,%edx
344 andl 40(%esp),%ecx
345 andl 44(%esp),%edx
346 addl 192(%esp),%eax
347 adcl 196(%esp),%ebx
348 xorl %esi,%ecx
349 xorl %edi,%edx
350 movl (%ebp),%esi
351 movl 4(%ebp),%edi
352 addl %ecx,%eax
353 adcl %edx,%ebx
354 movl 32(%esp),%ecx
355 movl 36(%esp),%edx
356 addl %esi,%eax
357 adcl %edi,%ebx
358 movl %eax,(%esp)
359 movl %ebx,4(%esp)
360 addl %ecx,%eax
361 adcl %edx,%ebx
362 movl 8(%esp),%ecx
363 movl 12(%esp),%edx
364 movl %eax,32(%esp)
365 movl %ebx,36(%esp)
366 movl %ecx,%esi
367 shrl $2,%ecx
368 movl %edx,%edi
369 shrl $2,%edx
370 movl %ecx,%ebx
371 shll $4,%esi
372 movl %edx,%eax
373 shll $4,%edi
374 xorl %esi,%ebx
375 shrl $5,%ecx
376 xorl %edi,%eax
377 shrl $5,%edx
378 xorl %ecx,%ebx
379 shll $21,%esi
380 xorl %edx,%eax
381 shll $21,%edi
382 xorl %esi,%eax
383 shrl $21,%ecx
384 xorl %edi,%ebx
385 shrl $21,%edx
386 xorl %ecx,%eax
387 shll $5,%esi
388 xorl %edx,%ebx
389 shll $5,%edi
390 xorl %esi,%eax
391 xorl %edi,%ebx
392 movl 8(%esp),%ecx
393 movl 12(%esp),%edx
394 movl 16(%esp),%esi
395 movl 20(%esp),%edi
396 addl (%esp),%eax
397 adcl 4(%esp),%ebx
398 orl %esi,%ecx
399 orl %edi,%edx
400 andl 24(%esp),%ecx
401 andl 28(%esp),%edx
402 andl 8(%esp),%esi
403 andl 12(%esp),%edi
404 orl %esi,%ecx
405 orl %edi,%edx
406 addl %ecx,%eax
407 adcl %edx,%ebx
408 movl %eax,(%esp)
409 movl %ebx,4(%esp)
410 movb (%ebp),%dl
411 subl $8,%esp
412 leal 8(%ebp),%ebp
413 cmpb $23,%dl
414 jne L00416_79_x86
415 movl 840(%esp),%esi
416 movl 844(%esp),%edi
417 movl (%esi),%eax
418 movl 4(%esi),%ebx
419 movl 8(%esi),%ecx
420 movl 12(%esi),%edx
421 addl 8(%esp),%eax
422 adcl 12(%esp),%ebx
423 movl %eax,(%esi)
424 movl %ebx,4(%esi)
425 addl 16(%esp),%ecx
426 adcl 20(%esp),%edx
427 movl %ecx,8(%esi)
428 movl %edx,12(%esi)
429 movl 16(%esi),%eax
430 movl 20(%esi),%ebx
431 movl 24(%esi),%ecx
432 movl 28(%esi),%edx
433 addl 24(%esp),%eax
434 adcl 28(%esp),%ebx
435 movl %eax,16(%esi)
436 movl %ebx,20(%esi)
437 addl 32(%esp),%ecx
438 adcl 36(%esp),%edx
439 movl %ecx,24(%esi)
440 movl %edx,28(%esi)
441 movl 32(%esi),%eax
442 movl 36(%esi),%ebx
443 movl 40(%esi),%ecx
444 movl 44(%esi),%edx
445 addl 40(%esp),%eax
446 adcl 44(%esp),%ebx
447 movl %eax,32(%esi)
448 movl %ebx,36(%esi)
449 addl 48(%esp),%ecx
450 adcl 52(%esp),%edx
451 movl %ecx,40(%esi)
452 movl %edx,44(%esi)
453 movl 48(%esi),%eax
454 movl 52(%esi),%ebx
455 movl 56(%esi),%ecx
456 movl 60(%esi),%edx
457 addl 56(%esp),%eax
458 adcl 60(%esp),%ebx
459 movl %eax,48(%esi)
460 movl %ebx,52(%esi)
461 addl 64(%esp),%ecx
462 adcl 68(%esp),%edx
463 movl %ecx,56(%esi)
464 movl %edx,60(%esi)
465 addl $840,%esp
466 subl $640,%ebp
467 cmpl 8(%esp),%edi
468 jb L002loop_x86
469 movl 12(%esp),%esp
470 popl %edi
471 popl %esi
472 popl %ebx
473 popl %ebp
474 ret
475 .align 6,0x90
476 L001K512:
477 .long 3609767458,1116352408
478 .long 602891725,1899447441
479 .long 3964484399,3049323471
480 .long 2173295548,3921009573
481 .long 4081628472,961987163
482 .long 3053834265,1508970993
483 .long 2937671579,2453635748
484 .long 3664609560,2870763221
485 .long 2734883394,3624381080
486 .long 1164996542,310598401
487 .long 1323610764,607225278
488 .long 3590304994,1426881987
489 .long 4068182383,1925078388
490 .long 991336113,2162078206
491 .long 633803317,2614888103
492 .long 3479774868,3248222580
493 .long 2666613458,3835390401
494 .long 944711139,4022224774
495 .long 2341262773,264347078
496 .long 2007800933,604807628
497 .long 1495990901,770255983
498 .long 1856431235,1249150122
499 .long 3175218132,1555081692
500 .long 2198950837,1996064986
501 .long 3999719339,2554220882
502 .long 766784016,2821834349
503 .long 2566594879,2952996808
504 .long 3203337956,3210313671
505 .long 1034457026,3336571891
506 .long 2466948901,3584528711
507 .long 3758326383,113926993
508 .long 168717936,338241895
509 .long 1188179964,666307205
510 .long 1546045734,773529912
511 .long 1522805485,1294757372
512 .long 2643833823,1396182291
513 .long 2343527390,1695183700
514 .long 1014477480,1986661051
515 .long 1206759142,2177026350
516 .long 344077627,2456956037
517 .long 1290863460,2730485921
518 .long 3158454273,2820302411
519 .long 3505952657,3259730800
520 .long 106217008,3345764771
521 .long 3606008344,3516065817
522 .long 1432725776,3600352804
523 .long 1467031594,4094571909
524 .long 851169720,275423344
525 .long 3100823752,430227734
526 .long 1363258195,506948616
527 .long 3750685593,659060556
528 .long 3785050280,883997877
529 .long 3318307427,958139571
530 .long 3812723403,1322822218
531 .long 2003034995,1537002063
532 .long 3602036899,1747873779
533 .long 1575990012,1955562222
534 .long 1125592928,2024104815
535 .long 2716904306,2227730452
536 .long 442776044,2361852424
537 .long 593698344,2428436474
538 .long 3733110249,2756734187
539 .long 2999351573,3204031479
540 .long 3815920427,3329325298
541 .long 3928383900,3391569614
542 .long 566280711,3515267271
543 .long 3454069534,3940187606
544 .long 4000239992,4118630271
545 .long 1914138554,116418474
546 .long 2731055270,174292421
547 .long 3203993006,289380356
548 .long 320620315,460393269
549 .long 587496836,685471733
550 .long 1086792851,852142971
551 .long 365543100,1017036298
552 .long 2618297676,1126000580
553 .long 3409855158,1288033470
554 .long 4234509866,1501505948
555 .long 987167468,1607167915
556 .long 1246189591,1816402316
557 .byte 83,72,65,53,49,50,32,98,108,111,99,107,32,116,114,97
558 .byte 110,115,102,111,114,109,32,102,111,114,32,120,56,54,44,32
559 .byte 67,82,89,80,84,79,71,65,77,83,32,98,121,32,60,97
560 .byte 112,112,114,111,64,111,112,101,110,115,115,108,46,111,114,103
561 .byte 62,0
OLDNEW
« no previous file with comments | « openssl/crypto/sha/asm/sha512-586.pl ('k') | openssl/crypto/sha/asm/sha512-armv4.S » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698