[openssl-commits] [openssl] OpenSSL_1_0_2-stable update

Andy Polyakov appro at openssl.org
Thu Aug 11 11:41:10 UTC 2016


The branch OpenSSL_1_0_2-stable has been updated
       via  657566ead90132f68aa2c9a407c9d3920476446c (commit)
      from  13bacff9aa9a457218ccdcf83224357c9464676e (commit)


- Log -----------------------------------------------------------------
commit 657566ead90132f68aa2c9a407c9d3920476446c
Author: Andy Polyakov <appro at openssl.org>
Date:   Sun Jul 31 21:19:57 2016 +0200

    sha/asm/sha1-x86_64.pl: fix crash in SHAEXT code on Windows.
    
    RT#4530
    
    Reviewed-by: Tim Hudson <tjh at openssl.org>
    (cherry picked from commit 7123aa81e9fb19afb11fdf3850662c5f7ff1f19c)

-----------------------------------------------------------------------

Summary of changes:
 crypto/sha/asm/sha1-x86_64.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/crypto/sha/asm/sha1-x86_64.pl b/crypto/sha/asm/sha1-x86_64.pl
index 5f375fc..752138b 100755
--- a/crypto/sha/asm/sha1-x86_64.pl
+++ b/crypto/sha/asm/sha1-x86_64.pl
@@ -372,9 +372,9 @@ $code.=<<___;
 .align	16
 .Loop_shaext:
 	dec		$num
-	lea		0x40($inp),%rax		# next input block
+	lea		0x40($inp),%r8		# next input block
 	paddd		@MSG[0],$E
-	cmovne		%rax,$inp
+	cmovne		%r8,$inp
 	movdqa		$ABCD,$ABCD_SAVE	# offload $ABCD
 ___
 for($i=0;$i<20-4;$i+=2) {


More information about the openssl-commits mailing list