mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 21:21:41 +00:00
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>
This commit is contained in:
parent
f6f1514cf7
commit
3dca18fcfe
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user