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

Side by Side Diff: third_party/boringssl/linux-x86/crypto/aes/aes-586.S

Issue 401153002: Switch to BoringSSL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase across DEPS change 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
1 #if defined(__i386__) 1 #if defined(__i386__)
2 .file "aes-586.S" 2 .file "aes-586.S"
3 .text 3 .text
4 .type _x86_AES_encrypt_compact,@function 4 .type _x86_AES_encrypt_compact,@function
5 .align 16 5 .align 16
6 _x86_AES_encrypt_compact: 6 _x86_AES_encrypt_compact:
7 movl %edi,20(%esp) 7 movl %edi,20(%esp)
8 xorl (%edi),%eax 8 xorl (%edi),%eax
9 xorl 4(%edi),%ebx 9 xorl 4(%edi),%ebx
10 xorl 8(%edi),%ecx 10 xorl 8(%edi),%ecx
(...skipping 983 matching lines...) Expand 10 before | Expand all | Expand 10 after
994 leal -127(%edi),%ebx 994 leal -127(%edi),%ebx
995 subl %esp,%ebx 995 subl %esp,%ebx
996 negl %ebx 996 negl %ebx
997 andl $960,%ebx 997 andl $960,%ebx
998 subl %ebx,%esp 998 subl %ebx,%esp
999 addl $4,%esp 999 addl $4,%esp
1000 movl %eax,28(%esp) 1000 movl %eax,28(%esp)
1001 call .L004pic_point 1001 call .L004pic_point
1002 .L004pic_point: 1002 .L004pic_point:
1003 popl %ebp 1003 popl %ebp
1004 » leal» OPENSSL_ia32cap_P,%eax 1004 » leal» OPENSSL_ia32cap_P-.L004pic_point(%ebp),%eax
1005 leal .LAES_Te-.L004pic_point(%ebp),%ebp 1005 leal .LAES_Te-.L004pic_point(%ebp),%ebp
1006 leal 764(%esp),%ebx 1006 leal 764(%esp),%ebx
1007 subl %ebp,%ebx 1007 subl %ebp,%ebx
1008 andl $768,%ebx 1008 andl $768,%ebx
1009 leal 2176(%ebp,%ebx,1),%ebp 1009 leal 2176(%ebp,%ebx,1),%ebp
1010 btl $25,(%eax) 1010 btl $25,(%eax)
1011 jnc .L005x86 1011 jnc .L005x86
1012 movq (%esi),%mm0 1012 movq (%esi),%mm0
1013 movq 8(%esi),%mm4 1013 movq 8(%esi),%mm4
1014 call _sse_AES_encrypt_compact 1014 call _sse_AES_encrypt_compact
(...skipping 1171 matching lines...) Expand 10 before | Expand all | Expand 10 after
2186 leal -127(%edi),%ebx 2186 leal -127(%edi),%ebx
2187 subl %esp,%ebx 2187 subl %esp,%ebx
2188 negl %ebx 2188 negl %ebx
2189 andl $960,%ebx 2189 andl $960,%ebx
2190 subl %ebx,%esp 2190 subl %ebx,%esp
2191 addl $4,%esp 2191 addl $4,%esp
2192 movl %eax,28(%esp) 2192 movl %eax,28(%esp)
2193 call .L010pic_point 2193 call .L010pic_point
2194 .L010pic_point: 2194 .L010pic_point:
2195 popl %ebp 2195 popl %ebp
2196 » leal» OPENSSL_ia32cap_P,%eax 2196 » leal» OPENSSL_ia32cap_P-.L010pic_point(%ebp),%eax
2197 leal .LAES_Td-.L010pic_point(%ebp),%ebp 2197 leal .LAES_Td-.L010pic_point(%ebp),%ebp
2198 leal 764(%esp),%ebx 2198 leal 764(%esp),%ebx
2199 subl %ebp,%ebx 2199 subl %ebp,%ebx
2200 andl $768,%ebx 2200 andl $768,%ebx
2201 leal 2176(%ebp,%ebx,1),%ebp 2201 leal 2176(%ebp,%ebx,1),%ebp
2202 btl $25,(%eax) 2202 btl $25,(%eax)
2203 jnc .L011x86 2203 jnc .L011x86
2204 movq (%esi),%mm0 2204 movq (%esi),%mm0
2205 movq 8(%esi),%mm4 2205 movq 8(%esi),%mm4
2206 call _sse_AES_decrypt_compact 2206 call _sse_AES_decrypt_compact
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
2242 pushl %ebp 2242 pushl %ebp
2243 pushl %ebx 2243 pushl %ebx
2244 pushl %esi 2244 pushl %esi
2245 pushl %edi 2245 pushl %edi
2246 movl 28(%esp),%ecx 2246 movl 28(%esp),%ecx
2247 cmpl $0,%ecx 2247 cmpl $0,%ecx
2248 je .L012drop_out 2248 je .L012drop_out
2249 call .L013pic_point 2249 call .L013pic_point
2250 .L013pic_point: 2250 .L013pic_point:
2251 popl %ebp 2251 popl %ebp
2252 » leal» OPENSSL_ia32cap_P,%eax 2252 » leal» OPENSSL_ia32cap_P-.L013pic_point(%ebp),%eax
2253 cmpl $0,40(%esp) 2253 cmpl $0,40(%esp)
2254 leal .LAES_Te-.L013pic_point(%ebp),%ebp 2254 leal .LAES_Te-.L013pic_point(%ebp),%ebp
2255 jne .L014picked_te 2255 jne .L014picked_te
2256 leal .LAES_Td-.LAES_Te(%ebp),%ebp 2256 leal .LAES_Td-.LAES_Te(%ebp),%ebp
2257 .L014picked_te: 2257 .L014picked_te:
2258 pushfl 2258 pushfl
2259 cld 2259 cld
2260 cmpl $512,%ecx 2260 cmpl $512,%ecx
2261 jb .L015slow_way 2261 jb .L015slow_way
2262 testl $15,%ecx 2262 testl $15,%ecx
(...skipping 972 matching lines...) Expand 10 before | Expand all | Expand 10 after
3235 xorl %eax,%eax 3235 xorl %eax,%eax
3236 popl %edi 3236 popl %edi
3237 popl %esi 3237 popl %esi
3238 popl %ebx 3238 popl %ebx
3239 popl %ebp 3239 popl %ebp
3240 ret 3240 ret
3241 .size AES_set_decrypt_key,.-.L_AES_set_decrypt_key_begin 3241 .size AES_set_decrypt_key,.-.L_AES_set_decrypt_key_begin
3242 .byte 65,69,83,32,102,111,114,32,120,56,54,44,32,67,82,89 3242 .byte 65,69,83,32,102,111,114,32,120,56,54,44,32,67,82,89
3243 .byte 80,84,79,71,65,77,83,32,98,121,32,60,97,112,112,114 3243 .byte 80,84,79,71,65,77,83,32,98,121,32,60,97,112,112,114
3244 .byte 111,64,111,112,101,110,115,115,108,46,111,114,103,62,0 3244 .byte 111,64,111,112,101,110,115,115,108,46,111,114,103,62,0
3245 #endif 3245 #endif
OLDNEW
« no previous file with comments | « third_party/boringssl/boringssl_unittest.cc ('k') | third_party/boringssl/linux-x86/crypto/aes/aesni-x86.S » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698