[PATCH v3 00/12] LLVMLinux: Patches to enable the kernel to be compiled with clang/LLVM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Behan Webster <behanw@xxxxxxxxxxxxxxxxxx>

These patches replace the use of Variable Length Arrays In Structs (VLAIS) in
crypto related code with C99 compliant equivalent code. A SHASH_DESC_ON_STACK()
macro is added to hash.h which is then used to replace the use of VLAIS in all
the other patches. The minimum size and alignment are maintained by the new code.

The new code can be compiled with both gcc and clang.

The LLVMLinux project aims to fully build the Linux kernel using both gcc and
clang (the C front end for the LLVM compiler infrastructure project). 

Behan Webster (6):
  crypto: LLVMLinux: Add macro to remove use of VLAIS in crypto code
  crypto: LLVMLinux: Remove VLAIS from crypto/mv_cesa.c
  crypto: LLVMLinux: Remove VLAIS from crypto/n2_core.c
  crypto: LLVMLinux: Remove VLAIS from crypto/omap_sham.c
  crypto: LLVMLinux: Remove VLAIS from crypto/.../qat_algs.c
  security, crypto: LLVMLinux: Remove VLAIS from ima_crypto.c

Jan-Simon Möller (5):
  crypto: LLVMLinux: Remove VLAIS from crypto/ccp/ccp-crypto-sha.c
  crypto, dm: LLVMLinux: Remove VLAIS usage from dm-crypt
  crypto: LLVMLinux: Remove VLAIS usage from crypto/hmac.c
  crypto: LLVMLinux: Remove VLAIS usage from libcrc32c.c
  crypto: LLVMLinux: Remove VLAIS usage from crypto/testmgr.c

Vinícius Tinti (1):
  btrfs: LLVMLinux: Remove VLAIS

 crypto/hmac.c                            | 25 +++++++---------
 crypto/testmgr.c                         | 14 ++++-----
 drivers/crypto/ccp/ccp-crypto-sha.c      | 13 ++++----
 drivers/crypto/mv_cesa.c                 | 41 +++++++++++--------------
 drivers/crypto/n2_core.c                 | 11 +++----
 drivers/crypto/omap-sham.c               | 28 +++++++-----------
 drivers/crypto/qat/qat_common/qat_algs.c | 31 +++++++++----------
 drivers/md/dm-crypt.c                    | 34 +++++++++------------
 fs/btrfs/hash.c                          | 16 +++++-----
 include/crypto/hash.h                    |  5 ++++
 lib/libcrc32c.c                          | 16 +++++-----
 security/integrity/ima/ima_crypto.c      | 51 ++++++++++++++------------------
 12 files changed, 126 insertions(+), 159 deletions(-)

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux