Skip to content

Commit 0f8660c

Browse files
ebiggersherbertx
authored andcommitted
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 <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 33fe2fb commit 0f8660c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

include/crypto/hash.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -342,12 +342,6 @@ static inline const char *crypto_ahash_driver_name(struct crypto_ahash *tfm)
342342
return crypto_tfm_alg_driver_name(crypto_ahash_tfm(tfm));
343343
}
344344

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-
351345
/**
352346
* crypto_ahash_blocksize() - obtain block size for cipher
353347
* @tfm: cipher handle

0 commit comments

Comments
 (0)