]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: shash - remove crypto_shash_ctx_aligned()
authorEric Biggers <ebiggers@google.com>
Sun, 22 Oct 2023 08:10:31 +0000 (01:10 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 27 Oct 2023 10:04:28 +0000 (18:04 +0800)
commitacd7799574e57f1e494a5b85741eee78d1e93aca
treee0485d51ce731b79bbf738faa98c2152afe8481d
parent201c0da4d0298cfcd06a4548f94b90e3817b2e1b
crypto: shash - remove crypto_shash_ctx_aligned()

crypto_shash_ctx_aligned() is no longer used, and it is useless now that
shash algorithms don't support nonzero alignmasks, so remove it.

Also remove crypto_tfm_ctx_aligned() which was only called by
crypto_shash_ctx_aligned().  It's unlikely to be useful again, since it
seems inappropriate to use cra_alignmask to represent alignment for the
tfm context when it already means alignment for inputs/outputs.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
include/crypto/algapi.h
include/crypto/internal/hash.h