From: Eric Biggers <ebiggers@kernel.org>
To: David Howells <dhowells@redhat.com>
Cc: linux-crypto@vger.kernel.org
Subject: Re: SHAKE256 support
Date: Mon, 15 Sep 2025 17:07:27 -0500 [thread overview]
Message-ID: <20250915220727.GA286751@quark> (raw)
In-Reply-To: <2768235.1757970013@warthog.procyon.org.uk>
On Mon, Sep 15, 2025 at 10:00:13PM +0100, David Howells wrote:
> David Howells <dhowells@redhat.com> wrote:
>
> > I don't suppose you happen to have SHAKE128 and SHAKE256 support lurking up
> > your sleeve for lib/crypto/sha512.c?
>
> Actually, I assuming that lib/crypto/sha512.c is SHA-3, but I guess it might
> actually be SHA-2. I don't think it actually says in the file.
lib/crypto/sha512.c contains implementations of SHA-384 and SHA-512,
which are part of SHA-2. The SHA-3 equivalents are SHA3-384 and
SHA3-512.
We should move the SHA-3 code into lib/crypto/, just as I've done for
SHA-1 and SHA-2. I just haven't gotten to it yet. Nor have I
implemented SHAKE support, which would be new.
Contributions appreciated!
- Eric
next prev parent reply other threads:[~2025-09-15 22:07 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-15 20:51 SHAKE256 support David Howells
2025-09-15 21:00 ` David Howells
2025-09-15 22:07 ` Eric Biggers [this message]
2025-09-17 16:20 ` David Howells
2025-09-17 18:48 ` Eric Biggers
2025-09-17 19:11 ` David Howells
2025-09-17 19:28 ` Eric Biggers
2025-09-18 3:53 ` Joachim Vandersmissen
2025-09-18 4:17 ` Eric Biggers
2025-09-18 13:37 ` Simo Sorce
2025-09-18 15:53 ` Eric Biggers
2025-09-19 0:05 ` Theodore Ts'o
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=20250915220727.GA286751@quark \
--to=ebiggers@kernel.org \
--cc=dhowells@redhat.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