public inbox for linux-crypto@vger.kernel.org
 help / color / mirror / Atom feed
* Adding SHAKE hash algorithms to SHA-3
@ 2025-09-15  8:30 David Howells
  2025-09-15 12:00 ` Herbert Xu
  0 siblings, 1 reply; 7+ messages in thread
From: David Howells @ 2025-09-15  8:30 UTC (permalink / raw)
  To: Herbert Xu; +Cc: dhowells, Stephan Mueller, linux-crypto

Hi Herbert,

I'm looking at adding ML-DSA from leancrypto to the kernel to support PQC
module signing.  This requires some SHAKE algorithms, however.  Leancrypto
comes with its own SHA-3 implementation that also implements these, but I'd
rather use the already existing kernel one.

The problem is that struct shash_alg expects the digestsize to be fixed - but
with SHAKE this isn't the case.  If it's okay with you, I'll replace the
digestsize field with a set_digestsize and a get_digestsize function as
leancrypto does.

David


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

end of thread, other threads:[~2025-09-19 15:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-15  8:30 Adding SHAKE hash algorithms to SHA-3 David Howells
2025-09-15 12:00 ` Herbert Xu
2025-09-15 20:48   ` David Howells
2025-09-15 22:10     ` Eric Biggers
2025-09-19  6:41   ` David Howells
2025-09-19 13:57     ` Simo Sorce
2025-09-19 15:49       ` Stephan Müller

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