crypto: remove several VLAs
authorSalvatore Mesoraca <s.mesoraca16@gmail.com>
Mon, 9 Apr 2018 13:54:47 +0000 (15:54 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 20 Apr 2018 16:58:34 +0000 (00:58 +0800)
commit6650c4de681ee90ea6da1fc34fb913f60e9bb008
tree6b0aad6025f677271fa95e979ddb04d5083463e1
parent13c935bb09948aef0202574ee12bb089459eb43b
crypto: remove several VLAs

We avoid various VLAs[1] by using constant expressions for block size
and alignment mask.

[1] http://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com

Signed-off-by: Salvatore Mesoraca <s.mesoraca16@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/cfb.c
crypto/cipher.c
crypto/ctr.c
crypto/cts.c
crypto/pcbc.c