diff options
author | Eric Biggers | 2023-10-18 22:53:43 -0700 |
---|---|---|
committer | Herbert Xu | 2023-10-27 18:04:25 +0800 |
commit | 3dca18fcfebf33f2a73876f9314f7621c2e2fb0b (patch) | |
tree | ba8cdf2228ee25fe62f43dc89fc15ff9fb85c87a /include/crypto | |
parent | f6f1514cf72e5d9c2b7c2bc53c43f482b6183d29 (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/crypto')
-rw-r--r-- | include/crypto/hash.h | 6 |
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 |