linux/drivers/crypto/ccp
Jan-Simon Möller 61ded52438 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>
2014-10-14 10:51:23 +02:00
..
Kconfig crypto: ccp - Remove "select OF" from Kconfig 2014-07-24 16:52:12 +08:00
Makefile crypto: ccp - Add platform device support for arm64 2014-06-20 21:26:14 +08:00
ccp-crypto-aes-cmac.c crypto: ccp - Cleanup hash invocation calls 2014-01-15 11:33:40 +08:00
ccp-crypto-aes-xts.c crypto: ccp - tfm->__crt_alg->cra_name directly 2014-05-22 21:03:13 +08:00
ccp-crypto-aes.c crypto: ccp - Remove user triggerable pr_err calls 2013-12-20 20:06:22 +08:00
ccp-crypto-main.c crypto: ccp - Check for CCP before registering crypto algs 2014-09-24 14:23:34 +08:00
ccp-crypto-sha.c crypto: LLVMLinux: Remove VLAIS from crypto/ccp/ccp-crypto-sha.c 2014-10-14 10:51:23 +02:00
ccp-crypto.h crypto: ccp - Move HMAC calculation down to ccp ops file 2014-02-09 09:59:23 +08:00
ccp-dev.c crypto: ccp - Check for CCP before registering crypto algs 2014-09-24 14:23:34 +08:00
ccp-dev.h crypto: ccp - Base AXI DMA cache settings on device tree 2014-07-23 21:28:38 +08:00
ccp-ops.c crypto: ccp - Do not sign extend input data to CCP 2014-08-01 22:36:13 +08:00
ccp-pci.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
ccp-platform.c crypto: ccp - Base AXI DMA cache settings on device tree 2014-07-23 21:28:38 +08:00