From 093d20a8cb74e64d627fcd03532ba6b3150f1d1f Mon Sep 17 00:00:00 2001 From: Kurt Roeckx Date: Wed, 3 Feb 2016 18:54:02 +0100 Subject: [PATCH] Restore xmm7 from the correct address on win64 Reviewed-by: Richard Levitte RT: #4288, MR: #1831 (cherry picked from commit df057ea6c8a20e4babc047689507dfafde59ffd6) --- crypto/modes/asm/aesni-gcm-x86_64.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/modes/asm/aesni-gcm-x86_64.pl b/crypto/modes/asm/aesni-gcm-x86_64.pl index bd6bf72fe4..fc7710fd47 100644 --- a/crypto/modes/asm/aesni-gcm-x86_64.pl +++ b/crypto/modes/asm/aesni-gcm-x86_64.pl @@ -489,7 +489,7 @@ $code.=<<___; ___ $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 -- 2.25.1