Restore xmm7 from the correct address on win64
authorKurt Roeckx <kurt@roeckx.be>
Wed, 3 Feb 2016 17:54:02 +0000 (18:54 +0100)
committerKurt Roeckx <kurt@roeckx.be>
Thu, 4 Feb 2016 14:42:50 +0000 (15:42 +0100)
Reviewed-by: Richard Levitte <levitte@openssl.org>
RT: #4288, MR: #1831
(cherry picked from commit df057ea6c8a20e4babc047689507dfafde59ffd6)

crypto/modes/asm/aesni-gcm-x86_64.pl

index bd6bf72fe487679c71d9a2ff82ac36ab7374db0a..fc7710fd47cd7c70c6f927477d891be3899fd709 100644 (file)
@@ -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