summaryrefslogtreecommitdiff
path: root/drivers/crypto/n2_core.c
diff options
context:
space:
mode:
authorBehan Webster <behanw@converseincode.com>2014-04-05 01:18:00 +0400
committerBehan Webster <behanw@converseincode.com>2014-10-14 12:51:23 +0400
commit7128470f6b21b922b42f790d429330562eb6eab1 (patch)
treef996e4200d42154b6252bafee1effe975918de94 /drivers/crypto/n2_core.c
parent61ded52438d5fdc4dea87f823c455f8ac1e426df (diff)
downloadlinux-7128470f6b21b922b42f790d429330562eb6eab1.tar.xz
crypto: LLVMLinux: Remove VLAIS from crypto/mv_cesa.c
Replaced the use of a Variable Length Array In Struct (VLAIS) with a C99 compliant equivalent. This patch allocates the appropriate amount of memory using a char array using the SHASH_DESC_ON_STACK macro. The new code can be compiled with both gcc and clang. Signed-off-by: Behan Webster <behanw@converseincode.com> Reviewed-by: Mark Charlebois <charlebm@gmail.com> Reviewed-by: Jan-Simon Möller <dl9pf@gmx.de> Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/n2_core.c')
0 files changed, 0 insertions, 0 deletions