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

Side by Side Diff: openssl/crypto/sha/asm/sha256-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/sha256-586.pl ('k') | openssl/crypto/sha/asm/sha256-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 _sha256_block_data_order
4 .align 4
5 _sha256_block_data_order:
6 L_sha256_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 L001K256-L000pic_point(%ebp),%ebp
19 subl $16,%esp
20 andl $-64,%esp
21 shll $6,%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:
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 addl $64,%edi
78 subl $32,%esp
79 movl %edi,100(%esp)
80 movl (%esi),%eax
81 movl 4(%esi),%ebx
82 movl 8(%esi),%ecx
83 movl 12(%esi),%edi
84 movl %ebx,4(%esp)
85 movl %ecx,8(%esp)
86 movl %edi,12(%esp)
87 movl 16(%esi),%edx
88 movl 20(%esi),%ebx
89 movl 24(%esi),%ecx
90 movl 28(%esi),%edi
91 movl %ebx,20(%esp)
92 movl %ecx,24(%esp)
93 movl %edi,28(%esp)
94 .align 4,0x90
95 L00300_15:
96 movl 92(%esp),%ebx
97 movl %edx,%ecx
98 rorl $14,%ecx
99 movl 20(%esp),%esi
100 xorl %edx,%ecx
101 rorl $5,%ecx
102 xorl %edx,%ecx
103 rorl $6,%ecx
104 movl 24(%esp),%edi
105 addl %ecx,%ebx
106 xorl %edi,%esi
107 movl %edx,16(%esp)
108 movl %eax,%ecx
109 andl %edx,%esi
110 movl 12(%esp),%edx
111 xorl %edi,%esi
112 movl %eax,%edi
113 addl %esi,%ebx
114 rorl $9,%ecx
115 addl 28(%esp),%ebx
116 xorl %eax,%ecx
117 rorl $11,%ecx
118 movl 4(%esp),%esi
119 xorl %eax,%ecx
120 rorl $2,%ecx
121 addl %ebx,%edx
122 movl 8(%esp),%edi
123 addl %ecx,%ebx
124 movl %eax,(%esp)
125 movl %eax,%ecx
126 subl $4,%esp
127 orl %esi,%eax
128 andl %esi,%ecx
129 andl %edi,%eax
130 movl (%ebp),%esi
131 orl %ecx,%eax
132 addl $4,%ebp
133 addl %ebx,%eax
134 addl %esi,%edx
135 addl %esi,%eax
136 cmpl $3248222580,%esi
137 jne L00300_15
138 movl 152(%esp),%ebx
139 .align 4,0x90
140 L00416_63:
141 movl %ebx,%esi
142 movl 100(%esp),%ecx
143 rorl $11,%esi
144 movl %ecx,%edi
145 xorl %ebx,%esi
146 rorl $7,%esi
147 shrl $3,%ebx
148 rorl $2,%edi
149 xorl %esi,%ebx
150 xorl %ecx,%edi
151 rorl $17,%edi
152 shrl $10,%ecx
153 addl 156(%esp),%ebx
154 xorl %ecx,%edi
155 addl 120(%esp),%ebx
156 movl %edx,%ecx
157 addl %edi,%ebx
158 rorl $14,%ecx
159 movl 20(%esp),%esi
160 xorl %edx,%ecx
161 rorl $5,%ecx
162 movl %ebx,92(%esp)
163 xorl %edx,%ecx
164 rorl $6,%ecx
165 movl 24(%esp),%edi
166 addl %ecx,%ebx
167 xorl %edi,%esi
168 movl %edx,16(%esp)
169 movl %eax,%ecx
170 andl %edx,%esi
171 movl 12(%esp),%edx
172 xorl %edi,%esi
173 movl %eax,%edi
174 addl %esi,%ebx
175 rorl $9,%ecx
176 addl 28(%esp),%ebx
177 xorl %eax,%ecx
178 rorl $11,%ecx
179 movl 4(%esp),%esi
180 xorl %eax,%ecx
181 rorl $2,%ecx
182 addl %ebx,%edx
183 movl 8(%esp),%edi
184 addl %ecx,%ebx
185 movl %eax,(%esp)
186 movl %eax,%ecx
187 subl $4,%esp
188 orl %esi,%eax
189 andl %esi,%ecx
190 andl %edi,%eax
191 movl (%ebp),%esi
192 orl %ecx,%eax
193 addl $4,%ebp
194 addl %ebx,%eax
195 movl 152(%esp),%ebx
196 addl %esi,%edx
197 addl %esi,%eax
198 cmpl $3329325298,%esi
199 jne L00416_63
200 movl 352(%esp),%esi
201 movl 4(%esp),%ebx
202 movl 8(%esp),%ecx
203 movl 12(%esp),%edi
204 addl (%esi),%eax
205 addl 4(%esi),%ebx
206 addl 8(%esi),%ecx
207 addl 12(%esi),%edi
208 movl %eax,(%esi)
209 movl %ebx,4(%esi)
210 movl %ecx,8(%esi)
211 movl %edi,12(%esi)
212 movl 20(%esp),%eax
213 movl 24(%esp),%ebx
214 movl 28(%esp),%ecx
215 movl 356(%esp),%edi
216 addl 16(%esi),%edx
217 addl 20(%esi),%eax
218 addl 24(%esi),%ebx
219 addl 28(%esi),%ecx
220 movl %edx,16(%esi)
221 movl %eax,20(%esi)
222 movl %ebx,24(%esi)
223 movl %ecx,28(%esi)
224 addl $352,%esp
225 subl $256,%ebp
226 cmpl 8(%esp),%edi
227 jb L002loop
228 movl 12(%esp),%esp
229 popl %edi
230 popl %esi
231 popl %ebx
232 popl %ebp
233 ret
234 .align 6,0x90
235 L001K256:
236 .long 1116352408,1899447441,3049323471,3921009573
237 .long 961987163,1508970993,2453635748,2870763221
238 .long 3624381080,310598401,607225278,1426881987
239 .long 1925078388,2162078206,2614888103,3248222580
240 .long 3835390401,4022224774,264347078,604807628
241 .long 770255983,1249150122,1555081692,1996064986
242 .long 2554220882,2821834349,2952996808,3210313671
243 .long 3336571891,3584528711,113926993,338241895
244 .long 666307205,773529912,1294757372,1396182291
245 .long 1695183700,1986661051,2177026350,2456956037
246 .long 2730485921,2820302411,3259730800,3345764771
247 .long 3516065817,3600352804,4094571909,275423344
248 .long 430227734,506948616,659060556,883997877
249 .long 958139571,1322822218,1537002063,1747873779
250 .long 1955562222,2024104815,2227730452,2361852424
251 .long 2428436474,2756734187,3204031479,3329325298
252 .byte 83,72,65,50,53,54,32,98,108,111,99,107,32,116,114,97
253 .byte 110,115,102,111,114,109,32,102,111,114,32,120,56,54,44,32
254 .byte 67,82,89,80,84,79,71,65,77,83,32,98,121,32,60,97
255 .byte 112,112,114,111,64,111,112,101,110,115,115,108,46,111,114,103
256 .byte 62,0
OLDNEW
« no previous file with comments | « openssl/crypto/sha/asm/sha256-586.pl ('k') | openssl/crypto/sha/asm/sha256-armv4.S » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698