From: Herbert Xu <herbert@gondor.apana.org.au>
To: Linux Crypto Mailing List <linux-crypto@vger.kernel.org>
Subject: [v2 PATCH 0/6] crypto: Add partial block API and hmac to ahash
Date: Sun, 11 May 2025 17:09:29 +0800 [thread overview]
Message-ID: <cover.1746954402.git.herbert@gondor.apana.org.au> (raw)
v2 fixes a typo in the virt address fallback handling in ahash.
This series adds partial block handling to ahash so that drivers
do not have to handle them. It also adds hmac ahash support so
that drivers that do hmac purely in software can be simplified.
Herbert Xu (6):
crypto: hash - Move core export and import into internel/hash.h
crypto: ahash - Handle partial blocks in API
crypto: hmac - Zero shash desc in setkey
crypto: shash - Set reqsize in shash_alg
crypto: algapi - Add driver template support to crypto_inst_setname
crypto: hmac - Add ahash support
crypto/ahash.c | 554 ++++++++++++++++-----------------
crypto/algapi.c | 8 +-
crypto/hmac.c | 353 ++++++++++++++++++---
crypto/shash.c | 2 +
include/crypto/algapi.h | 12 +-
include/crypto/hash.h | 63 +---
include/crypto/internal/hash.h | 57 ++++
7 files changed, 666 insertions(+), 383 deletions(-)
--
2.39.5
next reply other threads:[~2025-05-11 9:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-11 9:09 Herbert Xu [this message]
2025-05-11 9:09 ` [v2 PATCH 1/6] crypto: hash - Move core export and import into internel/hash.h Herbert Xu
2025-05-11 9:09 ` [v2 PATCH 2/6] crypto: ahash - Handle partial blocks in API Herbert Xu
2025-05-11 9:09 ` [v2 PATCH 3/6] crypto: hmac - Zero shash desc in setkey Herbert Xu
2025-05-11 9:09 ` [v2 PATCH 4/6] crypto: shash - Set reqsize in shash_alg Herbert Xu
2025-05-11 9:09 ` [v2 PATCH 5/6] crypto: algapi - Add driver template support to crypto_inst_setname Herbert Xu
2025-05-11 9:09 ` [v2 PATCH 6/6] crypto: hmac - Add ahash support 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=cover.1746954402.git.herbert@gondor.apana.org.au \
--to=herbert@gondor.apana.org.au \
--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