diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2023-05-11 12:29:36 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-05-19 16:45:43 +0800 |
commit | 70d391a86317f77c30d4c0aa898b5fe0f75687b9 (patch) | |
tree | d287d08624ec90850d24309fc2230ae4be6ff846 /lib/crypto | |
parent | ac52578d6e8d300dd50f790f29a24169b1edd26c (diff) |
crypto: lib/sha256 - Remove redundant and unused sha224_update
The function sha224_update is exactly the same as sha256_update.
Moreover it's not even used in the kernel so it can be removed.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/crypto')
-rw-r--r-- | lib/crypto/sha256.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/crypto/sha256.c b/lib/crypto/sha256.c index 72a4b0b1df28..b32b6cc016a8 100644 --- a/lib/crypto/sha256.c +++ b/lib/crypto/sha256.c @@ -151,12 +151,6 @@ void sha256_update(struct sha256_state *sctx, const u8 *data, unsigned int len) } EXPORT_SYMBOL(sha256_update); -void sha224_update(struct sha256_state *sctx, const u8 *data, unsigned int len) -{ - sha256_update(sctx, data, len); -} -EXPORT_SYMBOL(sha224_update); - static void __sha256_final(struct sha256_state *sctx, u8 *out, int digest_words) { __be32 *dst = (__be32 *)out; |