summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2025-04-18 05:59:20 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2025-04-23 06:33:47 +0300
commita2d910b8466af942d34478b4c480360f0b3d29ae (patch)
tree788eb9253fa9b1e4e4676f88b1b0e531d2a47d59 /include
parent62a59a464fb1add17ba64663d4eac7fb4302665c (diff)
downloadlinux-a2d910b8466af942d34478b4c480360f0b3d29ae.tar.xz
crypto: sha1-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')
-rw-r--r--include/crypto/sha1.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/crypto/sha1.h b/include/crypto/sha1.h
index dd6de4a4d6e6..f48230b1413c 100644
--- a/include/crypto/sha1.h
+++ b/include/crypto/sha1.h
@@ -26,14 +26,6 @@ struct sha1_state {
u8 buffer[SHA1_BLOCK_SIZE];
};
-struct shash_desc;
-
-extern int crypto_sha1_update(struct shash_desc *desc, const u8 *data,
- unsigned int len);
-
-extern int crypto_sha1_finup(struct shash_desc *desc, const u8 *data,
- unsigned int len, u8 *hash);
-
/*
* An implementation of SHA-1's compression function. Don't use in new code!
* You shouldn't be using SHA-1, and even if you *have* to use SHA-1, this isn't