Index: third_party/boringssl/mac-x86_64/crypto/fipsmodule/sha512-x86_64.S |
diff --git a/third_party/boringssl/mac-x86_64/crypto/sha/sha512-x86_64.S b/third_party/boringssl/mac-x86_64/crypto/fipsmodule/sha512-x86_64.S |
similarity index 99% |
rename from third_party/boringssl/mac-x86_64/crypto/sha/sha512-x86_64.S |
rename to third_party/boringssl/mac-x86_64/crypto/fipsmodule/sha512-x86_64.S |
index 0b738e6f453fcb7d7253d78e46435a37e15b4df6..e84bde7584aa1823862da307c87c8ca08de59187 100644 |
--- a/third_party/boringssl/mac-x86_64/crypto/sha/sha512-x86_64.S |
+++ b/third_party/boringssl/mac-x86_64/crypto/fipsmodule/sha512-x86_64.S |
@@ -7,7 +7,8 @@ |
.p2align 4 |
_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 |
@@ -43,6 +44,7 @@ L$prologue: |
movq 40(%rdi),%r9 |
movq 48(%rdi),%r10 |
movq 56(%rdi),%r11 |
+ |
jmp L$loop |
.p2align 4 |