diff options
author | Kees Cook <keescook@chromium.org> | 2018-08-07 14:18:36 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-09-04 11:35:03 +0800 |
commit | d73d67fbcb94409e0a92952750f162d4eb696e96 (patch) | |
tree | e5a3f40467761338110ae7a46950457ee1a3a823 /crypto/ccm.c | |
parent | 3bdd23f886c08a0d649c535e1e2cf083ec600036 (diff) |
crypto: cbc - Remove VLA usage
In the quest to remove all stack VLA usage from the kernel[1], this
uses the upper bounds on blocksize. Since this is always a cipher
blocksize, use the existing cipher max blocksize.
[1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/ccm.c')
0 files changed, 0 insertions, 0 deletions