Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Eric Biggers and committed by
Herbert Xu
0f8660c8 33fe2fb7

-6
-6
include/crypto/hash.h
··· 342 342 return crypto_tfm_alg_driver_name(crypto_ahash_tfm(tfm)); 343 343 } 344 344 345 - static inline unsigned int crypto_ahash_alignmask( 346 - struct crypto_ahash *tfm) 347 - { 348 - return crypto_tfm_alg_alignmask(crypto_ahash_tfm(tfm)); 349 - } 350 - 351 345 /** 352 346 * crypto_ahash_blocksize() - obtain block size for cipher 353 347 * @tfm: cipher handle