public inbox for linux-crypto@vger.kernel.org
 help / color / mirror / Atom feed
* [v2 PATCH 0/6] crypto: Add partial block API and hmac to ahash
@ 2025-05-11  9:09 Herbert Xu
  2025-05-11  9:09 ` [v2 PATCH 1/6] crypto: hash - Move core export and import into internel/hash.h Herbert Xu
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Herbert Xu @ 2025-05-11  9:09 UTC (permalink / raw)
  To: Linux Crypto Mailing List

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


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

end of thread, other threads:[~2025-05-11  9:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-11  9:09 [v2 PATCH 0/6] crypto: Add partial block API and hmac to ahash Herbert Xu
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

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