diff options
| author | Herbert Xu <herbert@gondor.apana.org.au> | 2025-04-18 10:59:20 +0800 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2025-04-23 11:33:47 +0800 |
| commit | a2d910b8466af942d34478b4c480360f0b3d29ae (patch) | |
| tree | 788eb9253fa9b1e4e4676f88b1b0e531d2a47d59 /include/crypto | |
| parent | crypto: mips/octeon-sha1 - Use API partial block handling (diff) | |
| download | linux-a2d910b8466af942d34478b4c480360f0b3d29ae.tar.gz linux-a2d910b8466af942d34478b4c480360f0b3d29ae.zip | |
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/crypto')
| -rw-r--r-- | include/crypto/sha1.h | 8 |
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 |
