summaryrefslogtreecommitdiffstats
path: root/crypto/ahash.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
commitebf533adc877d9171800bbce77372d8051fc35c2 (patch)
treeeae178d2f083b217fd9033081e20c37cb2ffd90c /crypto/ahash.c
parentd73d67fbcb94409e0a92952750f162d4eb696e96 (diff)
downloadlinux-ebf533adc877d9171800bbce77372d8051fc35c2.tar.gz
linux-ebf533adc877d9171800bbce77372d8051fc35c2.tar.bz2
linux-ebf533adc877d9171800bbce77372d8051fc35c2.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/ahash.c')
0 files changed, 0 insertions, 0 deletions