crypto: sha256 - Use the partial block API
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 2 May 2025 05:31:12 +0000 (13:31 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 5 May 2025 10:20:45 +0000 (18:20 +0800)
commit3bf5337879101166dfacfbc2a780d1a379c288ba
treecbe40100355f5a58c6eb68fe14cb33cc0a5417ac
parent3007e90572d0c5fd409c3d2fa8cedcbd5cb06d4b
crypto: sha256 - Use the partial block API

Use the shash partial block API by default.  Add a separate set
of lib shash algorithms to preserve testing coverage until lib/sha256
has its own tests.

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