mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
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>
This commit is contained in:
parent
33fe2fb763
commit
0f8660c82b
@ -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));
|
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
|
* crypto_ahash_blocksize() - obtain block size for cipher
|
||||||
* @tfm: cipher handle
|
* @tfm: cipher handle
|
||||||
|
Loading…
Reference in New Issue
Block a user