diff options
author | Jan-Simon Möller <dl9pf@gmx.de> | 2014-09-04 20:39:24 +0200 |
---|---|---|
committer | Behan Webster <behanw@converseincode.com> | 2014-10-14 10:51:23 +0200 |
commit | 61ded52438d5fdc4dea87f823c455f8ac1e426df (patch) | |
tree | f56000217a5de79cd49e79d60e8a8fb3f7a96a29 /drivers/crypto/mv_cesa.c | |
parent | 0458a953d85088a9ba3e448745676377775879e0 (diff) | |
download | blackbird-op-linux-61ded52438d5fdc4dea87f823c455f8ac1e426df.tar.gz blackbird-op-linux-61ded52438d5fdc4dea87f823c455f8ac1e426df.zip |
crypto: LLVMLinux: Remove VLAIS from crypto/ccp/ccp-crypto-sha.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: Jan-Simon Möller <dl9pf@gmx.de>
Signed-off-by: Behan Webster <behanw@converseincode.com>
Reviewed-by: Mark Charlebois <charlebm@gmail.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/mv_cesa.c')
0 files changed, 0 insertions, 0 deletions