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

Unified Diff: third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha512-x86_64.S

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/linux-x86_64/crypto/fipsmodule/sha512-x86_64.S
diff --git a/third_party/boringssl/linux-x86_64/crypto/sha/sha512-x86_64.S b/third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha512-x86_64.S
similarity index 99%
rename from third_party/boringssl/linux-x86_64/crypto/sha/sha512-x86_64.S
rename to third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha512-x86_64.S
index 1f1793bb0f9a5a3e0f93c38a67c9b5b52edcdd59..6eedfbcc38303e8f72e0c476b9e107fd8ce0a8ab 100644
--- a/third_party/boringssl/linux-x86_64/crypto/sha/sha512-x86_64.S
+++ b/third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha512-x86_64.S
@@ -1,14 +1,15 @@
#if defined(__x86_64__) && !defined(OPENSSL_NO_ASM)
.text
-.extern OPENSSL_ia32cap_P
-.hidden OPENSSL_ia32cap_P
+.extern OPENSSL_ia32cap_addr
+.hidden OPENSSL_ia32cap_addr
.globl sha512_block_data_order
.hidden sha512_block_data_order
.type sha512_block_data_order,@function
.align 16
sha512_block_data_order:
- leaq OPENSSL_ia32cap_P(%rip),%r11
+ leaq OPENSSL_ia32cap_addr(%rip),%r11
+ movq (%r11),%r11
movl 0(%r11),%r9d
movl 4(%r11),%r10d
movl 8(%r11),%r11d
@@ -44,6 +45,7 @@ sha512_block_data_order:
movq 40(%rdi),%r9
movq 48(%rdi),%r10
movq 56(%rdi),%r11
+
jmp .Lloop
.align 16

Powered by Google App Engine
This is Rietveld 408576698