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

Unified Diff: third_party/boringssl/win-x86_64/crypto/fipsmodule/sha512-x86_64.asm

Issue 2811393005: Roll src/third_party/boringssl/src c8ff30cbe..bc6a76b0e (Closed)
Patch Set: Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: third_party/boringssl/win-x86_64/crypto/fipsmodule/sha512-x86_64.asm
diff --git a/third_party/boringssl/win-x86_64/crypto/sha/sha512-x86_64.asm b/third_party/boringssl/win-x86_64/crypto/fipsmodule/sha512-x86_64.asm
similarity index 99%
rename from third_party/boringssl/win-x86_64/crypto/sha/sha512-x86_64.asm
rename to third_party/boringssl/win-x86_64/crypto/fipsmodule/sha512-x86_64.asm
index d0d7a43fbecdc06fcf772e31f04ca1e12a375519..1ee43c6ccfd7eee69bc7a4bf3165e2fb8cb4d2e5 100644
--- a/third_party/boringssl/win-x86_64/crypto/sha/sha512-x86_64.asm
+++ b/third_party/boringssl/win-x86_64/crypto/fipsmodule/sha512-x86_64.asm
@@ -5,7 +5,7 @@ default rel
section .text code align=64
-EXTERN OPENSSL_ia32cap_P
+EXTERN OPENSSL_ia32cap_addr
global sha512_block_data_order
ALIGN 16
@@ -19,7 +19,8 @@ $L$SEH_begin_sha512_block_data_order:
mov rdx,r8
- lea r11,[OPENSSL_ia32cap_P]
+ lea r11,[OPENSSL_ia32cap_addr]
+ mov r11,QWORD[r11]
mov r9d,DWORD[r11]
mov r10d,DWORD[4+r11]
mov r11d,DWORD[8+r11]
@@ -55,6 +56,7 @@ $L$prologue:
mov r9,QWORD[40+rdi]
mov r10,QWORD[48+rdi]
mov r11,QWORD[56+rdi]
+
jmp NEAR $L$loop
ALIGN 16

Powered by Google App Engine
This is Rietveld 408576698