crypto: riscv/sha256 - Add simd block function
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 2 May 2025 05:31:05 +0000 (13:31 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 5 May 2025 10:20:45 +0000 (18:20 +0800)
commit491d6024f2820c78216b07cec1cb47c87dcae077
tree67476c64296a0c5a3aa880fafb5f7e1e7cae48ab
parentadcb9e32e5e28935ec1148e1a314282a7367428d
crypto: riscv/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/riscv/lib/crypto/Kconfig
arch/riscv/lib/crypto/sha256.c