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

Unified Diff: third_party/boringssl/win-x86_64/crypto/fipsmodule/sha256-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/sha256-x86_64.asm
diff --git a/third_party/boringssl/win-x86_64/crypto/sha/sha256-x86_64.asm b/third_party/boringssl/win-x86_64/crypto/fipsmodule/sha256-x86_64.asm
similarity index 99%
rename from third_party/boringssl/win-x86_64/crypto/sha/sha256-x86_64.asm
rename to third_party/boringssl/win-x86_64/crypto/fipsmodule/sha256-x86_64.asm
index 6e3d1541ac752b211448b963415ed346c26db1d7..68da567dea96e322a0cf761e2bfd548fcf526f30 100644
--- a/third_party/boringssl/win-x86_64/crypto/sha/sha256-x86_64.asm
+++ b/third_party/boringssl/win-x86_64/crypto/fipsmodule/sha256-x86_64.asm
@@ -5,7 +5,7 @@ default rel
section .text code align=64
-EXTERN OPENSSL_ia32cap_P
+EXTERN OPENSSL_ia32cap_addr
global sha256_block_data_order
ALIGN 16
@@ -19,7 +19,8 @@ $L$SEH_begin_sha256_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 r9d,DWORD[20+rdi]
mov r10d,DWORD[24+rdi]
mov r11d,DWORD[28+rdi]
+
jmp NEAR $L$loop
ALIGN 16

Powered by Google App Engine
This is Rietveld 408576698