commit | 6d49157929abdefb155daf2751dc03fd9eb4240c | [log] [tgz] |
---|---|---|
author | Brian Smith <brian@briansmith.org> | Wed Feb 17 18:55:59 2016 -1000 |
committer | David Benjamin <davidben@google.com> | Thu Feb 18 15:50:46 2016 +0000 |
tree | 0ee04a73c79649159853cfd47ff47205391f5328 | |
parent | e976e4349d693b4bbb97e1694f45be5a1b22c8c7 [diff] |
Restore |xmm7| correctly on Win64 in aesni-gcm-x86_64. See OpenSSL df057ea6c8a20e4babc047689507dfafde59ffd6. Change-Id: Ife10dc13ca335cd51434d7769ff85c6929f10226 Reviewed-on: https://boringssl-review.googlesource.com/7172 Reviewed-by: David Benjamin <davidben@google.com>
diff --git a/crypto/modes/asm/aesni-gcm-x86_64.pl b/crypto/modes/asm/aesni-gcm-x86_64.pl index 0ca89c7..26135e6 100644 --- a/crypto/modes/asm/aesni-gcm-x86_64.pl +++ b/crypto/modes/asm/aesni-gcm-x86_64.pl
@@ -477,7 +477,7 @@ ___ $code.=<<___ if ($win64); movaps -0xd8(%rax),%xmm6 - movaps -0xd8(%rax),%xmm7 + movaps -0xc8(%rax),%xmm7 movaps -0xb8(%rax),%xmm8 movaps -0xa8(%rax),%xmm9 movaps -0x98(%rax),%xmm10