diff options
| author | Herbert Xu <herbert@gondor.apana.org.au> | 2025-04-18 05:59:45 +0300 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2025-04-23 10:52:45 +0300 |
| commit | e6c5597badf2998980639fb83e60696d0f2ce0dd (patch) | |
| tree | 2d9a246d4f846d6307a750d5dc7511bf1e0e92a0 /include | |
| parent | 5f804244d0ba8bf07c7eb6caeb63bd38a2bc910e (diff) | |
| download | linux-e6c5597badf2998980639fb83e60696d0f2ce0dd.tar.xz | |
crypto: riscv/sha256 - Use API partial block handling
Use the Crypto API partial block handling.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include')
| -rw-r--r-- | include/crypto/sha256_base.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/crypto/sha256_base.h b/include/crypto/sha256_base.h index 727a1b63e1e9..b9d3583b6256 100644 --- a/include/crypto/sha256_base.h +++ b/include/crypto/sha256_base.h @@ -198,4 +198,7 @@ static inline int sha256_base_finish(struct shash_desc *desc, u8 *out) return __sha256_base_finish(sctx->state, out, digest_size); } +void sha256_transform_blocks(struct crypto_sha256_state *sst, + const u8 *input, int blocks); + #endif /* _CRYPTO_SHA256_BASE_H */ |
