Skip to content

Commit ac037dc

Browse files
committed
s390x assembly pack: fix OPENSSL_s390xcap z15 cpu mask
Signed-off-by: Patrick Steuer <[email protected]> Reviewed-by: Richard Levitte <[email protected]> (Merged from openssl#10004)
1 parent b3681e2 commit ac037dc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

crypto/s390xcap.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,8 @@ static int parse_env(struct OPENSSL_s390xcap_st *cap)
578578
S390X_CAPBIT(S390X_VX)
579579
| S390X_CAPBIT(S390X_VXD)
580580
| S390X_CAPBIT(S390X_VXE)
581-
| S390X_CAPBIT(S390X_MSA8),
581+
| S390X_CAPBIT(S390X_MSA8)
582+
| S390X_CAPBIT(S390X_MSA9),
582583
0ULL},
583584
/*.kimd = */{S390X_CAPBIT(S390X_QUERY)
584585
| S390X_CAPBIT(S390X_SHA_1)
@@ -642,11 +643,10 @@ static int parse_env(struct OPENSSL_s390xcap_st *cap)
642643
| S390X_CAPBIT(S390X_AES_192)
643644
| S390X_CAPBIT(S390X_AES_256),
644645
0ULL},
645-
/*.pcc = */{S390X_CAPBIT(S390X_QUERY)
646-
| S390X_CAPBIT(S390X_SCALAR_MULTIPLY_P256)
646+
/*.pcc = */{S390X_CAPBIT(S390X_QUERY),
647+
S390X_CAPBIT(S390X_SCALAR_MULTIPLY_P256)
647648
| S390X_CAPBIT(S390X_SCALAR_MULTIPLY_P384)
648-
| S390X_CAPBIT(S390X_SCALAR_MULTIPLY_P521),
649-
0ULL},
649+
| S390X_CAPBIT(S390X_SCALAR_MULTIPLY_P521)},
650650
/*.kdsa = */{S390X_CAPBIT(S390X_QUERY)
651651
| S390X_CAPBIT(S390X_ECDSA_VERIFY_P256)
652652
| S390X_CAPBIT(S390X_ECDSA_VERIFY_P384)

0 commit comments

Comments
 (0)