]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
crypto: drbg - stop checking crypto_shash_alignmask
authorEric Biggers <ebiggers@google.com>
Thu, 19 Oct 2023 05:53:39 +0000 (22:53 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 27 Oct 2023 10:04:25 +0000 (18:04 +0800)
commiteed577b9a9220dc9f3968b54d055a3884d219897
treeee0ecde19272854de28898977d781b7ebd836b30
parent69dde0a1fa9a45faf2d863cfc0deb1e82ba5c7a9
crypto: drbg - stop checking crypto_shash_alignmask

Now that the shash algorithm type does not support nonzero alignmasks,
crypto_shash_alignmask() always returns 0 and will be removed.  In
preparation for this, stop checking crypto_shash_alignmask() in drbg.

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