From df057ea6c8a20e4babc047689507dfafde59ffd6 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 --- 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 a56d1a7b22..53b961baf6 100644 --- a/crypto/modes/asm/aesni-gcm-x86_64.pl +++ b/crypto/modes/asm/aesni-gcm-x86_64.pl @@ -490,7 +490,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.40.0