]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: testmgr - stop checking crypto_ahash_alignmask
authorEric Biggers <ebiggers@google.com>
Sun, 22 Oct 2023 08:10:47 +0000 (01:10 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 27 Oct 2023 10:04:29 +0000 (18:04 +0800)
commit93f367a9a41ab539e905b1ea91254868e4cf8faa
tree17aff948e3f25e45b288032cf67dee250a5525e7
parent03be4e45074e2a9cb5e06bf527141716262574e6
crypto: testmgr - stop checking crypto_ahash_alignmask

Now that the alignmask for ahash and shash algorithms is always 0,
crypto_ahash_alignmask() always returns 0 and will be removed.  In
preparation for this, stop checking crypto_ahash_alignmask() in testmgr.

As a result of this change,
test_sg_division::offset_relative_to_alignmask and
testvec_config::key_offset_relative_to_alignmask no longer have any
effect on ahash (or shash) algorithms.  Therefore, also stop setting
these flags in default_hash_testvec_configs[].

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/testmgr.c