public inbox for linux-crypto@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Franzki <ifranzki@linux.ibm.com>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: linux-crypto@vger.kernel.org, Eric Biggers <ebiggers@kernel.org>,
	Harald Freudenberger <freude@linux.ibm.com>,
	Holger Dengler <dengler@linux.ibm.com>
Subject: CI: Selftest failures of s390 SHA3 and HMAC on next kernel
Date: Thu, 22 May 2025 16:13:59 +0200	[thread overview]
Message-ID: <623a7fcb-b4cb-48e6-9833-57ad2b32a252@linux.ibm.com> (raw)

Hi Herbert,

in tonight's CI run the self-tests of the s390x kernel ciphers for SHA-3 and HMAC (with SHA-2) started to fail on the next kernel.
This must be something the came into the next kernel just recently (yesterday). It did not fail before tonight.

Affected modules: sha3_512_s390, sha3_256_s390, and hmac_s390.
Not affected are: sha512_s390 and sha1_s390. 
sha256/sha224 no longer exist as module, probably due to the move to be a library now. 
All SHA-2 digest self-tests pass, but strangely, the HMAC with SHA-2 self-tests fail....

May 22 15:58:54 b3545036.lnxne.boe kernel: alg: ahash: hmac_s390_sha224 test failed (wrong result) on test vector "random: psize=0 ksize=131", cfg="random: may_sleep use_final src_divs=[<reimport>100.0%@+172] dst_divs=[89.63%@+2522, 8.1%@+19, 2.36%@+3988]"
May 22 15:58:54 b3545036.lnxne.boe kernel: alg: self-tests for hmac(sha224) using hmac_s390_sha224 failed (rc=-22)

May 22 15:58:54 b3545036.lnxne.boe kernel: alg: ahash: hmac_s390_sha256 test failed (wrong result) on test vector "random: psize=512 ksize=80", cfg="random: may_sleep use_final src_divs=[100.0%@+4080] iv_offset=88 key_offset=98"
May 22 15:58:54 b3545036.lnxne.boe kernel: alg: self-tests for hmac(sha256) using hmac_s390_sha256 failed (rc=-22)

May 22 15:58:54 b3545036.lnxne.boe kernel: alg: ahash: hmac_s390_sha384 test failed (wrong result) on test vector "random: psize=64 ksize=131", cfg="random: use_final nosimd src_divs=[90.40%@+29, 9.60%@+3750] iv_offset=111 key_offset=9"
May 22 15:58:54 b3545036.lnxne.boe kernel: alg: self-tests for hmac(sha384) using hmac_s390_sha384 failed (rc=-22)

May 22 15:58:54 b3545036.lnxne.boe kernel: alg: ahash: hmac_s390_sha512 test failed (wrong result) on test vector "random: psize=1556 ksize=7", cfg="random: use_final nosimd src_divs=[<reimport,nosimd>100.0%@+10] iv_offset=15"
May 22 15:58:54 b3545036.lnxne.boe kernel: alg: self-tests for hmac(sha512) using hmac_s390_sha512 failed (rc=-22)

May 22 15:59:44 b3545036.lnxne.boe kernel: alg: ahash: sha3-224-s390 test failed (wrong result) on test vector "random: psize=388 ksize=0", cfg="random: may_sleep use_final src_divs=[<flush>100.0%@+2585] key_offset=82"
May 22 15:59:44 b3545036.lnxne.boe kernel: alg: self-tests for sha3-224 using sha3-224-s390 failed (rc=-22)

May 22 15:59:44 b3545036.lnxne.boe kernel: alg: ahash: sha3-256-s390 test failed (wrong result) on test vector "random: psize=512 ksize=0", cfg="random: inplace_two_sglists use_final src_divs=[<reimport>89.54%@+3198, 5.23%@+5, 5.23%@+974] key_offset=46"
May 22 15:59:44 b3545036.lnxne.boe kernel: alg: self-tests for sha3-256 using sha3-256-s390 failed (rc=-22)

May 22 16:00:13 b3545036.lnxne.boe kernel: alg: ahash: sha3-384-s390 test failed (wrong result) on test vector "random: psize=2667 ksize=0", cfg="random: may_sleep use_final src_divs=[<flush>100.0%@+15] dst_divs=[100.0%@+275]"
May 22 16:00:13 b3545036.lnxne.boe kernel: alg: self-tests for sha3-384 using sha3-384-s390 failed (rc=-22)

May 22 16:00:13 b3545036.lnxne.boe kernel: alg: ahash: sha3-512-s390 test failed (wrong result) on test vector "random: psize=983 ksize=0", cfg="random: inplace_two_sglists use_final nosimd src_divs=[<flush>100.0%@+4]"
May 22 16:00:13 b3545036.lnxne.boe kernel: alg: self-tests for sha3-512 using sha3-512-s390 failed (rc=-22)

-- 
Ingo Franzki
eMail: ifranzki@linux.ibm.com  
Tel: ++49 (0)7031-16-4648
Linux on IBM Z Development, Schoenaicher Str. 220, 71032 Boeblingen, Germany

IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Gregor Pillen
Geschäftsführung: David Faller
Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht Stuttgart, HRB 243294
IBM DATA Privacy Statement: https://www.ibm.com/privacy/us/en/


             reply	other threads:[~2025-05-22 14:14 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-22 14:13 Ingo Franzki [this message]
2025-05-23  5:51 ` CI: Selftest failures of s390 SHA3 and HMAC on next kernel Herbert Xu
2025-05-23  8:02   ` Ingo Franzki
2025-05-23 11:24     ` [PATCH] crypto: s390/hmac - Fix counter in export state Herbert Xu
2025-05-23 11:41       ` Ingo Franzki
2025-05-23 11:41 ` CI: Selftest failures of s390 SHA3 and HMAC on next kernel Herbert Xu
2025-05-23 12:03   ` Ingo Franzki
2025-05-23 12:06     ` Herbert Xu
2025-05-23 12:28     ` [PATCH] crypto: s390/sha3 - Use cpu byte-order when exporting Herbert Xu
2025-05-23 12:54       ` Ingo Franzki
2025-05-23 12:56         ` Herbert Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=623a7fcb-b4cb-48e6-9833-57ad2b32a252@linux.ibm.com \
    --to=ifranzki@linux.ibm.com \
    --cc=dengler@linux.ibm.com \
    --cc=ebiggers@kernel.org \
    --cc=freude@linux.ibm.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-crypto@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox