mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-23 02:04:02 +00:00
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>
9 lines
197 B
Plaintext
9 lines
197 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
config CRYPTO_SHA256_SPARC64
|
|
tristate
|
|
depends on SPARC64
|
|
default CRYPTO_LIB_SHA256
|
|
select CRYPTO_ARCH_HAVE_LIB_SHA256
|
|
select CRYPTO_LIB_SHA256_GENERIC
|