public inbox for linux-crypto@vger.kernel.org
 help / color / mirror / Atom feed
From: Herbert Xu <herbert@gondor.apana.org.au>
To: Milan Broz <gmazyland@gmail.com>
Cc: "linux-crypto@vger.kernel.org" <linux-crypto@vger.kernel.org>
Subject: Re: Failure in HMAC with Whirlpool hash in 6.16-rc2
Date: Fri, 20 Jun 2025 12:19:53 +0800	[thread overview]
Message-ID: <aFThaUNAAhx_wPu6@gondor.apana.org.au> (raw)
In-Reply-To: <8be28417-2733-4494-8a09-b4343a3bcf3d@gmail.com>

On Thu, Jun 19, 2025 at 11:18:13PM +0200, Milan Broz wrote:
> 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).

I grepped for hmac(wp512) and didn't find any hits so I assumed
that nobody used that.

I will convert wp512 to block-only so that it may be used with
hmac again.

Thanks,
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

  reply	other threads:[~2025-06-20  4:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-19 21:18 Failure in HMAC with Whirlpool hash in 6.16-rc2 Milan Broz
2025-06-20  4:19 ` Herbert Xu [this message]
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

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=aFThaUNAAhx_wPu6@gondor.apana.org.au \
    --to=herbert@gondor.apana.org.au \
    --cc=gmazyland@gmail.com \
    --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