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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series is based on

	https://lore.kernel.org/linux-crypto/cover.1744454589.git.herbert@xxxxxxxxxxxxxxxxxxx

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%)

-- 
2.39.5





[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux