diff options
author | Eric Biggers <ebiggers@google.com> | 2023-10-22 10:10:53 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-10-27 12:04:29 +0200 |
commit | 0f8660c82b79af595b056f6b9f4f227edeb88574 (patch) | |
tree | 4b5593d20c91173dc1a49a535c24c0f8f347946f | |
parent | crypto: gcm - stop using alignmask of ahash (diff) | |
download | linux-0f8660c82b79af595b056f6b9f4f227edeb88574.tar.xz linux-0f8660c82b79af595b056f6b9f4f227edeb88574.zip |
crypto: ahash - remove crypto_ahash_alignmask
crypto_ahash_alignmask() no longer has any callers, and it always
returns 0 now that neither ahash nor shash algorithms support nonzero
alignmasks anymore. Therefore, remove it.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-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 d3a380ae894a..b00a4a36a8ec 100644 --- a/include/crypto/hash.h +++ b/include/crypto/hash.h @@ -342,12 +342,6 @@ static inline const char *crypto_ahash_driver_name(struct crypto_ahash *tfm) return crypto_tfm_alg_driver_name(crypto_ahash_tfm(tfm)); } -static inline unsigned int crypto_ahash_alignmask( - struct crypto_ahash *tfm) -{ - return crypto_tfm_alg_alignmask(crypto_ahash_tfm(tfm)); -} - /** * crypto_ahash_blocksize() - obtain block size for cipher * @tfm: cipher handle |