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

Unified Diff: third_party/boringssl/mac-x86_64/crypto/fipsmodule/sha1-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/mac-x86_64/crypto/fipsmodule/sha1-x86_64.S
diff --git a/third_party/boringssl/mac-x86_64/crypto/sha/sha1-x86_64.S b/third_party/boringssl/mac-x86_64/crypto/fipsmodule/sha1-x86_64.S
similarity index 99%
rename from third_party/boringssl/mac-x86_64/crypto/sha/sha1-x86_64.S
rename to third_party/boringssl/mac-x86_64/crypto/fipsmodule/sha1-x86_64.S
index ee70a4b3809dd4585b7f1a3d78f185d8e30ea91c..e5eb4c75f1cb45d5f9d4dd873ce3539eb586dffe 100644
--- a/third_party/boringssl/mac-x86_64/crypto/sha/sha1-x86_64.S
+++ b/third_party/boringssl/mac-x86_64/crypto/fipsmodule/sha1-x86_64.S
@@ -7,9 +7,11 @@
.p2align 4
_sha1_block_data_order:
- movl _OPENSSL_ia32cap_P+0(%rip),%r9d
- movl _OPENSSL_ia32cap_P+4(%rip),%r8d
- movl _OPENSSL_ia32cap_P+8(%rip),%r10d
+ leaq _OPENSSL_ia32cap_addr(%rip),%r10
+ movq (%r10),%r10
+ movl 0(%r10),%r9d
+ movl 4(%r10),%r8d
+ movl 8(%r10),%r10d
testl $512,%r8d
jz L$ialu
andl $268435456,%r8d

Powered by Google App Engine
This is Rietveld 408576698