]> granicus.if.org Git - openssl/commitdiff
s390x assembly pack: fix msa3 stfle bit detection
authorPatrick Steuer <patrick.steuer@de.ibm.com>
Tue, 24 Sep 2019 21:03:19 +0000 (23:03 +0200)
committerPatrick Steuer <patrick.steuer@de.ibm.com>
Wed, 25 Sep 2019 13:53:52 +0000 (15:53 +0200)
Signed-off-by: Patrick Steuer <patrick.steuer@de.ibm.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10004)

crypto/s390xcpuid.pl

index 36f742068bb87df60d32221a22665a1e7d153061..4906e0366a6c8eaccfdff213debc446807a79ff4 100755 (executable)
@@ -109,7 +109,7 @@ OPENSSL_s390x_functions:
        la      %r1,S390X_KMAC(%r4)
        .long   0xb91e0042              # kmac %r4,%r2
 
-       tmhh    %r3,0x0003              # check for message-security-assist-3
+       tmhh    %r3,0x0008              # check for message-security-assist-3
        jz      .Lret
 
        lghi    %r0,S390X_QUERY         # query pcc capability vector