summaryrefslogtreecommitdiff
path: root/crypto/shash.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2018-08-07 14:18:37 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2018-09-04 11:35:03 +0800
commit8e77538b76d8fdb7593f2d38022c8f3a1792934d (patch)
tree465af100f4e93334bb73088f388c4bc94a3784f3 /crypto/shash.c
parent9fe21a3ad41c79192cb7c15ab9b409a37524079d (diff)
downloadlinux-crypto-8e77538b76d8fdb7593f2d38022c8f3a1792934d.tar.gz
linux-crypto-8e77538b76d8fdb7593f2d38022c8f3a1792934d.zip
crypto: ccm - Remove VLA usage
In the quest to remove all stack VLA usage from the kernel[1], this drops AHASH_REQUEST_ON_STACK by preallocating the ahash request area combined with the skcipher area (which are not used at the same time). [1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/shash.c')
0 files changed, 0 insertions, 0 deletions