summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2025-04-18 06:00:27 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2025-04-23 10:52:46 +0300
commit216623af53062943ee4ef76a0b597ea6030ffd42 (patch)
treef254170049b153c5714d1476f79eafe2fb58398b /include
parent561aab1104d80083886beaaeee39fa6482d6f157 (diff)
downloadlinux-216623af53062943ee4ef76a0b597ea6030ffd42.tar.xz
crypto: sha512-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/sha2.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/crypto/sha2.h b/include/crypto/sha2.h
index e9ad7ab955aa..abbd882f7849 100644
--- a/include/crypto/sha2.h
+++ b/include/crypto/sha2.h
@@ -82,14 +82,6 @@ struct sha512_state {
u8 buf[SHA512_BLOCK_SIZE];
};
-struct shash_desc;
-
-extern int crypto_sha512_update(struct shash_desc *desc, const u8 *data,
- unsigned int len);
-
-extern int crypto_sha512_finup(struct shash_desc *desc, const u8 *data,
- unsigned int len, u8 *hash);
-
/*
* Stand-alone implementation of the SHA256 algorithm. It is designed to
* have as little dependencies as possible so it can be used in the