[openssl-commits] [openssl] OpenSSL_1_1_1-stable update

Andy Polyakov appro at openssl.org
Fri Oct 12 18:54:26 UTC 2018


The branch OpenSSL_1_1_1-stable has been updated
       via  7ed9ad1cc3fadcaac7815e588e23a3ad16379697 (commit)
      from  ed5108a387d98fa75c0810c33a05fc9e3bf0355b (commit)


- Log -----------------------------------------------------------------
commit 7ed9ad1cc3fadcaac7815e588e23a3ad16379697
Author: Andy Polyakov <appro at openssl.org>
Date:   Mon Sep 17 12:36:37 2018 +0200

    sha/asm/keccak1600-s390x.pl: resolve -march=z900 portability issue.
    
    Negative displacement in memory references was not originally specified,
    so that for maximum coverage one should abstain from it, just like with
    any other extension. [Unless it's guarded by run-time switch, but there
    is no switch in keccak1600-s390x.]
    
    Reviewed-by: Tim Hudson <tjh at openssl.org>
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/7239)
    
    (cherry picked from commit fc97c882f443060dffd8eb56a6b8784e52096c86)

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

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

diff --git a/crypto/sha/asm/keccak1600-s390x.pl b/crypto/sha/asm/keccak1600-s390x.pl
index 3bce19b..1184cf2 100755
--- a/crypto/sha/asm/keccak1600-s390x.pl
+++ b/crypto/sha/asm/keccak1600-s390x.pl
@@ -432,9 +432,9 @@ SHA3_absorb:
 	lrvg	%r0,0($inp)
 	la	$inp,8($inp)
 	xg	%r0,0(%r1)
-	la	%r1,8(%r1)
 	a${g}hi	$len,-8
-	stg	%r0,-8(%r1)
+	stg	%r0,0(%r1)
+	la	%r1,8(%r1)
 	brct	$bsz,.Lblock_absorb
 
 	stm${g}	$inp,$len,$frame+3*$SIZE_T($sp)


More information about the openssl-commits mailing list