aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2018-08-07 14:18:39 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2018-09-14 14:08:52 +0800
commit6d39a1241ebc3bdd61d654c3058f0955c28c13fd (patch)
tree96bb0af93ed1392637ac6dc974a55f36f0572d80 /block
parentcrypto: arm/chacha20 - faster 8-bit rotations and other optimizations (diff)
downloadlinux-dev-6d39a1241ebc3bdd61d654c3058f0955c28c13fd.tar.xz
linux-dev-6d39a1241ebc3bdd61d654c3058f0955c28c13fd.zip
dm: Remove VLA usage from hashes
In the quest to remove all stack VLA usage from the kernel[1], this uses the new HASH_MAX_DIGESTSIZE from the crypto layer to allocate the upper bounds on stack usage. [1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com Signed-off-by: Kees Cook <keescook@chromium.org> Acked-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions