All of lore.kernel.org
 help / color / mirror / Atom feed
* [v2 PATCH 0/9] crypto: sha256 - Use partial block API
@ 2025-05-02  5:30 Herbert Xu
  2025-05-02  5:30 ` [v2 PATCH 1/9] crypto: lib/sha256 - Add helpers for block-based shash Herbert Xu
                   ` (8 more replies)
  0 siblings, 9 replies; 17+ messages in thread
From: Herbert Xu @ 2025-05-02  5:30 UTC (permalink / raw)
  To: Linux Crypto Mailing List

This is based on

	https://patchwork.kernel.org/project/linux-crypto/list/?series=957785

which in turn is applied on top of

	https://patchwork.kernel.org/project/linux-crypto/list/?series=957558

Rather than going through the lib/sha256 partial block handling,
use the native shash partial block API.  Add two extra shash
algorithms to provide testing coverage for lib/sha256.

Herbert Xu (9):
  crypto: lib/sha256 - Add helpers for block-based shash
  crypto: sha256 - Use the partial block API for generic
  crypto: arch/sha256 - Export block functions as GPL only
  crypto: arm/sha256 - Add simd block function
  crypto: arm64/sha256 - Add simd block function
  crypto: riscv/sha256 - Add simd block function
  crypto: x86/sha256 - Add simd block function
  crypto: lib/sha256 - Use generic block helper
  crypto: sha256 - Use the partial block API

 arch/arm/lib/crypto/Kconfig                   |   1 +
 arch/arm/lib/crypto/sha256-armv4.pl           |  20 +--
 arch/arm/lib/crypto/sha256.c                  |  16 +-
 arch/arm64/crypto/sha512-glue.c               |   6 +-
 arch/arm64/lib/crypto/Kconfig                 |   1 +
 arch/arm64/lib/crypto/sha2-armv8.pl           |   2 +-
 arch/arm64/lib/crypto/sha256.c                |  16 +-
 .../mips/cavium-octeon/crypto/octeon-sha256.c |   4 +-
 arch/powerpc/lib/crypto/sha256.c              |   4 +-
 arch/riscv/lib/crypto/Kconfig                 |   1 +
 arch/riscv/lib/crypto/sha256.c                |  17 +-
 arch/s390/lib/crypto/sha256.c                 |   4 +-
 arch/sparc/lib/crypto/sha256.c                |   4 +-
 arch/x86/lib/crypto/Kconfig                   |   1 +
 arch/x86/lib/crypto/sha256.c                  |  16 +-
 crypto/sha256.c                               | 148 +++++++++++-------
 include/crypto/internal/sha2.h                |  52 +++++-
 include/crypto/sha2.h                         |  14 +-
 lib/crypto/Kconfig                            |   8 +
 lib/crypto/sha256.c                           |  97 ++----------
 20 files changed, 239 insertions(+), 193 deletions(-)

-- 
2.39.5


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

end of thread, other threads:[~2025-06-11  3:07 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-02  5:30 [v2 PATCH 0/9] crypto: sha256 - Use partial block API Herbert Xu
2025-05-02  5:30 ` [v2 PATCH 1/9] crypto: lib/sha256 - Add helpers for block-based shash Herbert Xu
2025-06-03  4:56   ` [v2 PATCH 1/9] crypto: lib/sha256 - Add helpers for block-based shash (RT build failure) Guenter Roeck
2025-06-03  4:59     ` Herbert Xu
2025-06-03  5:44       ` Guenter Roeck
2025-06-03 13:49   ` Regression: hash - Add HASH_REQUEST_ON_STACK causes asynch hashes to fail Harald Freudenberger
2025-06-04  9:54     ` [PATCH] crypto: ahash - Add support for drivers with no fallback Herbert Xu
2025-06-05 13:29       ` Harald Freudenberger
2025-06-11  3:07         ` Herbert Xu
2025-05-02  5:30 ` [v2 PATCH 2/9] crypto: sha256 - Use the partial block API for generic Herbert Xu
2025-05-02  5:30 ` [v2 PATCH 3/9] crypto: arch/sha256 - Export block functions as GPL only Herbert Xu
2025-05-02  5:31 ` [v2 PATCH 4/9] crypto: arm/sha256 - Add simd block function Herbert Xu
2025-05-02  5:31 ` [v2 PATCH 5/9] crypto: arm64/sha256 " Herbert Xu
2025-05-02  5:31 ` [v2 PATCH 6/9] crypto: riscv/sha256 " Herbert Xu
2025-05-02  5:31 ` [v2 PATCH 7/9] crypto: x86/sha256 " Herbert Xu
2025-05-02  5:31 ` [v2 PATCH 8/9] crypto: lib/sha256 - Use generic block helper Herbert Xu
2025-05-02  5:31 ` [v2 PATCH 9/9] crypto: sha256 - Use the partial block API Herbert Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.