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

Unified Diff: third_party/boringssl/win-x86_64/crypto/aes/aesni-x86_64.asm

Issue 723343002: Update from https://crrev.com/304121 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/boringssl/boringssl_unittest.cc ('k') | third_party/harfbuzz-ng/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/boringssl/win-x86_64/crypto/aes/aesni-x86_64.asm
diff --git a/third_party/boringssl/win-x86_64/crypto/aes/aesni-x86_64.asm b/third_party/boringssl/win-x86_64/crypto/aes/aesni-x86_64.asm
index 30e8a85eef6aa881e49cb972ee40c2066035b878..e1c9e0e0203fe32784c7845ef67135a6707ca05a 100644
--- a/third_party/boringssl/win-x86_64/crypto/aes/aesni-x86_64.asm
+++ b/third_party/boringssl/win-x86_64/crypto/aes/aesni-x86_64.asm
@@ -519,6 +519,12 @@ $L$SEH_begin_aesni_ecb_encrypt:
mov r8,QWORD[40+rsp]
+ lea rsp,[((-88))+rsp]
+ movaps XMMWORD[rsp],xmm6
+ movaps XMMWORD[16+rsp],xmm7
+ movaps XMMWORD[32+rsp],xmm8
+ movaps XMMWORD[48+rsp],xmm9
+$L$ecb_enc_body:
and rdx,-16
jz NEAR $L$ecb_ret
@@ -813,6 +819,12 @@ $L$ecb_dec_six:
movups XMMWORD[80+rsi],xmm7
$L$ecb_ret:
+ movaps xmm6,XMMWORD[rsp]
+ movaps xmm7,XMMWORD[16+rsp]
+ movaps xmm8,XMMWORD[32+rsp]
+ movaps xmm9,XMMWORD[48+rsp]
+ lea rsp,[88+rsp]
+$L$ecb_enc_ret:
mov rdi,QWORD[8+rsp] ;WIN64 epilogue
mov rsi,QWORD[16+rsp]
DB 0F3h,0C3h ;repret
@@ -3378,26 +3390,7 @@ ALIGN 64
EXTERN __imp_RtlVirtualUnwind
ALIGN 16
-ecb_se_handler:
- push rsi
- push rdi
- push rbx
- push rbp
- push r12
- push r13
- push r14
- push r15
- pushfq
- sub rsp,64
-
- mov rax,QWORD[152+r8]
-
- jmp NEAR $L$common_seh_tail
-
-
-
-ALIGN 16
-ccm64_se_handler:
+ecb_ccm64_se_handler:
push rsi
push rdi
push rbx
@@ -3600,14 +3593,15 @@ section .xdata rdata align=8
ALIGN 8
$L$SEH_info_ecb:
DB 9,0,0,0
- DD ecb_se_handler wrt ..imagebase
+ DD ecb_ccm64_se_handler wrt ..imagebase
+ DD $L$ecb_enc_body wrt ..imagebase,$L$ecb_enc_ret wrt ..imagebase
$L$SEH_info_ccm64_enc:
DB 9,0,0,0
- DD ccm64_se_handler wrt ..imagebase
+ DD ecb_ccm64_se_handler wrt ..imagebase
DD $L$ccm64_enc_body wrt ..imagebase,$L$ccm64_enc_ret wrt ..imagebase
$L$SEH_info_ccm64_dec:
DB 9,0,0,0
- DD ccm64_se_handler wrt ..imagebase
+ DD ecb_ccm64_se_handler wrt ..imagebase
DD $L$ccm64_dec_body wrt ..imagebase,$L$ccm64_dec_ret wrt ..imagebase
$L$SEH_info_ctr32:
DB 9,0,0,0
« no previous file with comments | « third_party/boringssl/boringssl_unittest.cc ('k') | third_party/harfbuzz-ng/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698