diff options
author | Eric Biggers <ebiggers@google.com> | 2023-10-19 07:53:43 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-10-27 12:04:25 +0200 |
commit | 3dca18fcfebf33f2a73876f9314f7621c2e2fb0b (patch) | |
tree | ba8cdf2228ee25fe62f43dc89fc15ff9fb85c87a /include/crypto | |
parent | crypto: hctr2 - stop using alignmask of shash_alg (diff) | |
download | linux-3dca18fcfebf33f2a73876f9314f7621c2e2fb0b.tar.xz linux-3dca18fcfebf33f2a73876f9314f7621c2e2fb0b.zip |
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 |