From: Patrick Steuer Date: Tue, 24 Oct 2017 11:29:40 +0000 (+0200) Subject: crypto/aes/asm/aes-s390x.pl: replace decrypt flag by macro. X-Git-Tag: OpenSSL_1_1_1-pre1~223 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=e21a84308c02df63715f8867beb4a2b1036bcb35 crypto/aes/asm/aes-s390x.pl: replace decrypt flag by macro. Signed-off-by: Patrick Steuer Reviewed-by: Andy Polyakov Reviewed-by: Tim Hudson (Merged from https://github.com/openssl/openssl/pull/4634) --- diff --git a/crypto/aes/asm/aes-s390x.pl b/crypto/aes/asm/aes-s390x.pl index cfbe132132..bab566223b 100644 --- a/crypto/aes/asm/aes-s390x.pl +++ b/crypto/aes/asm/aes-s390x.pl @@ -1086,7 +1086,7 @@ $code.=<<___ if (!$softonly); lhi $t1,16 cr $t0,$t1 jl .Lgo - oill $t0,0x80 # set "decrypt" bit + oill $t0,S390X_DECRYPT # set "decrypt" bit st $t0,240($key) br $ra ___ @@ -1225,7 +1225,7 @@ $code.=<<___ if (!$softonly); .align 16 .Lkmc_truncated: ahi $key,-1 # it's the way it's encoded in mvc - tmll %r0,0x80 + tmll %r0,S390X_DECRYPT jnz .Lkmc_truncated_dec lghi %r1,0 stg %r1,16*$SIZE_T($sp)