diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2025-04-18 05:59:48 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2025-04-23 10:52:45 +0300 |
commit | 9adeea13ed7f5218028cdc5b11df53e69c39a60f (patch) | |
tree | 4c0f3ca48ffde97260979daa850dd43f8bf4a7be /include/crypto | |
parent | e6c5597badf2998980639fb83e60696d0f2ce0dd (diff) | |
download | linux-9adeea13ed7f5218028cdc5b11df53e69c39a60f.tar.xz |
crypto: sha256-generic - 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/crypto')
-rw-r--r-- | include/crypto/sha2.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/crypto/sha2.h b/include/crypto/sha2.h index d9b1b9932393..a913bad5dd3b 100644 --- a/include/crypto/sha2.h +++ b/include/crypto/sha2.h @@ -83,12 +83,6 @@ struct sha512_state { struct shash_desc; -extern int crypto_sha256_update(struct shash_desc *desc, const u8 *data, - unsigned int len); - -extern int crypto_sha256_finup(struct shash_desc *desc, const u8 *data, - unsigned int len, u8 *hash); - extern int crypto_sha512_update(struct shash_desc *desc, const u8 *data, unsigned int len); |