commit | e08156eb1450767b26b9890388b66b3108b06648 | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Tue Sep 18 19:10:52 2018 -0700 |
committer | Rishabh Bhatnagar <rishabhb@codeaurora.org> | Wed Nov 07 10:03:37 2018 -0800 |
tree | a5513ea2352ee3ec223a78676b2bd0faa3e17ab7 | |
parent | 064e99d3961df4ccd90a60aa92059973f84ae4a4 [diff] |
crypto: cryptd - Remove VLA usage of skcipher In the quest to remove all stack VLA usage from the kernel[1], this replaces struct crypto_skcipher and SKCIPHER_REQUEST_ON_STACK() usage with struct crypto_sync_skcipher and SYNC_SKCIPHER_REQUEST_ON_STACK(), which uses a fixed stack size. [1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com Change-Id: I0f5cf2a2209b015e27a7ed627ba21c76ef24c36d 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: 36b3875a97b85e60eb612f8c72d19271c70b08fd Signed-off-by: Rishabh Bhatnagar <rishabhb@codeaurora.org>