Skip to content

crypto: hash - Preparation for block-only shash

Herbert Xu linux-crypto 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8crypto: hash - Add HASH_REQUEST_ON_STACKcrypto/ahash.c include/crypto/hash.h include/crypto/internal/hash.h+171 -150 replies
2/8crypto: zynqmp-sha - Add lockingdrivers/crypto/xilinx/zynqmp-sha.c+14 -40 replies
3/8crypto: arm64/sha512 - Fix header inclusionsarch/arm64/crypto/sha512-glue.c+2 -30 replies
4/8crypto: hash - Update HASH_MAX_DESCSIZE commentinclude/crypto/hash.h+2 -20 replies
5/8crypto: lib/sm3 - Move sm3 library into lib/cryptoarch/arm64/crypto/Kconfig arch/riscv/crypto/Kconfig arch/x86/crypto/Kconfig +5 more+11 -90 replies
6/8crypto: lib/sm3 - Export generic block functioninclude/crypto/sm3.h lib/crypto/sm3.c+13 -130 replies
7/8crypto: sm3-base - Use sm3_initinclude/crypto/sm3_base.h+1 -120 replies
8/8crypto: cbcmac - Set block size properlyarch/arm64/crypto/aes-glue.c arch/arm64/crypto/sm4-ce-glue.c crypto/ccm.c +1 more+4 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] crypto: hash - Preparation for block-only shash

This series is based on

	https://lore.kernel.org/linux-crypto/[email protected]

Add helpers to use stack requests with any ahash algorithm, with optional dynamic allocation when required for async.

THe rest of the series are miscellaneous fixes in preparation for the next series which will introduce block-only shash.

Herbert Xu (8):
crypto: hash - Add HASH_REQUEST_ON_STACK
crypto: zynqmp-sha - Add locking
crypto: arm64/sha512 - Fix header inclusions
crypto: hash - Update HASH_MAX_DESCSIZE comment
crypto: lib/sm3 - Move sm3 library into lib/crypto
crypto: lib/sm3 - Export generic block function
crypto: sm3-base - Use sm3_init
crypto: cbcmac - Set block size properly

 arch/arm64/crypto/Kconfig                    |   4 +-
 arch/arm64/crypto/aes-glue.c                 |   2 +-
 arch/arm64/crypto/sha512-glue.c              |   5 +-
 arch/arm64/crypto/sm4-ce-glue.c              |   2 +-
 arch/riscv/crypto/Kconfig                    |   2 +-
 arch/x86/crypto/Kconfig                      |   2 +-
 crypto/Kconfig                               |   5 +-
 crypto/Makefile                              |   1 -
 crypto/ahash.c                               | 106 ++++++++++++++++++-
 crypto/ccm.c                                 |   2 +-
 drivers/crypto/inside-secure/safexcel_hash.c |   2 +-
 drivers/crypto/xilinx/zynqmp-sha.c           |  18 +++-
 include/crypto/hash.h                        |  58 +++++++---
 include/crypto/internal/hash.h               |  26 ++++-
 include/crypto/sm3.h                         |   1 +
 include/crypto/sm3_base.h                    |  13 +--
 lib/crypto/Kconfig                           |   3 +
 lib/crypto/Makefile                          |   3 +
 {crypto => lib/crypto}/sm3.c                 |  25 +++--
 19 files changed, 218 insertions(+), 62 deletions(-)
 rename {crypto => lib/crypto}/sm3.c (96%)
Signature · 1 line
2.39.5