public inbox for linux-crypto@vger.kernel.org
 help / color / mirror / Atom feed
* Failure in HMAC with Whirlpool hash in 6.16-rc2
@ 2025-06-19 21:18 Milan Broz
  2025-06-20  4:19 ` Herbert Xu
  2025-06-20  5:47 ` [PATCH] crypto: wp512 - Use API partial block handling Herbert Xu
  0 siblings, 2 replies; 9+ messages in thread
From: Milan Broz @ 2025-06-19 21:18 UTC (permalink / raw)
  To: Herbert Xu; +Cc: linux-crypto@vger.kernel.org

Hi Herbert,

another regression in kernel 6.16-rc2, this time in AF_ALF for Whirlpool hash.

Cryptsetup can use kernel userspace API instead of userspace crypto lib and we
have some testvectors to detect breakage of crypto.

It now fails with PBKDF with Whirlpool hash (HMAC).

You can reproduce it compiling cryptsetup with kernel API backend and run vector test:
./autogen.sh
./configure --with-crypto_backend=kernel
make check-programs
tests/vectors-test
...

PBKDF vector 17 pbkdf2-sha1 [OK]
PBKDF vector 18 pbkdf2-sha256 [OK]
PBKDF vector 19 pbkdf2-sha512 [OK]
PBKDF vector 20 pbkdf2-whirlpool [API FAILED]
PBKDF test failed.

The bisect points to

Author: Herbert Xu <herbert@gondor.apana.org.au>
Date:   Thu May 15 13:54:42 2025 +0800

     crypto: hmac - Add export_core and import_core

     Add export_import and import_core so that hmac can be used as a
     fallback by block-only drivers.

Please let me know if you need more info.
Milan


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-06-21  3:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-19 21:18 Failure in HMAC with Whirlpool hash in 6.16-rc2 Milan Broz
2025-06-20  4:19 ` Herbert Xu
2025-06-20  5:47 ` [PATCH] crypto: wp512 - Use API partial block handling Herbert Xu
2025-06-20  8:10   ` Milan Broz
2025-06-20  8:37     ` [v2 PATCH] " Herbert Xu
2025-06-20  8:52       ` Milan Broz
2025-06-20 12:15         ` [v3 " Herbert Xu
2025-06-20 13:22           ` Milan Broz
2025-06-21  3:06             ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox