crypto: x86/sha256 - Add simd block function
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 2 May 2025 05:31:07 +0000 (13:31 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 5 May 2025 10:20:45 +0000 (18:20 +0800)
commitee8a720e39ceb7495ab639c1eb6d4987fb6a52bf
tree015840a6dd1e75be9e3ead5300e5ed5fdaea14d3
parent491d6024f2820c78216b07cec1cb47c87dcae077
crypto: x86/sha256 - Add simd block function

Add CRYPTO_ARCH_HAVE_LIB_SHA256_SIMD and a SIMD block function
so that the caller can decide whether to use SIMD.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/lib/crypto/Kconfig
arch/x86/lib/crypto/sha256.c