]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: s390/sha256 - implement library instead of shash
authorEric Biggers <ebiggers@google.com>
Mon, 28 Apr 2025 17:00:33 +0000 (10:00 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 5 May 2025 10:20:43 +0000 (18:20 +0800)
commitb9eac03edcf83e25cd2c21be18e7733249fd75c1
tree61a7f0e4561c9d0a98d30cfc25aa8704af37e9dc
parentbf52d93865bde68896d20f2ce6c2f76d96cd678e
crypto: s390/sha256 - implement library instead of shash

Instead of providing crypto_shash algorithms for the arch-optimized
SHA-256 code, instead implement the SHA-256 library.  This is much
simpler, it makes the SHA-256 library functions be arch-optimized, and
it fixes the longstanding issue where the arch-optimized SHA-256 was
disabled by default.  SHA-256 still remains available through
crypto_shash, but individual architectures no longer need to handle it.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/s390/configs/debug_defconfig
arch/s390/configs/defconfig
arch/s390/crypto/Kconfig
arch/s390/crypto/Makefile
arch/s390/crypto/sha256_s390.c [deleted file]
arch/s390/lib/crypto/Kconfig
arch/s390/lib/crypto/Makefile
arch/s390/lib/crypto/sha256.c [new file with mode: 0644]