aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Biggers2023-10-18 22:53:43 -0700
committerHerbert Xu2023-10-27 18:04:25 +0800
commit3dca18fcfebf33f2a73876f9314f7621c2e2fb0b (patch)
treeba8cdf2228ee25fe62f43dc89fc15ff9fb85c87a /include
parentf6f1514cf72e5d9c2b7c2bc53c43f482b6183d29 (diff)
crypto: shash - remove crypto_shash_alignmask
crypto_shash_alignmask() no longer has any callers, and it always returns 0 now that the shash algorithm type no longer supports nonzero alignmasks. Therefore, remove it. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include')
-rw-r--r--include/crypto/hash.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/crypto/hash.h b/include/crypto/hash.h
index 52e57e93b2f5..d3a380ae894a 100644
--- a/include/crypto/hash.h
+++ b/include/crypto/hash.h
@@ -798,12 +798,6 @@ static inline const char *crypto_shash_driver_name(struct crypto_shash *tfm)
return crypto_tfm_alg_driver_name(crypto_shash_tfm(tfm));
}
-static inline unsigned int crypto_shash_alignmask(
- struct crypto_shash *tfm)
-{
- return crypto_tfm_alg_alignmask(crypto_shash_tfm(tfm));
-}
-
/**
* crypto_shash_blocksize() - obtain block size for cipher
* @tfm: cipher handle