commit | 8a4085c29c0cb7696c0aa33d60b5f490906739cb | [log] [tgz] |
---|---|---|
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | Tue Aug 07 14:18:37 2018 -0700 |
committer | Rishabh Bhatnagar <rishabhb@codeaurora.org> | Wed Nov 07 10:02:09 2018 -0800 |
tree | bd607afe9d0bee689cb1ccfc263b8c6d770d8e5f | |
parent | 6d56799a6aa2281162ecd8da842ad1debc52a63f [diff] |
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 Change-Id: If8eb7d120ac64c0fbc8e67abd3d5921f548590ff 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> Git-Repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Git-Commit: ebf533adc877d9171800bbce77372d8051fc35c2 Signed-off-by: Rishabh Bhatnagar <rishabhb@codeaurora.org>