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

Unified Diff: third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha256-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/sha256-x86_64.S
diff --git a/third_party/boringssl/linux-x86_64/crypto/sha/sha256-x86_64.S b/third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha256-x86_64.S
similarity index 99%
rename from third_party/boringssl/linux-x86_64/crypto/sha/sha256-x86_64.S
rename to third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha256-x86_64.S
index 62534be495d3d6a8ef80dbb243a51101076a1c20..59830392ef31bae3f72075247071957823a92c65 100644
--- a/third_party/boringssl/linux-x86_64/crypto/sha/sha256-x86_64.S
+++ b/third_party/boringssl/linux-x86_64/crypto/fipsmodule/sha256-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 sha256_block_data_order
.hidden sha256_block_data_order
.type sha256_block_data_order,@function
.align 16
sha256_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 @@ sha256_block_data_order:
movl 20(%rdi),%r9d
movl 24(%rdi),%r10d
movl 28(%rdi),%r11d
+
jmp .Lloop
.align 16

Powered by Google App Engine
This is Rietveld 408576698