forked from luck/tmp_suning_uos_patched
61ded52438
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> |
||
---|---|---|
.. | ||
ccp-crypto-aes-cmac.c | ||
ccp-crypto-aes-xts.c | ||
ccp-crypto-aes.c | ||
ccp-crypto-main.c | ||
ccp-crypto-sha.c | ||
ccp-crypto.h | ||
ccp-dev.c | ||
ccp-dev.h | ||
ccp-ops.c | ||
ccp-pci.c | ||
ccp-platform.c | ||
Kconfig | ||
Makefile |