linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/4] crypto: Add support for shake128/256 XOFs
@ 2025-06-23 13:18 Stefan Berger
  2025-06-23 13:18 ` [RFC PATCH 1/4] crypto: Add squeeze function to shash_alg for support of XOFs Stefan Berger
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Stefan Berger @ 2025-06-23 13:18 UTC (permalink / raw)
  To: linux-crypto, herbert, davem
  Cc: linux-kernel, James.Bottomley, dhowells, simo, Stefan Berger

This series adds support for shake128/256 extended output functions (XOFs)
along with test cases to verify the produced digest and XOF output. A new
squeeze method is added to the shash_alg structure to get an arbitrary
number of bytes from these XOFs.

Regards,
   Stefan

Stefan Berger (4):
  crypto: Add squeeze function to shash_alg for support of XOFs
  crypto: Add shake128/256 to generic sha3 module
  crypto: Add tests cases for shake128 & shake256 to testmgr
  crypto: Extend testmgr with tests for shake128/256 XOFs

 crypto/hash_info.c             |   4 +
 crypto/sha3_generic.c          | 211 +++++++++++++
 crypto/shash.c                 |   9 +
 crypto/testmgr.c               |  72 +++++
 crypto/testmgr.h               | 522 +++++++++++++++++++++++++++++++++
 include/crypto/algapi.h        |   2 +-
 include/crypto/hash.h          |  25 +-
 include/crypto/sha3.h          |  19 ++
 include/uapi/linux/hash_info.h |   2 +
 9 files changed, 862 insertions(+), 4 deletions(-)

-- 
2.49.0


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

end of thread, other threads:[~2025-06-23 13:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-23 13:18 [RFC PATCH 0/4] crypto: Add support for shake128/256 XOFs Stefan Berger
2025-06-23 13:18 ` [RFC PATCH 1/4] crypto: Add squeeze function to shash_alg for support of XOFs Stefan Berger
2025-06-23 13:18 ` [RFC PATCH 2/4] crypto: Add shake128/256 to generic sha3 module Stefan Berger
2025-06-23 13:18 ` [RFC PATCH 3/4] crypto: Add tests cases for shake128 & shake256 to testmgr Stefan Berger
2025-06-23 13:18 ` [RFC PATCH 4/4] crypto: Extend testmgr with tests for shake128/256 XOFs Stefan Berger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).